Skip to content
everylittletool

Decimal to Fraction Calculator

Turn a decimal into a simplified fraction, including repeating decimals.

Runs in your browser — nothing is uploaded

Repeating decimals: put the repeating digits in brackets, e.g. 0.(3) for 0.333… or 0.1(6) for 0.1666…

Fraction (simplest form)

3/8

Steps

  1. 0.375 has 3 decimal places, so write it over 10^3: 375/1000.
  2. Divide top and bottom by the greatest common divisor, 125: 3/8.

How to use Decimal to Fraction Calculator

  1. 1

    Type a decimal such as 0.375 or 2.75 in the Decimal box.

  2. 2

    For a repeating decimal, put the repeating digits in brackets: 0.(3) for 0.333… or 0.1(6) for 0.1666….

  3. 3

    Read the fraction in simplest form and, for values above 1, the mixed number.

  4. 4

    Check the Steps panel to see how the fraction was found, then select Copy fraction.

About this tool

A terminating decimal is a fraction over a power of ten. 0.375 has three decimal places, so it is 375/1000. Dividing the top and bottom by their greatest common divisor, 125, gives 3/8 in simplest form. The calculator works with the exact digits you type, using whole-number arithmetic with no size limit, so long decimals convert without rounding.

Repeating decimals need a different method, because the digits never end. For x = 0.1666…, multiply by 100 and by 10 so the repeating parts line up: 100x = 16.666… and 10x = 1.666…. Subtracting gives 90x = 15, so x = 15/90 = 1/6. Type the repeating digits in brackets, such as 0.1(6), and the calculator follows exactly those steps.

If you type a rounded decimal such as 0.3333 or 0.667, the exact answer is 3333/10000 or 667/1000, which is rarely what you want. When a much simpler fraction lies within the rounding, the calculator points it out, for example 1/3 or 2/3, and suggests typing the repeating form instead.

Every terminating or repeating decimal is a rational number with an exact fraction. Irrational numbers such as π or √2 never repeat, so any fraction for them, like 22/7, is only an approximation.

Questions people ask

What is 0.375 as a fraction?

3/8. Write it as 375/1000, then divide the top and bottom by 125.

What is 0.333… as a fraction?

1/3. If x = 0.333…, then 10x = 3.333…, and subtracting gives 9x = 3, so x = 3/9 = 1/3.

What is 1.25 as a fraction?

5/4, or 1 1/4 as a mixed number. 1.25 = 125/100, and dividing both by 25 gives 5/4.

How do I convert a repeating decimal like 0.1666… to a fraction?

Type it as 0.1(6). The calculator finds 15/90, which simplifies to 1/6.