How it works
Divide the numerator by the denominator. If a remainder repeats during long division, the digits from that point repeat forever; the line over digits marks the repeating block.
a/b terminates if b (in lowest terms) has no prime factors other than 2 and 5
So 5/8 = 0.625 terminates (8 = 2³), while 5/12 = 0.41666… repeats (12 = 2² × 3).
Worked example
5/8: 5 ÷ 8 = 0.625. 1/3 = 0.333… (3 repeats). 1/7 = 0.142857142857… (a 6-digit repeating block). 5/12 = 0.41666… (6 repeats after 0.41). 22/7 = 3.142857142857…, close to π but not equal to it.
Halves to sixteenths as decimals
Halves, quarters, eighths and sixteenths all give terminating decimals, because their denominators are powers of 2. They come up all the time in inch measurements:
| Fraction | Decimal | Fraction | Decimal |
|---|---|---|---|
| 1/2 | 0.5 | 1/16 | 0.0625 |
| 1/4 | 0.25 | 3/16 | 0.1875 |
| 3/4 | 0.75 | 5/16 | 0.3125 |
| 1/8 | 0.125 | 7/16 | 0.4375 |
| 3/8 | 0.375 | 9/16 | 0.5625 |
| 5/8 | 0.625 | 11/16 | 0.6875 |
| 7/8 | 0.875 | 13/16 | 0.8125 |
| 15/16 | 0.9375 |
So 3/8 inch is 0.375 inch. It is less than half an inch, because 1/2 = 4/8 = 0.5.
What is a terminating decimal?
A decimal that stops after a fixed number of digits, such as 0.375 or 0.4375. Always reduce the fraction before you apply the 2s and 5s rule. 6/15 looks like it should repeat, because 15 = 3 × 5. But 6/15 = 2/5 = 0.4, which terminates. The calculator reduces first: for 6/15 its second step says the denominator in lowest terms is 5.
Mixed numbers
This page has no box for a whole number. Turn a mixed number into an improper fraction first: 2 3/4 = (2 × 4 + 3)/4 = 11/4. Enter 11 and 4 to get 2.75. You can also convert only the fraction part, 3/4 = 0.75, and add the 2.
For a negative mixed number the minus sign covers the whole thing: −2 3/4 = −11/4 = −2.75. Working it out as −2 + 3/4 gives −1.25, which is wrong.
Long repeating blocks
2/7 = 0.285714285714… and 1/13 = 0.076923076923… both have 6-digit blocks. Some blocks are far longer. Try 1/97: the result shows the first 60 digits of the block under the line, followed by “…”, and the line below it gives the block’s full length in digits.
Going back, and rounding
0.9333…, with the 3 repeating, is 14/15. A decimal that stops at 0.93333 is a different number: 93333/100000. The decimal to fraction calculator accepts repeating digits in brackets, so type 0.9(3).
If you need a rounded answer, round the repeating decimal; don’t just cut it off. 2/3 = 0.666… is 0.67 to 2 decimal places, not 0.66. The rounding calculator does this for any number of places.
Common mistakes
- Dividing the wrong way round. 3/8 is 3 ÷ 8 = 0.375, not 8 ÷ 3.
- Writing 0.666 for 2/3. Show the repeat with a line or three dots, or round it.
- Applying the 2s and 5s rule before reducing the fraction.
On a Casio fx-991CW, the FORMAT menu switches an answer between a fraction (Standard) and a decimal.
Tips
- Every fraction gives either a terminating or a repeating decimal; only irrational numbers such as π never repeat.
- The repeating block of 1/n is never longer than n − 1 digits.
- To go back from a decimal to a fraction, use the decimal to fraction calculator.
- Brackets such as 0.1(6) are only a way to type or show repeating digits. In science, digits in brackets after a number usually give its uncertainty (1.1(6) can mean 1.1 ± 0.6), so when writing by hand, put a bar over the repeating digits.
Questions
What is 1/3 as a decimal?
0.333…, with the 3 repeating forever. It is often written with a line over the 3.
Why do some fractions repeat?
When the denominator (in lowest terms) has a prime factor other than 2 or 5, the long division never ends, and the remainders, and so the digits, start to repeat.
What is 5/8 as a decimal?
0.625 exactly.
Is 22/7 equal to π?
No. 22/7 = 3.142857142857… while π = 3.141592653…; they differ from the third decimal place.
How do you convert 3/8 to a decimal?
Divide the numerator by the denominator: 3 ÷ 8 = 0.375. It terminates because 8 = 2³, so 3/8 inch is exactly 0.375 inch.
Is 3/8 the same as 1/2?
No. 1/2 = 4/8 = 0.5, while 3/8 = 0.375. So 3/8 is one eighth less than a half.
What is a terminating decimal?
A decimal that ends after a fixed number of digits, such as 0.25 or 0.4375. A fraction in lowest terms terminates when its denominator has no prime factors other than 2 and 5.
How do you write 0.9333… as a fraction?
With the 3 repeating, 0.9333… = 14/15. Check it: 14 ÷ 15 = 0.9333…. If the decimal really stops at 0.93333, it is 93333/100000.
Sources
- The International System of Units (SI Brochure), 9th edition (2019), version 4.01, BIPM. §5.4.5 (p. 145): digits in parentheses after a number give its standard uncertainty. Checked 22 November 2026.
- Casio fx-570CW / fx-991CW user’s guide (online manual): Standard and Decimal Conversion. FORMAT menu: converting a result between Standard (fraction) and Decimal. Checked 22 November 2026.