About this calculator
Enter the decimal exactly as written; up to 15 decimal places are converted exactly.
How to use it
- Type the decimal.
- Read the fraction.
The formula
Decimal = digits ÷ 10ⁿ, then divide top and bottom by their GCD
- n
- number of decimal places
Worked example
0.375
- = 375/1000.
- GCD is 125, so 0.375 = 3/8.
What the result means
For repeating decimals like 0.333…, use the fraction you know (1/3); typed digits are treated as exact.
Assumptions
- Terminating decimals.
Limitations
- Repeating decimals typed with finite digits are converted as typed.
Frequently asked questions
What is 0.75 as a fraction?
3/4.
What is 0.125 as a fraction?
1/8.
How do I convert a repeating decimal?
For 0.(3) use x = 0.333…, 10x − x = 3, so x = 1/3.
Last reviewed on 3 October 2026. Found a mistake? Tell us.

