Category

Terminating Decimals Calculator — Terminating vs Repeating Decimal Representation

Find the decimal representation of any fraction and instantly see whether it is a terminating or repeating decimal. Shows the repeating block, period length, denominator prime factorization, US imperial and metric units, and 20 world currencies including USD and RUB.

0 calculations

Parameters

Enter your fraction above

Fill in the numerator and denominator, then click Calculate.

How to Use the Terminating Decimals Calculator

Our terminating decimal calculator teaches you how to find the decimal representation of a number, detect the possible presence of repeating decimals, and much more. Enter any fraction and the tool instantly tells you whether it terminates or repeats, marks the repeating block, and shows the full step-by-step reasoning.

  1. Enter the numerator — the top number of the fraction (it may be negative).
  2. Enter the denominator — the bottom number (it cannot be zero).
  3. Choose the rounding precision used for the approximate value (2, 4, 6, 8, or 10 decimal places).
  4. Optionally apply the value to a real quantity — pick a currency (USD, RUB, EUR …), a metric unit (m, kg, L …), or a US customary unit (in, ft, lb …).
  5. Read the decimal representation, the terminating / repeating verdict, the repeating block, the denominator's prime factorization, and the explanation.

Decimal representations: what is a terminating decimal and a repeating decimal

Real numbers allow for infinitely small variations. Between two adjacent integers we can find infinitely many real numbers, and to write them we use the decimal representation of a number, for example 14.9138362171…

Before the decimal separator we meet the integer part. After the separator we meet the decimal (fractional) part.

Among the real numbers we can identify two subsets:

  • Rational numbers — those that can be written as a ratio of two integers, such as 12/15 = 0.8;
  • Irrational numbers — those that cannot, such as π = 3.14159… or √2 = 1.41421….

Every rational number has a decimal representation that is either terminating (a finite number of digits) or repeating (a block of digits that repeats forever). It can never do both, and it can never be random the way an irrational number is.

  • A terminating decimal stops after finitely many digits — for example 1/8 = 0.125.
  • A repeating decimal has one or more digits (the repetend) that repeat endlessly — for example 1/3 = 0.333… or 1/6 = 0.1666….

How to calculate terminating decimals and repeating decimals

The fastest way to know in advance whether a fraction terminates is to look at the prime factors of its denominator after the fraction has been simplified:

  • If the denominator's only prime factors are 2 and/or 5, the decimal terminates.
  • If the denominator has any other prime factor (3, 7, 11 …), the decimal repeats.

Why 2 and 5? Because our decimal system is base 10, and 10 = 2 × 5. A fraction terminates exactly when it can be rewritten with a denominator that is a power of 10.

FractionDenominator factorsResult
1/42²0.25 — terminates
1/82³0.125 — terminates
7/202² × 50.35 — terminates
1/330.3 — repeats
1/62 × 30.16 — repeats
1/770.142857 — repeats

To actually produce the digits, divide the numerator by the denominator using long division. Keep track of the remainders: when a remainder becomes 0, the decimal terminates; when a remainder repeats, everything between the two identical remainders is the repeating block, and you can stop. That is exactly what this calculator does internally, so it always finds the exact repetend rather than a rounded approximation.

Calculate from repeating decimals to fraction

You can also go the other way — turn a repeating decimal back into an exact fraction. The trick is to multiply by a power of 10 so the repeating parts line up, then subtract.

Example: convert 0.6 (that is 0.666…) to a fraction.

  1. Let x = 0.666….
  2. Multiply by 10: 10x = 6.666….
  3. Subtract the first equation: 10x − x = 6.666… − 0.666…, so 9x = 6.
  4. Therefore x = 6/9 = 2/3.

Example with a non-repeating prefix: convert 0.416 (0.41666…).

  1. The repeating block has length 1 and there are 2 non-repeating digits, so multiply by 10³ and 10².
  2. 1000x = 416.666… and 100x = 41.666….
  3. Subtract: 900x = 375, so x = 375/900 = 5/12.

Another example of terminating decimals and repeating decimals calculations

7/8 (terminating). Long division: 7 ÷ 8 → 0.875, remainder 0. Denominator 8 = 2³, only the factor 2, so the decimal terminates after 3 digits.

5/12 (repeating). Simplify: 5/12 is already in lowest terms. Denominator 12 = 2² × 3 — the factor 3 forces repetition. Long division gives 0.416: the "41" is the non-repeating part and "6" repeats forever (period 1).

When should you stop calculating the repeating decimals?

You stop the long division as soon as a remainder repeats — at that point the digits will simply cycle again. For everyday use you can also round the repeating decimal to a chosen number of places (this calculator lets you round to 2–10), but remember that the rounded value is only an approximation of the exact fraction.

Real-World Applications

  • US measurements: hardware sizes such as 3/8" or 7/16" convert to clean terminating decimals (0.375", 0.4375"), which is why inch fractions are so common.
  • Metric system: expressing fractions of meters, liters, or kilograms as decimals keeps precision consistent.
  • Finance & currencies: a 1/3 share of $100 (RUB 9 000, EUR 92 …) is a repeating decimal 33.3, which is why money is rounded to two decimals — the exact value never terminates.
  • Probability & statistics: odds like 1/6 or 2/7 are repeating decimals; knowing the exact fraction avoids rounding errors.

FAQs

What is a terminating decimal?

A terminating decimal is a decimal number with a finite number of digits after the decimal point, such as 0.5, 0.125, or 0.35. A fraction gives a terminating decimal when its simplified denominator's only prime factors are 2 and 5.

What are repeating decimals?

Repeating (or recurring) decimals have a block of one or more digits that repeats forever, such as 0.333… or 0.142857142857…. We mark the repeating block with a bar over it, e.g. 0.3.

Is 0.999… equal to 1?

Yes. Using the repeating-decimal-to-fraction method: let x = 0.999…, then 10x = 9.999…, so 9x = 9 and x = 1. The two notations represent exactly the same number.

Can an irrational number be a terminating or repeating decimal?

No. Terminating and repeating decimals are always rational (they can be written as a fraction). Irrational numbers like π and √2 have decimal expansions that neither terminate nor repeat.

How do I know the length of the repeating block?

Perform the long division and watch the remainders. The period equals the number of steps between the first appearance of a remainder and its repeat. This calculator reports the period length for you automatically.

Calculation History

Loading...