Fraction to Decimal Calculator

Convert any fraction to its exact terminating or repeating decimal — with the repeating digits marked and a rounded value.

Reviewed by the WorldCalcs team · Methodology · Last reviewed: July 2026

5/6 = (repeating)

0.8(3)

Rounded to 6 decimal places: 0.833333

What is a fraction-to-decimal calculator?

This calculator turns a fraction into its decimal form by dividing the top number (numerator) by the bottom number (denominator). Some fractions give a neat, terminating decimal like 0.75; others repeat forever, like 0.3333…. The calculator shows the exact answer — including the repeating part — plus a rounded value you can use in everyday work.

How the conversion works

Converting a fraction to a decimal is just division: numerator ÷ denominator. You divide, bring down zeros, and keep going. If the remainder ever becomes zero, the decimal stops (it terminates). If a remainder starts repeating, the digits repeat too, and the decimal goes on forever in a fixed pattern.

To show repeating decimals clearly, this tool wraps the repeating block in parentheses. So 5/6 is written 0.8(3), meaning 0.8333…, and 2/7 is 0.(285714), meaning the six digits 285714 repeat without end.

Worked example

Take 5/6. Six goes into 5.000… : 6 into 50 is 8 (remainder 2), 6 into 20 is 3 (remainder 2), and now the remainder 2 repeats, so the 3 repeats forever. The result is 0.8333… = 0.8(3). By contrast 1/8 = 0.125 stops cleanly, because its denominator only has 2s as factors.

Terminating or repeating?

A fraction in lowest terms gives a terminating decimal only when its denominator's prime factors are just 2s and 5s (for example 1/8, 3/4, 7/16). Any other prime factor — like the 3 in 1/6 or the 7 in 2/7 — produces a repeating decimal.

Pair this with our Fraction Calculator, Ratio Calculator, Percentage Calculator and Rounding Calculator, or browse all math calculators.

All calculations happen in your browser. Nothing is sent, stored, or tracked.

Results are estimates and may contain errors — for general information only, not professional advice. Always verify before relying on them. Disclaimer

How to use

Enter a numerator and a non-zero denominator (either can be negative). The tool performs exact long division: if the remainder ever reaches zero the decimal terminates; otherwise, when a remainder repeats, the digits from its first occurrence become the repeating block, shown in parentheses.

You get both the exact form (for example 0.8(3)) and a rounded decimal to 6 places for quick use.

Frequently asked questions

How do you convert a fraction to a decimal?+

Divide the numerator by the denominator. For example 3 ÷ 4 = 0.75. If the division never ends, the decimal repeats in a fixed pattern.

What is 1/3 as a decimal?+

0.3333… — the digit 3 repeats forever. It is written compactly as 0.(3).

What is 5/6 as a decimal?+

0.8333…, written 0.8(3). The 8 appears once, then the 3 repeats without end.

Which fractions give a terminating decimal?+

In lowest terms, only fractions whose denominator has prime factors of just 2 and 5, such as 1/2, 3/4, 1/8 and 7/16.

What do the parentheses mean in the answer?+

The digits inside the parentheses repeat forever. So 0.(142857) means 142857 keeps repeating, and 0.1(6) means 0.16666….

What is 22/7 as a decimal?+

3.142857…, written 3.(142857). It is a common approximation of pi, but only an approximation — pi is not actually a fraction.

How do I round a repeating decimal?+

Decide how many decimal places you need and round the exact value. The calculator also shows a rounded result to make this easy.

Can every fraction be written as a decimal?+

Yes. Every fraction is either a terminating decimal or a repeating decimal — there is no fraction that produces a random, non-repeating decimal.