Skip to content
MasterMath

Decimal to Fraction Calculator

Turn a decimal into an exact fraction, including repeating decimals — say how many digits repeat and the answer is exact, not approximate.

Fraction in lowest terms

—

Fraction in lowest terms—
Before simplifying—
As a mixed number—
Check—

How this was worked out

    The rule

    terminating: digits ÷ a power of ten · repeating: digits ÷ a string of nines

    Why it works

    A terminating decimal is already a fraction: 0.75 is 75 hundredths. A repeating one needs the trick of nines — 0.333… is 3/9, because a single repeating digit sits over a single nine. Both then simplify.

    How to do it by hand

    1. For a terminating decimal, put the digits over the matching power of ten
    2. For a repeating one, put the repeating digits over as many nines
    3. Combine the two parts if the decimal has both
    4. Simplify by the greatest common divisor

    What is worth knowing

    The nines rule looks like a trick and is a theorem. Multiply 0.333… by 10, subtract the original, and the repeating tail cancels exactly, leaving 9x = 3. The same manipulation proves that 0.999… equals 1 — which is not an approximation or a rounding convention but an identity, and the most reliably contested fact in elementary mathematics. The practical value of converting back to fractions is exactness: 1/3 is exact where 0.333 is not, which matters whenever the result feeds into further calculation.

    Frequently asked questions

    How do you convert a repeating decimal to a fraction?

    Put the repeating digits over the same number of nines. 0.333… is 3/9, which simplifies to 1/3.

    Why does the nines trick work?

    Multiply by ten and subtract the original: the repeating tail cancels exactly, leaving a simple equation.

    Does 0.999… really equal 1?

    Yes, exactly. The same algebra that converts any repeating decimal proves it.

    Why bother converting back to fractions?

    Exactness. 1/3 is exact where 0.333 is not, and the difference compounds through later calculations.