Why Do Some Fractions Terminate While Others Repeat?

Fractions · Understand the Pattern

A decimal ends when long division reaches a remainder of zero. If a nonzero remainder returns, the same digits begin again. The reduced denominator tells you which outcome is possible; the remainders show why.

Quick answer

Reduce the fraction first. A denominator with only 2s and 5s can divide a power of 10, so its decimal terminates. Any other prime factor prevents a zero remainder.

Because division has only finitely many possible nonzero remainders, one eventually returns and the decimal repeats. For example, 3/8 = 0.375, while 1/7 = 0.142857142857…. See the remainder explanation at LibreTexts.

What Makes Decimal Digits Stop Or Repeat?

At each decimal place, long division multiplies the current remainder by 10, divides by the denominator, and records the next digit and remainder. A remainder of 0 ends the process. If a previous nonzero remainder appears again, the next division step is identical, so the following digits repeat in the same order.

For a positive denominator d, the only possible remainders are 0 through d − 1. An endless division cannot keep producing new nonzero remainders forever. This is why a fraction of integers has a decimal that either terminates or eventually repeats; it does not produce an irregular, nonrepeating decimal. LibreTexts explains the finite-remainder argument.

Watch The Six-Step Remainder Cycle Of 1/7

Start with remainder 1. Bring down a zero, divide 10 by 7, and repeat with each new remainder. The table shows every decimal digit, not just the finished answer.

Current remainderMultiply by 10Next digitNew remainder
11013
33042
22026
66084
44055
55071 , back to start

The new remainder is 1 again. The next step must therefore produce digit 1 and remainder 3 again, followed by 4, 2, 8, 5, 7. The six-digit block is 142857, so 1/7 = 0.(142857), where parentheses mark the repeating block.

Remainder Cycle for One-SeventhRemainder 1 produces digit 1 and remainder 3. Remainders then move through 3, 2, 6, 4, 5, and back to 1, producing the digits 1, 4, 2, 8, 5, 7.1/7 = 0.(142857)r = 1digit 1r = 3digit 4r = 2digit 2r = 6digit 8r = 4digit 5r = 5digit 7remainder 1 returns
The boxes trace remainders. Once remainder 1 returns, the six decimal digits repeat.

Six is the length of this repeating block, not a length shared by all repeating decimals. The denominator limits the number of possible nonzero remainders, but the actual cycle may be shorter. LibreTexts uses 1/7 to explore possible remainders.

Why Does 1/6 Repeat Only After Its First Digit?

The repeated remainder need not be the starting remainder. For 1/6, the first step is 10 ÷ 6 = 1 with remainder 4. Next, 40 ÷ 6 = 6 with remainder 4.

Remainder 4 has returned, so every following digit is 6: 1/6 = 0.1(6).

1/6: A Prefix, Then A Cycle

1 → 4 → 4 → … gives 0.1(6). The digit 1 is not part of the repeating block.

3/8: A Zero Remainder

3 → 6 → 4 → 0 gives digits 3, 7, 5, so 3/8 = 0.375 and stops.

A bar is another way to identify repeating digits. In 0.16, only the 6 is under the bar. A calculator that displays 0.166667 has rounded the value; it has not changed the exact repeating decimal. OpenStax explains repeating-bar notation.

How Does The Denominator Predict The Outcome?

The remainder table explains the process; prime factors provide a quicker prediction. First reduce the fraction. Since every power of 10 contains only factors 2 and 5, a reduced denominator made from those factors can be turned into 10, 100, 1,000, or another power of 10.

Its decimal ends.

For example, 8 = 2³, so 3/8 = 375/1000 = 0.375. But 7 contains a prime factor that no power of 10 contains. The division for 1/7 cannot reach remainder zero, and its finite set of nonzero remainders must cycle.

The same test applies to negative fractions after ignoring the sign. LibreTexts gives the lowest-terms factor test.

Reduce First: 6/15 = 2/5 = 0.4. Testing the original denominator 15 would give the wrong prediction because its factor 3 cancels.

Can The Denominator Predict How Many Decimal Places Are Needed?

For a reduced fraction whose denominator is 2 raised to power p times 5 raised to power q, the shortest terminating decimal needs the larger of p and q decimal places. This count comes from making the denominator a power of 10.

For 3/40, the denominator is 2³ × 5. Three decimal places are enough because multiplying 40 by 25 gives 1,000. The fraction becomes 75/1,000 = 0.075.

For 7/125, the denominator is 5³. Multiplying by 8 gives 1,000, so the decimal is 56/1,000 = 0.056. Both examples need three places despite having different denominators.

Reduction matters here too. The fraction 25/100 becomes 1/4, whose denominator is 2². Its shortest decimal is 0.25, even though you could write the same value as 0.2500.

Inspect The Reduced DenominatorReduce first, then inspect the denominator’s prime factors. Only twos and fives give a terminating decimal. Any other prime factor gives an eventually repeating decimal.Reduce the fraction firstInspect denominator factorsOnly 2s and 5sTerminating decimalAnother prime factor remainsEventually repeating decimal
A denominator of 1 represents an integer, which terminates without fractional decimal places.

Can A Finite Calculator Display Prove That A Decimal Terminates?

No. A screen can show only a limited number of digits. The display 0.333333 may be a shortened representation of 1/3 rather than the exact terminating fraction 333333/1000000.

Those values are different. Multiplying the displayed finite decimal by 3 gives 0.999999, while multiplying 1/3 by 3 gives exactly 1. Keep the fraction or marked repeating block when exactness matters.

A display ending in zeros can also hide precision choices. To classify a fraction’s exact decimal, inspect its reduced denominator or follow remainders. The number of digits a calculator chooses to show is not the mathematical test.

Do All Infinite Decimals Repeat?

No. Fractions of integers are rational numbers, and their decimal expansions terminate or eventually repeat. An infinite decimal that never settles into a repeating block is irrational.

Numbers such as √2 and π are irrational. Their nonrepeating behavior is different from the fixed six-digit cycle of 1/7. An unfamiliar pattern on a short calculator display is not enough to prove irrationality.

A long repeating block can look irregular until enough digits are available. The remainder argument supplies a proof for rational inputs without requiring you to inspect an endless digit string. Use exact information about the number rather than visual guesswork.

Why Can A Terminating Decimal Also Have A Repeating-Nine Form?

A terminating decimal has an alternative exact representation ending in infinitely many nines. For example, 0.5 equals 0.4999… where the nines continue forever. This does not mean the two values are merely close.

The difference between 0.5 and 0.4 followed by n nines is 10^(−n)/10. That difference approaches zero as n grows without bound. The infinite decimal is the limit, so it equals 0.5.

The denominator test asks whether a terminating representation exists. A rational number whose reduced denominator uses only 2s and 5s meets that test even though its alternate nine-ending representation repeats. Use the terminating form for the classification in this article.

FAQs About Terminating And Repeating Decimals

Does An Improper Fraction Follow The Same Test?

Yes. The whole-number part does not change the denominator’s prime factors. For example, 7/4 = 1.75 terminates, while 7/3 = 2.(3) repeats.

Does A Negative Sign Change The Pattern?

No. The sign changes the value’s direction, not the division pattern of its magnitude. Thus −3/8 terminates as −0.375, while −1/7 has the same repeating block as 1/7.

What Happens When The Numerator Is Zero?

With a nonzero denominator, the fraction equals zero and terminates. Reduce 0/d to 0/1 before applying the denominator test. A zero denominator is undefined and cannot be classified by this rule.

Try The Remainder Method Yourself

For 1/11, start with remainder 1. What digits and remainders appear before a remainder returns? Then try 1/12 and look for a nonrepeating prefix.

Show the Worked Answers

1/11: 10 ÷ 11 gives digit 0, remainder 10; 100 ÷ 11 gives digit 9, remainder 1. So 1/11 = 0.(09).

1/12: remainders 1 → 10 → 4 → 4 produce digits 0, 8, 3, 3, …. Thus 1/12 = 0.08(3); the prefix is 08 and the repeating digit is 3.

Check The Decimal, Then Trace The Cause

The converter shows the exact decimal pattern. Use the reduced denominator and the remainder method above to explain that pattern yourself.