Terminating decimal checker
Check if a fraction gives a terminating decimal (finite digits) or a repeating decimal (infinite pattern).
Fraction
Terminating decimal rule
A fraction a/b (in lowest terms) terminates if and only if b = 2ᵃ × 5ᵇ for some non-negative integers a, b.
1/8 = 1/2³ → terminates (0.125). 1/20 = 1/(2²×5) → terminates (0.05). 1/3 → repeats (0.333...).
Examples
Related calculators