Repeating Decimal to Fraction

Convert repeating decimals to fractions when you need to express infinite decimals like 0.333... as exact fractions for calculation and comparison.

0.d1dn=d1dn10n10.\overline{d_1 \cdots d_n} = \frac{d_1 \cdots d_n}{10^n - 1}

Solve a problem with Repeating Decimal to Fraction

Type the problem. The solver will use Repeating Decimal to Fraction where Repeating Decimal to Fraction is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Repeating Decimal to Fraction takes
did_i
nn
Repeating Decimal to Fraction
SymbolMeaning
did_iThe digit in position ii of the repeating block, where i=1i = 1 is the leftmost digit; for example, in 0.1428570.\overline{142857}, we have d1=1d_1 = 1, d2=4d_2 = 4, d3=2d_3 = 2. Each digit is a whole number from 0 to 9.
nnThe total count of digits that repeat; for 0.270.\overline{27}, we have n=2n = 2, and for 0.30.\overline{3}, we have n=1n = 1. This value determines which power of 10 you multiply by in the derivation.

When to use it

Use this when you encounter a decimal that repeats forever and need to work with it as a fraction.

Level

Usually taught in: Algebra I

Worked examples

1. Convert a single repeating digit to a fraction

Problem

Express 0.30.\overline{3} as a simplified fraction.
  1. x=0.3x = 0.\overline{3}

    Set up an equation where xx represents the repeating decimal 0.333...0.333..., which is written as 0.30.\overline{3}.

  2. 10x=3.310x = 3.\overline{3}

    Multiply both sides by 10 (since one digit repeats), shifting the decimal point one place to the right.

  3. 10xx=3.30.310x - x = 3.\overline{3} - 0.\overline{3}

    Subtract the original equation from the multiplied equation so the repeating tails cancel out.

  4. 9x=39x = 3

    The repeating parts cancel perfectly: 3.30.3=33.\overline{3} - 0.\overline{3} = 3.

  5. x=39=13x = \frac{3}{9} = \frac{1}{3}

    Divide both sides by 9, then reduce by dividing numerator and denominator by their GCD of 3.

Answer: 13\frac{1}{3}

This method works because multiplying by the right power of 10 aligns the repeating blocks, allowing subtraction to cancel the infinite tail completely. You're left with a simple equation containing only whole numbers.

2. Convert multiple repeating digits and simplify

Problem

Express 0.270.\overline{27} as a simplified fraction.
  1. x=0.27x = 0.\overline{27}

    Set up an equation for the repeating decimal where the pair of digits 27 repeats forever.

  2. 100x=27.27100x = 27.\overline{27}

    Multiply by 100=102100 = 10^2 because two digits repeat, shifting the decimal point exactly two places.

  3. 100xx=27.270.27100x - x = 27.\overline{27} - 0.\overline{27}

    Subtract to cancel the infinite repeating tail.

  4. 99x=2799x = 27

    The repeating blocks align and subtract to zero, leaving just 27 on the right side.

  5. x=2799x = \frac{27}{99}

    Divide both sides by 99.

  6. x=311x = \frac{3}{11}

    Reduce by dividing numerator and denominator by their GCD of 9: 27÷9=327 \div 9 = 3 and 99÷9=1199 \div 9 = 11.

Answer: 311\frac{3}{11}

When multiple digits repeat, multiply by a higher power of 10 to shift far enough that the subtraction perfectly aligns the repeating cycles. The formula produces a correct fraction, but always reduce at the end for the simplest form.

3. Apply repeating decimals in a word problem

Problem

A basketball player's three-point shooting accuracy during a season averages 0.360.\overline{36}. Express this repeating decimal as a simplified fraction.
  1. x=0.36x = 0.\overline{36}

    Let xx represent the player's exact shooting accuracy as a repeating decimal.

  2. 100x=36.36100x = 36.\overline{36}

    Multiply by 100=102100 = 10^2 since two digits repeat.

  3. 100xx=36.360.36100x - x = 36.\overline{36} - 0.\overline{36}

    Subtract to eliminate the repeating tail.

  4. 99x=3699x = 36

    The repeating blocks cancel, leaving 36 on the right.

  5. x=3699x = \frac{36}{99}

    Divide by 99.

  6. x=411x = \frac{4}{11}

    Reduce by dividing both by their GCD of 9: 36÷9=436 \div 9 = 4 and 99÷9=1199 \div 9 = 11.

Answer: 411\frac{4}{11}

Converting repeating decimals to fractions gives us an exact value more useful than the decimal approximation. The fraction 411\frac{4}{11} tells us precisely that over many attempts, the player makes about 4 successful three-pointers for every 11 attempts.

Common mistakes

Where Repeating Decimal to Fraction usually goes wrong
Answer came out wrong
I multiplied by 10 to convert 0.270.\overline{27}, so 10x=27.2710x = 27.\overline{27}.
Always multiply by 10n10^n where nn is the count of repeating digits. For 0.270.\overline{27} with two repeating digits, use 102=10010^2 = 100 to get 100x=27.27100x = 27.\overline{27}.
I wrote 10x=3.310x = 3.\overline{3}, so x=310x = \frac{3}{10}.
After multiplying, always perform the subtraction: 10xx=3.30.310x - x = 3.\overline{3} - 0.\overline{3}, which gives 9x=39x = 3. Then solve: x=39=13x = \frac{3}{9} = \frac{1}{3}.
0.27=27990.\overline{27} = \frac{27}{99}, so the answer is 2799\frac{27}{99}.
Always reduce the final result: 2799=311\frac{27}{99} = \frac{3}{11} by finding and dividing by the GCD of the numerator and denominator.
The mistakeWhy it is wrongThe fix
I multiplied by 10 to convert 0.270.\overline{27}, so 10x=27.2710x = 27.\overline{27}.Using the wrong power of 10 doesn't shift the decimal far enough to align the repeating blocks when you subtract, so the infinite repeating tails don't cancel completely.Always multiply by 10n10^n where nn is the count of repeating digits. For 0.270.\overline{27} with two repeating digits, use 102=10010^2 = 100 to get 100x=27.27100x = 27.\overline{27}.
I wrote 10x=3.310x = 3.\overline{3}, so x=310x = \frac{3}{10}.Simply multiplying doesn't eliminate the repeating part. You must subtract the original equation to make the infinite repeating tails cancel each other out.After multiplying, always perform the subtraction: 10xx=3.30.310x - x = 3.\overline{3} - 0.\overline{3}, which gives 9x=39x = 3. Then solve: x=39=13x = \frac{3}{9} = \frac{1}{3}.
0.27=27990.\overline{27} = \frac{27}{99}, so the answer is 2799\frac{27}{99}.The formula produces a correct fraction but often not in simplest form. Leaving it unreduced misses the point of converting to a fraction in the first place.Always reduce the final result: 2799=311\frac{27}{99} = \frac{3}{11} by finding and dividing by the GCD of the numerator and denominator.

Tips and when to use something else

  • Count the repeating digits carefully—this count equals nn for your multiplier 10n10^n. One digit means multiply by 10; two digits means multiply by 100; three means 1000.
  • The subtraction step is what makes this work: it's the only way to cancel the infinite repeating tail and turn an unsolvable problem into a simple equation.
  • Always reduce the final fraction to lowest terms by dividing both numerator and denominator by their greatest common factor.
  • If your decimal has both non-repeating and repeating parts (like 0.130.1\overline{3}), this method requires a different approach—separate the two parts, convert each, then combine them.

Frequently asked questions

Why do we multiply by a power of 10 and then subtract?
Multiplying by 10n10^n shifts the decimal point nn places, which aligns all the repeating blocks. When you subtract the original equation, the infinite repeating tails cancel each other perfectly, leaving only a whole number on the right side.
Is 0.30.\overline{3} the same as 0.3330.333?
No. 0.3330.333 is a terminating decimal with exactly three 3's. 0.3=0.333...0.\overline{3} = 0.333... never ends, and equals exactly 13\frac{1}{3}. The bar notation is essential to show the pattern repeats forever.
Can I just use the formula without doing the algebra?
Yes, the formula is a shortcut: put the repeating block as the numerator and (10n1)(10^n - 1) as the denominator, then simplify. However, understanding the algebra deepens your grasp of why it works.
What happens if the repeating block has many digits?
The process is identical. For a six-digit repeating block, multiply by 106=1,000,00010^6 = 1,000,000, subtract, and solve. The logic never changes; only the arithmetic becomes more involved with larger numbers.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18