Writing a Repeating Decimal as a Fraction
A repeating decimal like goes on forever, but it is still an exact number — and every repeating decimal is secretly a fraction. is exactly , and is exactly .
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 equal the repeating decimal. For , write
Step 2: multiply both sides by for each repeating digit. One repeating digit means multiply by ; two repeating digits mean multiply by . 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 and simplify the fraction.
Why the multiplier matters
The subtraction only works if the two decimals line up tail-to-tail. Multiplying by gives — same tail, shifted by one whole block, so subtracting kills everything after the decimal point.
Multiply by the wrong power of and the tails don't match. has its pattern out of phase with , and the subtraction leaves a mess instead of a whole number. Count the repeating digits, then match the zeros: one digit, ; two digits, ; three digits, .
A shortcut worth knowing
When the repeating block starts right after the decimal point, the method always produces the block over a string of s: , , .
That's a great answer check, but don't stop there — the fraction usually simplifies. reduces to , and most multiple-choice answers are written in simplest form.
Worked examples
Example 1: one repeating digit
Write as a fraction.
Answer:
Example 2: two repeating digits
Write as a fraction in simplest form.
Answer:
Example 3: simplify at the end
Write as a fraction in simplest form.
Answer:
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 , two need , three need . 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. and have the exact same digits after the decimal point, so subtracting leaves — the infinite parts erase each other digit for digit.
How can I check my fraction?
Divide the numerator by the denominator. If is right, the division should give back — the decimal you started with. If you get a different pattern, re-check the multiplier and the subtraction.
What about a decimal like , where only part repeats?
The same idea works with one extra shift. Multiply by once to move past the non-repeating digit (), then by again for the repeating block (), and subtract those two: , so .
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.