Fraction to Decimal Converter
Long division, remainders and all
Every fraction-to-decimal converter divides; this one shows its working the way the mathematics actually goes. It performs long division digit by digit, remembering each remainder. A remainder of zero ends the story — the decimal terminates, exactly. A remainder that appears twice closes a loop — every digit since its first appearance repeats forever, and the converter brackets that cycle: 0.1(6) for a sixth, 3.(142857) for 22/7. You get the exact structure of the number, a rounded decimal at your chosen precision for practical use, and the percentage — three honest views of one value.
The classic fractions
| Fraction | Decimal | Type | Percent |
|---|---|---|---|
| 1/2 | 0.5 | Terminates | 50% |
| 3/8 | 0.375 | Terminates | 37.5% |
| 1/3 | 0.(3) | Repeats, cycle 1 | 33.33…% |
| 1/6 | 0.1(6) | Head + cycle | 16.66…% |
| 1/7 | 0.(142857) | Repeats, cycle 6 | 14.2857…% |
| 5/4 | 1.25 | Terminates | 125% |
| 22/7 | 3.(142857) | Repeats, cycle 6 | 314.2857…% |
The formula
Formula: decimal = numerator ÷ denominator. That division is the whole method — everything else on this page is about how many places to keep and what to do when the division never ends.
Worked line: 3/8 = 3 ÷ 8 = 0.375.
Worked examples
3/8: long division ends at remainder zero → 0.375, exact. Denominator 8 = 2³, so a termination was guaranteed.
1/6: digits run 1, then remainder 4 recurs → 0.1(6): the 2 in the denominator contributes the head, the 3 contributes the endless 6.
22/7: whole part 3, then the sevenths cycle → 3.(142857) — close to pi, visibly not pi.
How many decimal places do you actually need?
The exact form is for understanding; the rounded form is for using, and the right precision depends on the job. Money settles at two places — but beware splitting bills in thirds: 1/3 of £10 is £3.33, and three lots of £3.33 leave a penny unaccounted for, which is why accountants round the last share, not each share. Measurement rarely justifies more than three or four places: a millimetre is 0.0394 inches, and quoting a conversion to eight places pretends a precision your tape measure never had. Chained calculations are where rounding bites hardest — round only at the end, because rounding 1/7 to 0.143 and then multiplying by 700 gives 100.1 instead of the exact 100, an error invented entirely by the intermediate rounding. The converter's default of six places is a reasonable working compromise; the bracketed cycle above it is the truth the rounding is approximating.
Frequently asked questions
How do you convert a fraction to a decimal?
Divide the numerator by the denominator — that is all a fraction ever was: 3/8 is the instruction '3 divided by 8', and long division gives 0.375. This converter performs the division digit by digit exactly as you would on paper, tracking the remainders. If a remainder reaches zero, the decimal terminates and the answer is exact. If a remainder repeats, the digits between its two appearances repeat forever — the converter marks that cycle rather than chopping the number off at some arbitrary precision and pretending. You also get a rounded decimal to the precision you choose for everyday use, and the percentage equivalent, since a fraction, a decimal and a percent are three spellings of one value.
Why do some fractions terminate and others repeat?
It is decided entirely by the denominator, once the fraction is in lowest terms. A decimal terminates exactly when the denominator's prime factors are only 2s and 5s — the factors of ten — because the fraction can then be rewritten over 10, 100, 1000 and so on: 3/8 = 375/1000. Any other prime in the denominator (3, 7, 11, 13…) makes an exact power-of-ten rewrite impossible, and the division has no choice but to cycle: 1/3 = 0.333…, 1/7 = 0.142857142857…. Mixed denominators split the difference: 1/6 (2 × 3) gives 0.1666…, a non-repeating head contributed by the 2, then the 3's endless tail. The converter's cycle display makes this visible instead of leaving it as a rule to memorise.
What is the decimal for 1/7, and why does it look like that?
0.142857, repeating forever — a six-digit cycle, and one of the famous numbers in recreational mathematics. All the sevenths share the same cycle in rotation: 2/7 = 0.285714…, 3/7 = 0.428571…, each starting the sequence 142857 at a different point. The cycle length is six because 7's remainders in long division pass through all six possible non-zero values before repeating. Not every denominator is so generous: 1/17 cycles through 16 digits, and 1/19 through 18. When this converter says a result repeats, it shows the full cycle once — for sevenths, six digits; it caps the display at 60 digits for the rare denominators whose cycles run longer, and tells you it has done so.
How do I convert a mixed number like 2 3/4 to a decimal?
Convert the fractional part and add the whole: 3/4 = 0.75, so 2 3/4 = 2.75. Or fold it into a single fraction first — 2 3/4 is 11/4 — and divide: 11 ÷ 4 = 2.75, the same answer by the other road. This converter takes a single numerator and denominator, so enter the folded form (11 and 4) for mixed numbers; the decimal-to-fraction converter on this site runs the reverse journey and shows mixed numbers explicitly. Percentages follow the same value: 2.75 is 275%, which is why a mixed number above one always becomes a percentage above 100 — a useful sanity check when a recipe or a raise is being scaled.
What is 22/7 as a decimal — is it pi?
22/7 = 3.142857…, with the 142857 cycle of the sevenths. It is not pi — pi is 3.14159265…, irrational, with no cycle at all — but 22/7 is the most famous rational approximation to it, accurate to two decimal places and used since Archimedes, who proved pi lies between 3 10/71 and 3 1/7 (that upper bound is exactly 22/7). The difference shows at the third decimal: 3.142 against 3.141. For school and workshop purposes 22/7 is a fine stand-in; for anything where the third decimal matters, it quietly is not. The converter makes a neat demonstration: enter 22/7 and compare its cycling digits with pi's endless, patternless procession.
Related tools
Conversion method and worked examples last verified: 24 November 2026. Everything is calculated in your browser — nothing you type is sent anywhere.