How to use the Decimal to Fraction Calculator
Fill in the fields above and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.
How it works
Write the decimal over a power of ten and reduce.
Examples
- 0.375 as a fraction
Exact fraction: 3/8
- 0.125 as a fraction
Exact fraction: 1/8
- 0.3333 limited to denominators up to 100
Exact fraction: 3333/10000 Closest fraction with denominator up to 100: 1/3
Limitations and assumptions
Repeating decimals such as 0.333 are exact as typed; use the closest-fraction line for the intended value (1/3).
Frequently asked questions
How do I convert a decimal to a fraction by hand?
Write the decimal over a power of ten (0.375 = 375/1000), then divide the top and bottom by their greatest common divisor to get 3/8.
What is 0.5 as a fraction?
1/2.
Why does 0.3333 not give exactly 1/3?
It is a rounded decimal. Set a smaller maximum denominator and the closest simple fraction, 1/3, is returned.
How do I go the other way?
Use the fraction to decimal calculator, which divides the numerator by the denominator.