Fraction to decimal calculator
A fraction is stored here as a fraction, so 1/3 is exact until the moment it is printed — and it can be printed to fifty threes.
Decimal
3.142 857 142 857 142 857 142 857
- As a percentage
- 314.285 714 286 %
- Whole part
- 3
- Remainder over the denominator
- 1
- Reciprocal
- 0.318 181 818 181 818
- Greatest common divisor Divide both parts by this to get lowest terms.
- 1
Show the working
- Numerator = 22
- Denominator = 7
- Decimal = 22 / 7 = 3.142 86
- As a percentage = 3.142 86 * 100 = 314.286
- Whole part = trunc(3.142 86) = 3
- Remainder over the denominator = 22 - 3 * 7 = 1
- Reciprocal = 3.142 86 != 0 ? 1/3.142 86 : 0 = 0.318 182
- Greatest common divisor = gcd(round(22), round(7)) = 1
Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.
Scenarios & local history
Compare a saved scenario
Recent calculations
The formula
- decimal = numerator / denominator
22/7 shown to 25 digits is 3.142857142857142857142857, where the six-digit block repeats forever.