Allday Education

Writing a Repeating Decimal as a Fraction

A repeating decimal like 0.70.\overline{7} goes on forever, but it is still an exact number — and every repeating decimal is secretly a fraction. 0.70.\overline{7} is exactly 79\dfrac{7}{9}, and 0.450.\overline{45} is exactly 511\dfrac{5}{11}.

The trick that converts them is one clean algebra move: line up two copies of the decimal so their infinite tails match, then subtract. The tails cancel each other completely, and you're left with a plain equation you can solve.

The four-step setup

Step 1: let xx equal the repeating decimal. For 0.70.\overline{7}, write x=0.777x = 0.777\ldots

Step 2: multiply both sides by 1010 for each repeating digit. One repeating digit means multiply by 1010; two repeating digits mean multiply by 100100. This slides the decimal point over exactly one full repeating block.

Step 3: subtract the original equation from the new one. Both decimals have the same infinite tail, so the tails cancel and only whole numbers survive.

Step 4: solve for xx and simplify the fraction.

Why the multiplier matters

The subtraction only works if the two decimals line up tail-to-tail. Multiplying x=0.454545x = 0.454545\ldots by 100100 gives 100x=45.4545100x = 45.4545\ldots — same tail, shifted by one whole block, so subtracting kills everything after the decimal point.

Multiply by the wrong power of 1010 and the tails don't match. 10x=4.5454510x = 4.54545\ldots has its pattern out of phase with x=0.45454x = 0.45454\ldots, and the subtraction leaves a mess instead of a whole number. Count the repeating digits, then match the zeros: one digit, 1010; two digits, 100100; three digits, 10001000.

A shortcut worth knowing

When the repeating block starts right after the decimal point, the method always produces the block over a string of 99s: 0.4=490.\overline{4} = \dfrac{4}{9}, 0.45=45990.\overline{45} = \dfrac{45}{99}, 0.123=1239990.\overline{123} = \dfrac{123}{999}.

That's a great answer check, but don't stop there — the fraction usually simplifies. 4599\dfrac{45}{99} reduces to 511\dfrac{5}{11}, and most multiple-choice answers are written in simplest form.

Worked examples

Example 1: one repeating digit

Write 0.70.\overline{7} as a fraction.

Let xx equal the decimalx=0.777x = 0.777\ldots
One repeating digit, so multiply by 101010x=7.77710x = 7.777\ldots
Subtract the equations — the tails cancel9x=79x = 7
Solvex=79x = \dfrac{7}{9}

Answer: 0.7=790.\overline{7} = \dfrac{7}{9}

Example 2: two repeating digits

Write 0.450.\overline{45} as a fraction in simplest form.

Let xx equal the decimalx=0.454545x = 0.454545\ldots
Two repeating digits, so multiply by 100100100x=45.4545100x = 45.4545\ldots
Subtract the equations99x=4599x = 45
Solvex=4599x = \dfrac{45}{99}
Simplify by dividing top and bottom by 99x=511x = \dfrac{5}{11}

Answer: 0.45=5110.\overline{45} = \dfrac{5}{11}

Example 3: simplify at the end

Write 0.60.\overline{6} as a fraction in simplest form.

Let xx equal the decimalx=0.666x = 0.666\ldots
One repeating digit, so multiply by 101010x=6.66610x = 6.666\ldots
Subtract the equations9x=69x = 6
Solve and simplifyx=69=23x = \dfrac{6}{9} = \dfrac{2}{3}

Answer: 0.6=230.\overline{6} = \dfrac{2}{3}

Try one yourself

Common questions

How do I know whether to multiply by 10, 100, or 1000?

Count the digits under the bar. One repeating digit needs 1010, two need 100100, three need 10001000. The goal is to shift the decimal by exactly one full repeating block so the infinite tails line up and cancel when you subtract.

Why do the infinite tails cancel when I subtract?

Because they are identical. 10x=7.77710x = 7.777\ldots and x=0.777x = 0.777\ldots have the exact same digits after the decimal point, so subtracting leaves 9x=79x = 7 — the infinite parts erase each other digit for digit.

How can I check my fraction?

Divide the numerator by the denominator. If 511\dfrac{5}{11} is right, the division should give back 0.4545450.454545\ldots — the decimal you started with. If you get a different pattern, re-check the multiplier and the subtraction.

What about a decimal like 0.830.8\overline{3}, where only part repeats?

The same idea works with one extra shift. Multiply by 1010 once to move past the non-repeating digit (10x=8.33310x = 8.333\ldots), then by 1010 again for the repeating block (100x=83.33100x = 83.33\ldots), and subtract those two: 90x=7590x = 75, so x=56x = \dfrac{5}{6}.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1