Fraction to Decimal Calculator

Convert a fraction to a decimal and see whether it terminates or repeats, with the repeating block identified.

As a decimal 0.625
Divide the numerator by the denominator
Terminating or repeating Terminating — it stops
Repeating block None — this decimal terminates
As a percentage 62.5 %
Rounded to 2 places 0.63

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Fraction to Decimal Calculator does

The fraction to decimal calculator on this page will convert a fraction to a decimal and see whether it terminates or repeats, with the repeating block identified. Fill in all 3 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for turning a measurement in fractions of an inch into a decimal for a CAD field. More utilities in this area are collected on FreeToolsWorld.org.

How to use it

  1. Enter the fraction.
  2. The decimal appears immediately, with trailing zeros trimmed.
  3. The page states whether the decimal terminates or repeats, and shows the repeating block in brackets if it does.

How it works

A fraction is a division waiting to be done, so converting one to a decimal is just carrying out that division. 5/8 is 5 divided by 8, which is 0.625 exactly.

Whether the decimal stops or runs forever is decided entirely by the denominator once the fraction is in lowest terms. If the only prime factors left are 2s and 5s the decimal terminates, because 2 and 5 are the prime factors of ten. Anything else — a 3, a 7, an 11 — repeats. That is why 1/8 terminates and 1/3 does not, and why 1/6 repeats even though it has a 2 in it: the 3 is still there.

The repeating block is found by watching the remainders. Long division can only produce a remainder smaller than the divisor, so with a denominator of 7 there are at most six possible non-zero remainders; once one comes round a second time the digits must repeat from that point. The page detects that repeat and brackets the block rather than printing an arbitrary number of digits and leaving you to spot the pattern.

Rounding is shown separately from the exact value because the two answer different questions. 2/3 is 0.666… exactly and 0.67 approximately, and a page that only prints 0.67 has quietly thrown away the fact that the decimal never ends.

When to use it

  • Turning a measurement in fractions of an inch into a decimal for a CAD field.
  • Checking homework that asks which fractions give repeating decimals.
  • Converting a test score such as 17/20 into the decimal a spreadsheet wants.

Common mistakes to avoid

  • Dividing the denominator by the numerator. 5/8 is 0.625, not 1.6.
  • Writing 0.33 for 1/3 and treating it as exact — it is not, and the error compounds when multiplied.
  • Assuming every fraction repeats. Anything whose reduced denominator is only 2s and 5s stops.

Frequently asked questions

Why does 1/3 repeat but 1/4 does not?

Because 4 is made only of 2s, which divide into powers of ten, and 3 does not. Once the fraction is reduced, only denominators made of 2s and 5s give a decimal that stops.

What do the brackets mean?

They mark the block of digits that repeats forever. 1/7 shown as 0.(142857) means 142857 repeats without end.

How many decimal places should I use?

For a terminating decimal, enough to reach the end. For a repeating one there is no right answer — the bracketed block is the exact statement, and any digit count is a rounding of it.

Related tools

See all math & statistics calculators →