Decimal to fraction converter
Turn a decimal into its simplest fraction.
Try it
Inputs
Result
The result appears here as you type.
About Decimal to fraction converter
A decimal to fraction converter turns a decimal number into its simplest fraction. Enter a decimal such as 0.75, and the calculator returns 3/4. Fractions are common in cooking, carpentry, engineering drawings and school maths, and some measurements are easier to read as fractions than as decimals.
The calculator searches for the closest fraction with a denominator up to 1,000, then reduces it to lowest terms. Some decimals, such as one third written as 0.3333, have no exact fraction in this form, so the result is the nearest simple fraction.
How to use Decimal to fraction converter
- Enter the decimal number, using a full stop as the decimal point.
- Read the simplest fraction that matches the decimal.
- Check whether the decimal is exact, such as 0.5, or a rounded value, such as 0.333.
- Use the fraction for drawings, recipes or measurements that use fractional units.
- Round the result to the nearest fraction your tools can measure.
How the search works
For each possible denominator, the calculator finds the nearest whole numerator and measures how close the resulting fraction is to the decimal. It keeps the best match and stops when the error is negligible. The result is then reduced by the greatest common divisor of the numerator and denominator.
Terminating decimals such as 0.125 convert exactly to 1/8. Repeating decimals such as 0.333 are approximated, because the true value is one third.
Using fractions in practice
Carpenters and machinists often work in sixteenths or thirty-seconds of an inch, so converting a decimal to the nearest fraction helps when reading a tape. Check the tolerance you need, since a rounded fraction may be too coarse for precise work.
In cooking, fractions are usually preferred for quantities. Converting decimal weights or volumes to simple fractions makes recipes easier to follow.
Frequently asked questions
Why is the answer sometimes approximate?
Repeating decimals and long decimals do not always match a simple fraction exactly, so the calculator gives the closest one.
What is the largest denominator used?
The search goes up to 1,000, which covers most practical needs.
Can I convert a negative decimal?
Yes. The sign is kept in the numerator.
Related tools
Tools that pair well with this one.