Decimal to Fraction
Type a terminating decimal in the Decimal field—default 0.75—then click Convert. The result shows the reduced fraction like 3/4 and repeats the original input for confirmation.
Click Convert.
About this tool
Digits after the point become a denominator that is a power of ten; numerator and denominator are then divided by their greatest common divisor. Integers become n/1. Leading minus signs produce a negative numerator.
How to use
- Open the converter: Load the page with the Decimal input and Convert button.
- Enter the decimal: Type a value such as 0.75 or 2.5, including an optional leading minus.
- Convert: Click Convert to compute the reduced fraction.
- Read the result: See numerator/denominator plus the simplified-from note in the result panel.
Common use cases
- Turn measured lengths like 0.125 into workshop-friendly fractions such as 1/8.
- Convert quiz percents written as decimals into exact fractional marks.
- Simplify spreadsheet decimals before writing them into a printed math worksheet.
- Check calculator output by comparing a decimal display with its reduced fraction.
Tips
- Use plain digits and one optional dot; letters or symbols trigger a valid decimal error.
- Example 2.5 converts to 5/2 after canceling a common factor of 5.
FAQ
How is the fraction built?
The fractional digits set a power-of-ten denominator, then both parts divide by their greatest common divisor.
What happens with whole numbers?
They return as n/1 with the original value cited in the output.
Are negatives supported?
Yes. A leading minus keeps the sign on the simplified numerator.
Why is abc rejected?
Only digit strings with an optional decimal point are accepted.