Repeating Decimal to Fraction Calculator

0.16̅ as a fraction1/6
Fraction
1/6
Decimal
0.16̅ = 0.1666…
Working
(16 − 1) ÷ 90 = 15/90
Simplified by
dividing top and bottom by 15

A repeating decimal equals (all digits − digits before the repeat) ÷ (one 9 per repeating digit, followed by one 0 per non-repeating decimal digit).

Enter the digits before the repeat and the digits that repeat forever. The calculator gives the exact fraction and shows the working.

More decimal and fraction tools

How to use the Repeating Decimal to Fraction Calculator

  1. Type the part before the repeat — for 0.1666… that is 0.1; for 0.333… it is 0.
  2. Type the repeating digits — 6 for 0.1666…, 3 for 0.333…, 27 for 0.272727….
  3. Read the fraction, mixed number and working.

How it works

A repeating decimal equals (all the digits − the digits before the repeat) divided by a number made of one 9 for each repeating digit followed by one 0 for each non-repeating decimal digit. For 0.1666…: (16 − 1) ÷ 90 = 15/90 = 1/6. The result is then simplified by the greatest common divisor.

The algebra method, step by step

Every repeating decimal is a fraction. To find it, call the number x and multiply it so the repeating part lines up, then subtract.

  1. Let x equal the decimal. x = 0.1666…
  2. Multiply to move the non-repeating digits in front of the point: 10x = 1.666…
  3. Multiply again by 10 for each repeating digit: 100x = 16.666…
  4. Subtract the two lines so the endless 6s cancel: 100x − 10x = 16.666… − 1.666…, so 90x = 15.
  5. Solve and simplify: x = 15/90 = 1/6.

The calculator above uses the same idea in a single formula: (all the digits − the digits before the repeat) ÷ (a 9 for each repeating digit followed by a 0 for each non-repeating decimal digit). For 0.1666…: (16 − 1) ÷ 90 = 15/90 = 1/6.

Repeating decimals and their fractions

Examples
Repeating decimalFraction
0.3̅1/3
0.6̅2/3
0.16̅1/6
0.2̅7̅3/11
0.83̅5/6
0.1̅4̅2̅8̅5̅7̅1/7
1.3̅4/3
0.9̅1

Notice the pattern: one repeating digit goes over 9, two over 99, six over 999,999. That is why 0.142857… is 142857/999999, which simplifies to 1/7.

Does 0.999… really equal 1?

Yes. Using the method: x = 0.999…, 10x = 9.999…, subtract to get 9x = 9, so x = 1. Another way to see it: 1/3 = 0.333…, and three times that is 0.999…, which must equal 3/3 = 1. There is no number between 0.999… and 1, so they are the same number written two ways.

How to tell if a decimal repeats

A calculator display cuts numbers off, so 0.3333333 might be a rounded 1/3 or exactly 3,333,333/10,000,000. If you know where the number came from — a division, a fraction, a ratio — it almost certainly repeats. A fraction gives a repeating decimal whenever its simplified denominator has a prime factor other than 2 or 5, such as 3, 7, 11 or 13.

For terminating decimals such as 0.375, use the regular decimal to fraction calculator. To go the other way, the fraction to decimal converter shows the repeating block of any fraction.

Frequently asked questions

What is 0.333… as a fraction?

1/3.

What is 0.1666… as a fraction?

1/6.

What is 0.272727… as a fraction?

27/99 = 3/11.

What is 0.999… as a fraction?

It equals exactly 1.

How do you convert a repeating decimal to a fraction?

Put the repeating block over as many 9s as it has digits, adjusting for any digits before the repeat, then simplify.

Related tools