Terminating Decimals
Check if a fraction produces a terminating or repeating decimal for free. See the decimal expansion, non-repeating digits, repeating part, and period length.
About This Calculator
The Terminating Decimals Calculator helps students, teachers, and math enthusiasts determine whether any fraction produces a terminating decimal (one that ends after a finite number of digits) or a repeating decimal (one that has an infinitely repeating pattern). Understanding terminating versus repeating decimals is a fundamental concept in number theory and arithmetic often taught in middle school and high school math curricula.
A fraction a/b in lowest terms produces a terminating decimal if and only if the denominator has no prime factors other than 2 and 5. For example, 3/8 = 0.375 terminates because 8 = 2^3, while 5/6 = 0.8333... repeats because 6 = 2 x 3. The calculator uses the long division algorithm: it divides the numerator by the denominator digit by digit while tracking remainders. If a remainder repeats, the decimal has a repeating pattern at that position. If a remainder of zero is reached, the decimal terminates.
How It Works
The calculator first reduces the fraction to lowest terms using the greatest common divisor (GCD). Then it performs simulated long division, recording each remainder. When a remainder appears for the second time, the digits between its two appearances form the repeating block. The result shows the integer part, any non-repeating decimal digits, the repeating block (if any), and the period length.
Regional Notes
India (IN): Terminating and repeating decimals are covered in the CBSE Class 9 and 10 mathematics curriculum under Number Systems. Students learn to identify terminating decimals by prime factorizing the denominator after reducing the fraction.
United States (US): The Common Core State Standards for Mathematics (8.NS.1) require students to understand that every rational number has a decimal expansion that either terminates or repeats. The concept appears in Grade 8 and Algebra I curricula.
United Kingdom (UK): The GCSE Mathematics curriculum requires students to convert between fractions and decimals, identify terminating and recurring decimals, and use recurring decimal notation (dot notation or bar notation).
Frequently Asked Questions
What is a terminating decimal?
A terminating decimal is a decimal number that ends after a finite number of digits. For example, 1/4 = 0.25 has exactly two decimal places and terminates. A fraction produces a terminating decimal when its denominator, reduced to lowest terms, has only the prime factors 2 and 5.
What is a repeating decimal?
A repeating decimal has one or more digits that repeat infinitely. For example, 1/3 = 0.3333... where the digit 3 repeats forever. Repeating decimals occur when the reduced denominator has prime factors other than 2 and 5, such as 3, 7, 11, or 13.
How do I know if a fraction will terminate?
Reduce the fraction to its lowest terms by dividing numerator and denominator by their greatest common divisor (GCD). If the reduced denominator's only prime factors are 2 and 5, the decimal terminates. For example, 7/8 terminates because 8 = 2^3, while 5/6 repeats because 6 = 2 x 3.
How is the decimal expansion calculated?
The calculator performs long division: divide the numerator by the denominator digit by digit, tracking remainders at each step. If a remainder repeats, the decimal has a repeating pattern starting at that position. If the remainder reaches zero, the decimal terminates.
What does the repeating part length tell me?
The period length is the number of digits in the repeating cycle. For 1/7 = 0.142857142857..., the period is 6 digits (142857). The maximum possible period for a denominator d is d-1, which occurs for full reptend primes like 7, 17, and 19.
Can every rational number be written as a terminating or repeating decimal?
Yes, every rational number (a fraction of two integers) has a decimal representation that either terminates or eventually repeats. This is because the long division process only has d possible remainders (0 through d-1), so after at most d steps, a remainder must repeat or the division ends.
What is the difference between a rational and irrational decimal?
Rational decimals either terminate or repeat, while irrational decimals never terminate and never repeat. Pi = 3.14159... and sqrt2 = 1.41421... are irrational -- their decimal expansions go on forever with no repeating pattern, and they cannot be expressed as a fraction of two integers.
Is this calculator really free?
Yes, all calculators on Calculy are completely free to use with no registration or hidden fees. You can also share your calculation results with others via the share button.