Terminating Decimals Calculator
Our terminating decimal calculator will teach you how to find the decimal representation of a number, detect the possible presence of repeating decimals, and much more. Keep reading to find out:
- What is a terminating decimal;
- What are repeating decimals;
- How to calculate the decimal representation of a fraction;
- When you should stop calculating the repeating decimals in a representation;
- How to convert from repeating decimals to fractions; and more.
Additionally, we have prepared several examples of all the math explained in the text.
We promise it will be interesting (and surprisingly easy!). What are you waiting for?
Decimal representations: what is a terminating decimal and a repeating decimal
The number of numbers is quite big: even natural numbers are infinite, and they are actually the smallest infinite set in math! This number only grows when we deal with real numbers. Real numbers allow for infinitely small variations (compare them to integers, where the smallest variation is : ). Between two adjacent integers, we can find infinitely many real numbers: this is when we need to introduce the decimal representation of a number:
Before the decimal separator, we meet the integer part. After the separator, we meet the decimal part.
Among real numbers, we can identify two subsets:
- Rational numbers; and
- Irrational numbers.
The difference between the two types is that the format can be represented as a ratio between two integers, while the latter cannot. Let's see a couple of examples to make things clear:
are rational numbers. On the other hand, Pi and the square roots of are irrational numbers:
These numbers have an infinite amount of digits. Is this the condition that numbers have to satisfy to be irrational? No! In fact, we can find rational numbers with infinitely many digits:
Without going too deep, we can see the difference immediately: in a rational number with an infinite number of digits, we are forced to find a repeating pattern. In the example above, the digit repeats an infinite number of times.
🙋 To write (or store) the decimal representation of an irrational number, you need an infinite amount of information. Conversely, a rational number, even with infinite decimal representation, can be "transmitted" in the finite message, for example, "one point three repeated infinite times".
How to calculate terminating decimals and repeating decimals
To calculate the terminating decimals and repeating decimals from a fraction, you must calculate the decimal representation of the result of the fraction. To do so, we will use the long division procedure. We talked in detail about it in our long division calculator!
Let's get started. Take a fraction — any fraction. Above the line, we find the numerator, below the denominator. These two quantities correspond to the dividend and divisor:
🙋 If you need the result of such division directly, you can visit our fraction to decimal converter: specify the number of decimal digits, and let us do the math; in the terminating decimals calculator, you will learn how to calculate all the decimals!
To compute the decimal representation, perform these steps:
Check if the first digit of the dividend contains the divisor.
If it does, write down the result of the integer division, and keep the remainder of the division in mind.
If not, write down or keep an empty position at the beginning of the result. Note the remainder.
"Copy" the remainder in front of the next digit of the dividend: you will obtain a number with, possibly, multiple digits. Worry not!
Compute the integer division between the number obtained in the previous step and the divisor. Note the result, and save the remainder.
Repeat the last two steps until you find one of the following two situations:
- The dividend is : you've found a terminating decimal; or
- You've already met the dividend (after the decimal separator): you've found a repeating decimal.
Let's follow the steps of the long division with an example. Take as dividend and as divisor. Write them down like this:
Consider the first digit of the dividend:
will become the first digit of our result, while we carry to the next digit. If the operations are too tricky, you can use our remainder calculator. We then perform the division between the number obtained by carrying and the divisor:
Update the result and append the decimal separator: . Now carry over that , and proceed with the divisions:
Update the result: and proceed.
Wait a minute! We've already computed this division: the result is , with remainder . This would throw us in a repeating pattern with the following digits: . As you can see, the we've found at the beginning of the decimal representation doesn't make it in the repeating pattern!
We can stop our calculations for the repeating decimal part here. The result of the division of by is:
We can write the same result in a more succinct way, highlighting the repeating sequence:
We calculated the non-periodic part as , and we calculated the repeating decimals as . is the result of the integer division.
🙋 Fun fact: the number of digits in the repeating pattern can't be greater than the divisor (after you make it an integer by multiplying by the appropriate power of ).
Why? Because all the possible remainders are contained in the sequence going from to the divisor, then repeating. In the limited case of meeting all those digits, you will necessarily find a remainder you've already met!
Calculate from repeating decimals to fraction
Now that you know how to calculate the terminating decimals and the repeating decimals from a fraction, we can teach you how to do the opposite and calculate from the repeating decimals to the fraction that generated that result. We can identify three cases:
- Result with terminating decimals (only non-periodic part);
- Result with only repeating decimals; and
- Mixed result (both non-periodic and periodic parts).
The first case is the easiest to analyze. To find the generating fraction:
- Make the result integer by multiplying by the appropriate power of . E.g., (We multiply by because there are decimal places). This will be the numerator of the fraction.
- The power of that you used in the previous step () will be the denominator of the fraction.
- Find the greatest common divisor of the two results, and divide them both by this quantity.
The result is the most reduced fraction that gives you the original decimal representation.
The calculations become slightly more complex in the presence of repeating decimals. Consider the real number . Divide the integer and the decimal part:
Consider only the decimal part, and call it . Multiply it by the power of with exponent equal to the length of the repeating decimal part:
Now subtract the first number from the second one:
Hence, we can write as:
Now think again when we split the original number: . Substitute with the last result we've found, and sum the integer part and the fraction. You can use our adding fractions calculator if you don't want to spend time with the math!
What happens if there is a non-periodic part preceding the repeating decimals? You can add a simple step and reduce the problem to a mixture of the ones we've already met. Consider the number . We want to separate a strictly periodic and a terminating part. To do so, copy backward (from right to left) the digits of the periodic part over the digits of the non-periodic part (in the same right-to-left fashion) and create a periodic decimal number with the same digits of the period of the original one, but (possibly) a different starting point.
🙋 Did you see how we replaced the non-periodic part? We started from the last digit of the period (); we then copied the second-to-last digit (). We changed the periodic part from to .
Notice how the digits of the periodic part are the same, even though we changed the starting point: is the decimal we will use to compute the fraction. To find the terminating decimal, subtract the original number and the last result:
Let's find the fractions corresponding to both numbers. For the terminating decimal we have:
For the repeating decimals, we have:
We can write the original number as the sum of these two fractions:
Not the best-looking fraction, but the right one, nevertheless!
🙋 Use our decimal to fraction calculator to see all the passages we explained above!
Another example of terminating decimals and repeating decimals calculations
Let's try again to find the repeating and terminating decimals in an example. Take as numerator, and as denominator. Set up the division, and begin.
We've already met the remainder at the fourth step of our calculations: this means that starting from the fourth reaching up to the last step, we've found our set of repeating digits. We can stop computing divisions and write down our result as:
What are the repeating decimals in a number?
The repeating decimals (or recurring decimals) in a number are a set of digits that repeat cyclically in the decimal part of a real number. Real numbers with repeating decimals are always rational; thus, we can express them with the ratio of two integers. For example:
- 10/3 = 3.333333... = 3.3;
- 131/88 = 1.4863636363... = 1.48 63; and
- 4679/1665 = 2.8102102... = 2.8 102.
How do I calculate the repeating decimals from a fraction?
To calculate the repeating decimals from a fraction, follow these easy steps:
Divide the first digit of the numerator by the denominator; note the quotient and memorize the remainder.
Prepend the remainder to the next digit, and perform the division by the denominator again.
Note the decimal separator when you meet it.
Repeat steps 1 and 2 until:
- The new divisor is a number you've already met in the previous divisions; or
- The remainder of the division is 0.
The digits between the first and second occurrence of the remainder repeat in the decimal part of the result.