Calculation of life