Converting Decimals to Fractions: Repeating Decimal Examples
Updated: October 31, 2026 · AracMerkezi
▶ Open Decimal, Fraction and Percent Converter
Converting a decimal to a fraction means turning the digits after the decimal point into a fraction whose denominator is a power of 10 and then simplifying it. For terminating decimals (such as 0.75) the process is very simple; for repeating decimals (such as 0.333…) you need a small algebra trick. In this guide we solve both cases with worked examples, and also explain the conversion from fractions back to decimals and the link with percentages. For a quick result you can use the Decimal, Fraction and Percent Converter; the tool lets you write the repeating part in parentheses (for example 0,(3)).
Converting a terminating decimal to a fraction
The steps:
- Count how many digits there are after the decimal point (k).
- Write the number without the decimal point, and use 10^k (a 1 followed by k zeros) as the denominator.
- Simplify the numerator and denominator by dividing by the GCD.
Example 1: 0.75. There are two digits: 75/100. Since GCD(75, 100) = 25, the result is 3/4.
Example 2: 2.125. There are three digits: 2125/1000. The GCD is 125: 2125 ÷ 125 = 17 and 1000 ÷ 125 = 8. The result is 17/8, that is, 2 1/8.
Example 3: 0.06. 6/100 = 3/50. Leading zeros are not carried into the numerator; only the denominator gets bigger.
Example 4: −2.5. 25/10 = 5/2 and the sign is kept: −5/2.
Converting a repeating decimal to a fraction
In a repeating decimal, one or more digits repeat forever. The repeating part is shown in parentheses: 0.333… = 0.(3).
### Fully repeating: 0.(3) and 0.(27)
The algebraic way: let x = 0.(3). Then 10x = 3.(3). Subtract the two: 10x − x = 3 → 9x = 3 → x = 1/3.
Short rule: make the repeating block the numerator, and write as many 9s in the denominator as the block is long.
- 0.(3) = 3/9 = 1/3
- 0.(27) = 27/99 = 3/11
- 0.(142857) = 142857/999999 = 1/7
### Mixed repeating: 0.1(6) and 1.2(45)
If there are non-repeating digits between the decimal point and the repeating block, the rule is: (all the digits) − (the non-repeating digits) over as many 9s as the repeating block, followed by as many 0s as there are non-repeating digits.
- 0.1(6): (16 − 1)/90 = 15/90 = 1/6.
- 1.2(45): (1245 − 12)/990 = 1233/990. GCD 9 → 137/110.
Check with algebra: for x = 0.1(6), 10x = 1.(6) and 100x = 16.(6). Subtract the two: 90x = 15 → x = 1/6.
### A curious case: 0.(9) = 1
For x = 0.(9), 10x − x = 9 → 9x = 9 → x = 1. So 0.999… equals 1; not approximately, but exactly. The tool also shows this input as 1.
Why the repeating rule works
The nines in the repeating rule are numbers that are 1 less than a power of 10: 10 − 1 = 9, 100 − 1 = 99, 1000 − 1 = 999. If the block has r digits, when you multiply the number by 10^r and subtract the original, the infinite tail disappears and a whole number is left. That is why the denominator is always something like 9, 99 or 999, and simplifying follows. If there are non-repeating digits, the same trick is applied twice, which adds zeros at the end of the denominator.
Converting a fraction to a decimal
Simply divide the numerator by the denominator. The division either ends (a terminating decimal) or the remainders repeat (a repeating decimal).
Rule: If, after the fraction is simplified, the prime factors of the denominator are only 2 and 5, the decimal terminates; if there is any other prime factor, it repeats.
| Fraction | Decimal | Type |
|---|---|---|
| 1/2 | 0.5 | Terminating |
| 1/3 | 0.(3) | Repeating |
| 1/4 | 0.25 | Terminating |
| 1/5 | 0.2 | Terminating |
| 1/6 | 0.1(6) | Repeating |
| 1/8 | 0.125 | Terminating |
| 1/9 | 0.(1) | Repeating |
| 1/11 | 0.(09) | Repeating |
| 1/12 | 0.08(3) | Repeating |
Example: 3/8 gives 3 ÷ 8 = 0.375. Since the denominator 8 = 2³, a terminating result is expected. Example: 1/7 gives 0.142857 142857… in long division; the period is 6 digits, because for fractions with a denominator of 7 a block can have at most 6 digits.
The link with percentages
A percentage is a fraction with a denominator of 100. To convert a decimal to a percentage, multiply by 100: 0.75 = 75%. To convert a percentage to a fraction, divide by 100 and simplify: 12.5% = 12.5/100 = 125/1000 = 1/8. For more percentage calculations, see the Percentage Calculator and the guide on how to calculate percentages.
Short practice problems
Try the following conversions yourself first, then check them with the tool. The number 0.4 is written as 4/10 and simplifies to 2/5. The number 0.125 is written as 125/1000 and, with a GCD of 125, becomes 1/8. The number 3.6 is 36/10, that is, 18/5, and as a mixed number 3 3/5. The number 0.(6) is 6/9, that is, 2/3. The number 0.8(3) is (83 − 8)/90 = 75/90, that is, 5/6. In reverse, if you divide 5/16 you get 0.3125; since the denominator 16 = 2⁴, the result terminates. 5/6, on the other hand, gives 0.8(3), because the denominator has a factor of 3. Each time, as a last step, convert the result back and check it; for example, seeing by division that 2/5 = 0.4 catches a mistake immediately.
Step-by-step summary list
- For a terminating decimal: write it over a denominator with as many zeros as there are digits, then simplify.
- For a repeating decimal: use as many 9s as the block length and as many 0s as there are non-repeating digits.
- Simplify the result with the GCD.
- Check: divide the numerator by the denominator and get back the original number.
Common mistakes
- Thinking 0.333 and 0.(3) are the same: 0.333 = 333/1000 while 0.(3) = 1/3; the difference is small but they are not equal.
- Carrying the leading zero incorrectly: 0.05 = 5/100 = 1/20, not 5/10.
- Skipping simplification: 75/100 is a correct but incomplete answer.
- Using a power of 10 instead of 9s for a repeating number: For 0.(3) you use 3/9, not 3/10.
- Forgetting the sign: The fraction of a negative decimal is also negative.
- Treating a rounded decimal as an exact number: Seeing 0.3333333 on a calculator does not mean it is 1/3; keep the fraction when you can.
Note on currency of information
The conversion rules are mathematical and do not change. This guide was prepared on October 31, 2026. In engineering and finance work that needs exact results, check the rounding yourself.
Summary
Terminating decimal: write it over a denominator with as many zeros as digits and simplify (0.75 = 3/4, 2.125 = 17/8). Repeating decimal: use as many 9s as the block length (0.(3) = 1/3, 0.1(6) = 1/6, 1.2(45) = 137/110). Go from fraction to decimal by dividing; if the denominator has only 2s and 5s, the result terminates. To see all of this automatically, use the Decimal, Fraction and Percent Converter.
Frequently asked questions
How do you convert a decimal to a fraction?
Write it over a denominator with as many zeros as there are digits after the decimal point, then simplify. 0.75 = 75/100 = 3/4 and 2.125 = 2125/1000 = 17/8.
How do you convert a repeating decimal to a fraction?
The repeating block becomes the numerator, and the denominator gets as many 9s as the block is long. 0.(3) = 3/9 = 1/3 and 0.(27) = 27/99 = 3/11. If there are non-repeating digits, as many zeros are added to the denominator: 0.1(6) = 15/90 = 1/6.
Is 0.999... equal to 1?
Yes. For x = 0.(9), 10x − x = 9 and x = 1. So 0.(9) is not approximately but exactly equal to 1.
Tools mentioned in this guide
More guides
- How to Add, Subtract, Multiply and Divide Fractions – How do you work with fractions? Rules for adding, subtracting, multiplying and dividing fractions, with common denominators, mixed numbers and simplifying.
- Simplifying Fractions: GCD and Mixed Number Examples – How do you simplify a fraction? Methods for finding the GCD, converting improper fractions to mixed numbers, comparing fractions, and common mistakes.
- Fraction, Decimal, Percent Conversion: Everyday Examples – How are fraction, decimal and percent conversions used in daily life? Examples with discounts, exam scores, recipes and time, plus common mistakes.
- What Percent Is 1/2, 1/3, 3/4? Fraction-Decimal-Percent Table – What percent is 1/2, 1/3 or 3/4? Ready fraction, decimal and percent table from 1/2 to 1/20, repeating decimal notation, rounding and common mistakes.
- How to Find GCD and LCM: Prime Factors, the Euclidean Method and Solved Problems – How do you find the GCD (greatest common divisor) and LCM (least common multiple)? Prime factors and Euclid, three numbers, tile and bus problems.
Important note: Results are estimates based on published coefficients and guides and do not replace official results. For exact information, rely on announcements from ÖSYM, MEB, YÖK or your school.
This article is for general information only and is not legal, financial or medical advice. We are not an official institution.