Terminating vs. Repeating Decimals

Every fraction can be expressed as a decimal. Some decimals terminate—they have a definite end. Others repeat: a sequence of digits cycles forever. Understanding the difference is essential for working with rational numbers.

A terminating decimal ends completely. Examples include 1/2 = 0.5, 1/4 = 0.25, and 3/8 = 0.375. These arise when the denominator's prime factors are only 2 and 5. Since our number system is base-10 (2 × 5), denominators built only from these primes will eventually "exhaust" during long division, leaving no remainder.

A repeating decimal contains one or more digits that cycle infinitely. For instance, 1/3 = 0.333..., 1/6 = 0.1666..., and 1/7 ≈ 0.142857142857... You can denote the repeating block with a bar (called a vinculum) or brackets. Although the decimal representation is infinitely long, repeating decimals are rational—they can always be expressed as a fraction of two integers.

Between two whole numbers, infinitely many decimals exist. Decimal notation lets us express these fractional values with precision, separating the integer part (before the point) from the fractional part (after).

Converting Fractions to Decimals

To find the decimal form of any fraction, perform long division: divide the numerator by the denominator. Track remainders carefully. When a remainder repeats, the decimals begin cycling.

Fraction = Numerator ÷ Denominator

Terminating if denominator = 2a × 5b

Repeating if denominator contains prime factors other than 2 or 5

  • Numerator — The top number in the fraction
  • Denominator — The bottom number in the fraction
  • a, b — Non-negative integer exponents

Long Division Method for Finding Decimals

Long division is the practical tool for converting any fraction to decimal form. Here's the process:

  • Set up the division with numerator as dividend and denominator as divisor.
  • Perform the first division and note the quotient and remainder.
  • Insert the decimal point when the numerator becomes smaller than the denominator.
  • Bring down a zero to the remainder and continue dividing.
  • Record each new quotient digit and remainder.
  • If the remainder becomes zero, your decimal terminates.
  • If a remainder repeats—one you've seen before—the decimal enters a cycle from that point forward.

For example, dividing 12 by 55: start with 12 ÷ 55 = 0 remainder 12. Bring down a zero: 120 ÷ 55 = 2 remainder 10. Continue: 100 ÷ 55 = 1 remainder 45; then 450 ÷ 55 = 8 remainder 10. Since remainder 10 appeared earlier, digits 1 and 8 form the repeating block: 12/55 = 0.218... (where 18 repeats).

Reconstructing Fractions from Repeating Decimals

If you have a repeating decimal and need to find the original fraction, three cases apply.

Terminating decimals: Multiply by an appropriate power of 10 to shift the decimal point right until you have an integer. For 0.23, multiply by 100: 0.23 × 100 = 23. Your fraction is 23/100.

Pure repeating decimals: All digits after the decimal repeat from the start. If n is the number of repeating digits and d is the repeating block as an integer, the fraction is d / (10n − 1). For instance, 0.333... has one repeating digit (3), so the fraction is 3 / (10 − 1) = 3/9 = 1/3.

Mixed decimals: Some digits don't repeat (the non-periodic part), then digits repeat. If m is the number of non-repeating digits, n is the number of repeating digits, and you have the full decimal as a number, subtract the non-repeating portion, then divide by (10m+n − 10m). Example: 0.1666... has 1 non-repeating digit (1) and 1 repeating digit (6). The fraction is (16 − 1) / (100 − 10) = 15/90 = 1/6.

Common Pitfalls and Practical Tips

Avoid these frequent mistakes when working with decimals and fractions.

  1. Stopping too early in long division — Continue long division until you either reach a remainder of zero or encounter a remainder you've already seen. Stopping partway through will give an incomplete or incorrect representation. Keep a list of remainders you've seen to spot when the cycle begins.
  2. Misidentifying terminating vs. repeating — Terminating decimals have denominators that factor into only 2s and 5s. If your denominator contains any other prime (3, 7, 11, etc.), the decimal will repeat. Quickly factor the denominator to predict the outcome before dividing.
  3. Forgetting to simplify fractions before conversion — Always reduce fractions to lowest terms first. 2/4 and 1/2 represent the same decimal, but working with 1/2 is simpler and clearer. A common factor in numerator and denominator doesn't change the final decimal.
  4. Mishandling mixed decimals when converting back — When reconstructing a fraction from a decimal like 0.1666..., distinguish carefully between non-repeating digits (1) and repeating digits (6). A single miscount changes your formula significantly and produces an incorrect fraction.

Frequently Asked Questions

How do I know if a fraction's decimal terminates or repeats?

Factor the denominator into primes. If it contains only 2s and 5s, the decimal terminates. If any other prime appears (3, 7, 11, 13, etc.), the decimal repeats. For instance, 1/8 has denominator 2³, so it terminates at 0.125. But 1/3 has denominator 3, so it repeats as 0.333....

What does it mean for decimals to be 'rational'?

A rational number is any number expressible as a ratio of two integers. All terminating decimals are rational. All repeating decimals are also rational—even though their decimal representation is infinitely long, they follow a predictable pattern and can be written as a fraction. Irrational numbers like π or √2 have non-repeating, non-terminating decimals.

Can I convert 0.999... back to a fraction?

Yes. Using the formula for pure repeating decimals with one repeating digit (9): the fraction is 9 / (10 − 1) = 9/9 = 1. This surprising result shows that 0.999... and 1 are equal—a mathematical fact that sometimes surprises people. The decimal representation 0.999... is simply an alternative way to write the integer 1.

Why do remainders repeating signal the start of a cycle?

In long division, each remainder determines the next step. If remainder 7 appeared twice, the same calculation follows both times, producing identical quotient digits. This means those digits repeat forever. By tracking remainders, you pinpoint exactly when—and which digits—form the repeating block.

How many digits usually repeat in a fraction's decimal?

The length of the repeating cycle depends on the denominator's prime factors (excluding 2 and 5). For a denominator <em>d</em> with no factors of 2 or 5, the repeating block length divides (d − 1). Often it's much shorter than d − 1. For example, 1/7 repeats with period 6, and 1/13 repeats with period 6, yet both have denominators larger than their cycle lengths.

What's the difference between vinculum notation and brackets?

Both notations indicate repeating decimals. A vinculum (overline bar) is placed over the repeating digits: 1/3 = 0.3̄. Brackets or parentheses serve the same purpose: 1/3 = 0.(3). Some regions prefer one style over the other. Either is mathematically correct; choose whichever your textbook or course uses consistently.

More math calculators (see all)