Allday Education

Terminating vs. Repeating Decimals

Every fraction turns into one of two kinds of decimals. A terminating decimal ends — divide 33 by 88 and you get 0.3750.375, done. A repeating decimal never ends, but it repeats a pattern forever — divide 55 by 99 and you get 0.5550.555\ldots, written 0.50.\overline{5} with a bar over the repeating digit.

The useful part is that you can predict which kind you'll get before you divide anything. The answer is hiding in the denominator, and checking it takes about ten seconds.

The two kinds of decimals

A terminating decimal stops. When you do the division, you eventually hit a remainder of 00 and there is nothing left to bring down: 14=0.25\dfrac{1}{4} = 0.25, 78=0.875\dfrac{7}{8} = 0.875.

A repeating decimal never stops, but it cycles through the same digits forever: 13=0.333\dfrac{1}{3} = 0.333\ldots and 56=0.8333\dfrac{5}{6} = 0.8333\ldots. Instead of writing dots, put a bar over the part that repeats: 0.30.\overline{3} and 0.830.8\overline{3}.

The denominator rule

Put the fraction in simplest form, then factor the denominator into primes. If the only prime factors are 22s and 55s, the decimal terminates. If any other prime shows up — a 33, a 77, an 1111 — the decimal repeats forever.

Why 22 and 55? Because our decimal system is built on 1010, and 10=2510 = 2 \cdot 5. A denominator made of 22s and 55s can be scaled up to a power of ten, and any fraction with a power-of-ten denominator is just a decimal that stops. Any other prime can never be scaled into a power of ten, so the division never ends.

Simplifying first matters. The fraction 960\dfrac{9}{60} looks like it should repeat because 6060 has a factor of 33 — but 960=320\dfrac{9}{60} = \dfrac{3}{20}, and 20=22520 = 2 \cdot 2 \cdot 5, so it terminates: 0.150.15. Only the simplified denominator tells the truth.

Put the bar in the right place

The bar covers only the digits that actually repeat. 512=0.41666\dfrac{5}{12} = 0.41666\ldots — the 44 and 11 happen once, and only the 66 cycles, so you write 0.4160.41\overline{6}. Writing 0.4160.\overline{416} would mean 0.4164164160.416416416\ldots, which is a different number.

When you divide by hand, the moment a remainder you've already seen shows up again, the digits are about to repeat — that's your repeating block.

Worked examples

Example 1: a terminating decimal

Write 38\dfrac{3}{8} as a decimal and classify it.

Factor the denominator8=2228 = 2 \cdot 2 \cdot 2
Only 22s appear, so the decimal terminates
Divide38=0.375\dfrac{3}{8} = 0.375

Answer: 0.3750.375 — terminating

Example 2: a repeating decimal

Write 59\dfrac{5}{9} as a decimal and classify it.

Factor the denominator9=339 = 3 \cdot 3
A 33 appears, so the decimal repeats
Divide59=0.555\dfrac{5}{9} = 0.555\ldots
Put a bar over the repeating digit0.50.\overline{5}

Answer: 0.50.\overline{5} — repeating

Example 3: only part of it repeats

Write 512\dfrac{5}{12} as a decimal.

Factor the denominator12=22312 = 2 \cdot 2 \cdot 3
The factor 33 means it repeats
Divide512=0.41666\dfrac{5}{12} = 0.41666\ldots
Only the 66 cycles, so the bar covers only the 660.4160.41\overline{6}

Answer: 0.4160.41\overline{6}

Try one yourself

Common questions

Do I really have to simplify the fraction first?

Yes. A prime factor that cancels out of the denominator cannot affect the decimal. 2156\dfrac{21}{56} has a 77 in the denominator, but it simplifies to 38\dfrac{3}{8} — and 0.3750.375 terminates. Check the rule only on the simplified fraction.

Is a long decimal automatically a repeating decimal?

No. 164=0.015625\dfrac{1}{64} = 0.015625 is six digits long and still terminates, because 6464 is all 22s. Length doesn't decide anything — the prime factors of the denominator do.

What exactly does the bar mean?

The bar marks the block of digits that repeats forever. 0.270.\overline{27} means 0.2727270.272727\ldots and 0.270.2\overline{7} means 0.27770.2777\ldots — the bar's position changes the number, so place it carefully.

Can a decimal neither terminate nor repeat?

Not if it came from a fraction — every fraction of two integers either terminates or repeats. Decimals that never end and never repeat, like 2=1.41421\sqrt{2} = 1.41421\ldots, are the irrational numbers, and no fraction can produce them.

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