Decimal to Fraction Converter: Repeating Decimals Too
Last updated: · 3 min read
A decimal like 0.5 is easy to read as a half, but endless repeating decimals such as 0.333… only show their exact value once they are written as fractions. This guide explains how a terminating decimal becomes a fraction with a power of ten as its denominator, and how a repeating decimal is converted with simple algebra. It walks through how the tool gets 3/8 from 0.375 and 5/6 from 0.8(3).
Formula
Terminating: 0.d1d2…dk = (d1d2…dk) ÷ 10^k Repeating 0.a(b): (combined digits ab − a) ÷ (10^(digits of a) × (10^(digits of b) − 1)) Then numerator and denominator are simplified by their GCD
Each digit of a terminating decimal is a tenth, hundredth and so on: 0.375 = 375/1000, which simplifies to 3/8. The repeating part is removed by multiplying by a power of ten and subtracting: for x = 0.333…, 10x − x = 3, so x = 3/9 = 1/3. The percentage is the fraction multiplied by 100.
What the inputs mean
- Decimal number (0.(3) for repeating)
- A point or a comma is accepted as the decimal separator. Put the repeating part in brackets: 0.(3) = 0.333…; 0.8(3) = 0.8333…. Negative values can be converted too.
Worked example: Converting 0.375 and 0.8(3)
- 0.375 = 375/1000. The GCD of 375 and 1000 is 125; 375 ÷ 125 = 3 and 1000 ÷ 125 = 8.
- The result is 3/8; the percentage is 3/8 × 100 = 37.5%.
- For 0.8(3) the fixed part is 8 and the repeating part is 3: (83 − 8) ÷ (10 × 9) = 75/90.
- 75/90 simplifies by dividing by 15 to 5/6; the percentage is 83.(3)%.
Result: 0.375 = 3/8 (37.5%) and 0.8(3) = 5/6 (83.(3)%). Repeating decimals can only be written exactly this way; a shortened 0.83 carries a small error.
🔢 Decimal to Fraction Converter
Free, no sign-up; your data stays in your browser.
Open the calculator →How to read the result
Decimals from measuring instruments are usually terminating and convert to fractions easily. A rounded decimal such as 0.33 is not an exact fraction; if the exact value is known as a repeating decimal, enter that form. Calculators sometimes round, so verify with the fraction when precision matters. This is general information.
Common mistakes
- Treating 0.33 as 1/3 without the repeating part; 0.33 = 33/100, not 1/3.
- Miscounting the digits of a terminating decimal: 0.5 = 5/10 = 1/2, not 5/100.
- Putting the bracket in the wrong place: 0.8(3) and 0.(83) are different numbers.
- Confusing a percentage with a decimal: 37.5% means 0.375, not 37.5.
- Treating a rounded decimal as exact; 0.6667 is only close to 2/3, not equal to it.
Frequently asked questions
How do I enter a repeating decimal?
Put the repeating part in brackets: 0.(3), 0.8(3), 1.(142857). A decimal without brackets is treated as terminating.
Why is 0.1 equal to 1/10?
The last digit of a terminating decimal sits in the tenths place, so 0.1 = 1/10. Similarly 0.25 = 25/100 = 1/4.
Can every decimal be turned into a fraction?
Terminating and repeating decimals are exact fractions. Non-repeating, endless decimals such as π are not equal to any fraction; they can only be approximated.
How do I get the percentage?
Multiply the fraction by 100: 0.375 = 3/8 = 37.5%.
The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.