Decimal to Fraction Calculator

To turn a decimal into a fraction, write it over a power of 10 and simplify: 0.375 = 375/1000 = 3/8. Repeating decimals work too, for example 0.1666… = 1/6.

  • Free
  • No sign-up
  • Shows the working
  • Works on phones

For 0.1666…, type 0.1 and repeating digits 6. You can also type 0.1(6) or 0.1666... in the first box.

Try:
Decimal as a fraction
0.375 = 3/8
Simplified fraction
3/8
Mixed number
3/8
Percent
37.5%

Step by step

  1. 0.375 has 3 decimal places, so write it over 1,000 (1 followed by 3 zeros): 375/1,000
  2. Simplify: GCF(375, 1,000) = 125. Divide the top and bottom by 125: 375 ÷ 125/1,000 ÷ 125 = 3/8

How to convert a decimal to a fraction

  1. Count the digits after the decimal point.
  2. Write the decimal without the point over 1 followed by that many zeros (0.375 = 375/1000).
  3. Find the GCF of the top and bottom and divide both by it (375/1000 ÷ 125 = 3/8).
  4. For a repeating decimal, let x equal the decimal, multiply by powers of 10 so the repeating parts line up, subtract, and solve for x.

How do you convert a decimal to a fraction?

Every terminating decimal is a fraction with a denominator of 10, 100, 1000 and so on. Count the decimal places, write the digits over 1 followed by that many zeros, then simplify by the greatest common factor.

0.375 = 375/1000 = (375 ÷ 125)/(1000 ÷ 125) = 3/8

If the decimal is bigger than 1, the same steps give an improper fraction, which you can write as a mixed number: 2.25 = 225/100 = 9/4 = 2 1/4.

How do you convert a repeating decimal to a fraction?

A repeating decimal has digits that go on forever in a pattern, such as 0.333… or 0.1666…. A bar over the digits (or brackets) shows which part repeats: 0.1(6) means 0.16666…. To convert one, use the 10x − x method:

  1. Let x = 0.1666….
  2. Multiply so the repeating part starts right after the point: 10x = 1.666….
  3. Multiply again to shift one full repeating block: 100x = 16.666….
  4. Subtract: 100x − 10x = 16.666… − 1.666…, so 90x = 15. The endless tails cancel out.
  5. Solve and simplify: x = 15/90 = 1/6.

When the whole decimal part repeats, one multiplication is enough. For 0.(27) = 0.2727…, 100x = 27.2727…, so 99x = 27 and x = 27/99 = 3/11.

How do you convert a fraction to a decimal?

Divide the numerator by the denominator. If the simplified denominator has only 2s and 5s as prime factors, the division ends and the decimal terminates (3/8 = 0.375). Otherwise a remainder eventually repeats, so the digits repeat too (5/6 = 0.8333…). Switch to “Fraction → decimal” above to see the long division.

Why do some decimals repeat?

When you divide, each step leaves a remainder smaller than the denominator. There are only so many possible remainders, so either one of them is 0 (the decimal stops) or a remainder comes back, and from then on the same digits come out again in the same order. That is why every fraction gives a decimal that either terminates or repeats, and why every repeating decimal can be turned back into a fraction. Decimals that never repeat, like π, are irrational and can't be written as a fraction.

Decimal to fraction chart

DecimalFraction
0.11/10
0.1251/8
0.21/5
0.251/4
0.3753/8
0.42/5
0.51/2
0.63/5
0.6255/8
0.753/4
0.84/5
0.8757/8
1.53/2 = 1 1/2
2.259/4 = 2 1/4
0.(3) (0.333…)1/3
0.(6) (0.666…)2/3
0.1(6) (0.1666…)1/6
0.8(3) (0.8333…)5/6
0.(09) (0.0909…)1/11
0.(142857) (0.142857142857…)1/7

Brackets show the repeating digits: 0.(3) means 0.333….

Common mistakes

  • Using the wrong power of 10. 0.05 is 5/100, not 5/10. Count every decimal place, including zeros.
  • Treating a rounded decimal as exact. 0.33 is 33/100, while 0.333… is exactly 1/3.
  • Forgetting to simplify. 0.5 = 5/10, which simplifies to 1/2.
  • Lining up the wrong digits. In the 10x − x method, both numbers you subtract must have the same repeating tail after the point.

Working with the fractions next? Use the fraction calculator to add or multiply them, or the percentage calculator to turn them into percentages.

Frequently asked questions

How do you convert a decimal to a fraction?

Write the decimal over the matching power of 10, then simplify. 0.375 has three decimal places, so it is 375/1000. The GCF of 375 and 1000 is 125, so 0.375 = 3/8.

How do you convert a repeating decimal to a fraction?

Use algebra. For x = 0.333…, multiply by 10 to get 10x = 3.333…, subtract x to cancel the repeating part (9x = 3), and solve: x = 3/9 = 1/3.

What is 0.1666… as a fraction?

0.1666… (0.1 with the 6 repeating) equals 1/6. Let x = 0.1666…, then 100x − 10x = 16.666… − 1.666… = 15, so 90x = 15 and x = 15/90 = 1/6.

How do I type a repeating decimal?

Put the repeating digits in brackets, like 0.1(6), type at least two copies followed by dots, like 0.1666..., or type 0.1 in the decimal box and 6 in the repeating digits box.

Is 0.999… equal to 1?

Yes. Using the same method, x = 0.999…, 10x = 9.999…, so 9x = 9 and x = 1. The two are different ways of writing the same number.

How do I know if a fraction gives a terminating decimal?

Simplify the fraction, then look at the denominator. If its only prime factors are 2 and 5, the decimal terminates (3/8 = 0.375). If it has any other prime factor, the decimal repeats (5/6 = 0.8333…).

How do you convert a fraction to a decimal?

Divide the numerator by the denominator. 3 ÷ 8 = 0.375 and 2 ÷ 3 = 0.666…. Switch the calculator to “Fraction → decimal” to see the long division.

Last reviewed November 27, 2026 by the ChalkStation team.