Home · Everyday · Fractions · Terminating Decimals Calculator

Terminating Decimals Calculator

Does this fraction's decimal terminate or repeat forever? Decided by the prime factors of the simplified denominator.

Your figures

Example result — edit the figures to make it yours

Terminating

Does 1/8 terminate?

Yes. In lowest terms the denominator is 8 = 2s and 5s only, so the decimal finishes: 0.125. The headline figure codes yes as 1.

Simplified denominator8
Decimal0.125

What this calculator does

Does this fraction's decimal terminate or repeat forever? Decided by the prime factors of the simplified denominator. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

Terminates exactly when the simplified denominator's prime factors are only 2s and 5s

Fractions are reduced by the greatest common divisor of numerator and denominator.

A denominator of zero is rejected — the value would be undefined.

Decimals are shown rounded; the fraction itself stays exact.

Worked example

With the example inputs this page opens with (numerator 1, denominator 8), the result is Terminating — does 1/8 terminate?. Yes. In lowest terms the denominator is 8 = 2s and 5s only, so the decimal finishes: 0.125. The headline figure codes yes as 1.

Quick reference

Quick reference — varying numerator
NumeratorDoes 1/8 terminate?
0.5Terminating
0.8Terminating
1Terminating
1.25Terminating
1.5Terminating
2Terminating

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Terminating Decimals Calculator work?

Does this fraction's decimal terminate or repeat forever? Decided by the prime factors of the simplified denominator. Numerator · Denominator → Terminating or repeating. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Terminating Decimals Calculator need?

Numerator · Denominator → Terminating or repeating. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Terminating Decimals Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.