Calculation of ecological footprint