Decimal to Fraction Calculator
Enter a decimal such as 0.375. For a repeating decimal, put the repeating digits in brackets: 0.1(6) means 0.1666…
Need the full working for a harder problem? Try the fractions step-by-step solver.
The formula
A terminating decimal is its digits over a power of ten: 0.375 = 375/1000. Then divide top and bottom by their greatest common factor.
Worked example
A drawing calls for a 0.875 inch hole. Which fractional drill bit is that?
- Three decimal places, so write 875/1000
- The greatest common factor of 875 and 1,000 is 125
- Divide both: 875 ÷ 125 = 7 and 1,000 ÷ 125 = 8
0.875 inch is a 7/8 inch bit.
How it works
Terminating decimals
Write the digits over a power of ten: 0.375 = 375/1000. Then simplify.
Repeating decimals
Subtract the non-repeating part from the full run of digits, and put the result over as many 9s as there are repeating digits, followed by as many 0s as there are non-repeating decimal digits.
Simplify
Divide the top and bottom by their greatest common factor.
Good to know
- A rounded decimal gives the fraction for the rounded value. 0.33 is 33/100, not 1/3; type 0.(3) for the repeating decimal.
- Put only the repeating digits in brackets: 0.1(6) is 0.1666…, which is 1/6.
- Every fraction is either a terminating or a repeating decimal. It terminates only when the simplified denominator has no prime factors other than 2 and 5.
Common questions
How do I enter 0.333…?
Type 0.(3). The brackets mark the digits that repeat forever, and the result is exactly 1/3.
Can every decimal be written as a fraction?
Every terminating or repeating decimal can. Decimals that go on forever without repeating, like π, cannot.
How do I convert a fraction to a decimal?
Divide the top by the bottom. 5/8 is 5 ÷ 8 = 0.625.
How do I round a decimal to the nearest sixteenth?
Multiply by 16, round to the nearest whole number, and put that over 16. For 0.4: 0.4 × 16 = 6.4, which rounds to 6, giving 6/16 = 3/8.
How do I turn a percentage into a fraction?
Put it over 100 and simplify. 37.5% is 37.5/100 = 375/1000 = 3/8.