Skip to content
AllCalcHub

Decimal to Fraction Calculator

Convert any decimal, including repeating decimals, to an exact fraction in lowest terms.

About the Decimal to Fraction Calculator

Type a decimal, putting any repeating digits in brackets, such as 0.1(6). The calculator gives the exact fraction in lowest terms and as a mixed number, with the steps.

A terminating decimal is a fraction over a power of ten: 0.375 = 375/1000 = 3/8.

A repeating decimal is also a fraction. Write the repeating digits in brackets (0.1(6) means 0.1666…) and the calculator solves it exactly: 0.1(6) = 1/6.

The formula

0.(d₁…dₖ) = d₁…dₖ / (10ᵏ − 1)

0.(3)
3/9 = 1/3
0.(142857)
142857/999999 = 1/7

Worked example

0.375

  1. = 375/1000
  2. GCF = 125
  3. = 3/8

Questions people ask

Is 0.999… equal to 1?

Yes. 0.(9) = 9/9 = 1 exactly.

Can every decimal be a fraction?

Every terminating or repeating decimal can. Irrational numbers like π can't.