Decimal to Fraction Calculator

Enter a decimal such as 0.375. For a repeating decimal, put the repeating digits in brackets: 0.1(6) means 0.1666…

How it works

  1. Terminating decimals

    Write the digits over a power of ten: 0.375 = 375/1000. Then simplify.

  2. Repeating decimals

    Subtract the non-repeating part from the full run of digits, and put the result over as many 9s as there are repeating digits, followed by as many 0s as there are non-repeating decimal digits.

  3. Simplify

    Divide the top and bottom by their greatest common factor.

Common questions

How do I enter 0.333…?

Type 0.(3). The brackets mark the digits that repeat forever, and the result is exactly 1/3.

Can every decimal be written as a fraction?

Every terminating or repeating decimal can. Decimals that go on forever without repeating, like π, cannot.

More free calculators