Calculation of a percentage