Decimal to fraction
Turn a decimal number into a simple fraction.
3/8
37.5%
Finds the simplest fraction within a tiny rounding error. A repeating decimal such as 0.3333333 matches 1/3 only if you type enough digits.
How this decimal to fraction converter works
Type a decimal and the converter finds the simplest fraction that matches it, along with the mixed-number form for values above 1 and the same value as a percent.
The method
A terminating decimal can be written over a power of 10 and then simplified. For example, 0.375 is 375/1000. Dividing the top and bottom by their greatest common divisor, 125, gives 3/8. The converter searches for the simplest fraction within a tiny rounding error, which also lets it recognize repeating decimals when you type enough digits.
Worked examples
0.375 is 3/8, and 37.5%. 2.75 is 11/4, or 2 3/4 as a mixed number. 0.125 is 1/8. 0.3333333 is recognized as 1/3, but 0.33 is treated as 33/100, because it is a different number.
Handy equivalents
It helps to know a few by heart: 0.5 is 1/2, 0.25 is 1/4, 0.75 is 3/4, 0.2 is 1/5, and 0.125 is 1/8. Eighths are especially common in measuring tools and recipes: 0.625 is 5/8 and 0.875 is 7/8.
Common questions
Where is this useful? Converting decimal measurements to tape-measure fractions, turning a recipe amount like 0.67 cups into roughly 2/3 cup, or checking homework.