Decimal to Fraction Calculator
Enter any terminating decimal (for example: 0.75, 2.5, -3.125) and get the simplified fraction instantly.
How to turn a decimal into a fraction
Converting decimals to fractions is one of the most useful math skills in school, finance, and everyday calculations. A decimal and a fraction can represent the exact same value; they are simply different formats. For example, 0.5 is exactly the same number as 1/2.
The calculator above automates the process, but the manual method is straightforward once you know the pattern.
Step 1: Count decimal places
Look at how many digits are to the right of the decimal point:
- 0.7 has 1 decimal place
- 0.75 has 2 decimal places
- 0.125 has 3 decimal places
Step 2: Write the decimal as a fraction over a power of 10
Remove the decimal point from the number to create the numerator. Use 10, 100, 1000, etc. as the denominator based on decimal places:
- 0.7 = 7/10
- 0.75 = 75/100
- 0.125 = 125/1000
Step 3: Simplify the fraction
Find the greatest common divisor (GCD) of numerator and denominator, then divide both by that value:
- 75/100 ÷ 25 = 3/4
- 125/1000 ÷ 125 = 1/8
Worked examples
Example 1: Convert 0.625
0.625 has 3 decimal places, so write it as 625/1000. Divide both by 125 to simplify:
0.625 = 5/8
Example 2: Convert 2.4
2.4 has 1 decimal place, so write 24/10. Simplify by dividing both by 2:
2.4 = 12/5 (or mixed number 2 2/5)
Example 3: Convert -1.75
Keep the negative sign with the fraction. -1.75 becomes -175/100, which simplifies to:
-1.75 = -7/4 (or mixed number -1 3/4)
Special cases and tips
- Whole numbers: 3 = 3/1
- Very small decimals: 0.004 = 4/1000 = 1/250
- Negative decimals: simplify the positive part first, then add the negative sign
- Repeating decimals: numbers like 0.333... are recurring and need a different algebra method (result is 1/3)
Why this calculator is useful
This decimal-to-fraction calculator is helpful for homework, test prep, engineering estimates, recipe scaling, and financial ratio work. It also shows the simplification process so you can learn the method—not just copy answers.
Quick FAQ
Does this tool simplify fractions automatically?
Yes. It always returns the fraction in lowest terms using the GCD.
Can it handle negative decimals?
Yes. Enter a minus sign and the result will keep the correct sign.
What if I type an integer like 6?
The calculator returns 6/1, which is mathematically equivalent to 6.