Calculation of Fraction