How the calculator works
Enter a decimal such as 0.625 or -2.75. The calculator converts it to an exact fraction in lowest terms and shows the conversion steps. For values with a whole-number part and a fractional remainder, it also gives the mixed number.
For a repeating decimal, identify the digits that repeat forever. Parentheses make this explicit: 0.(3) means 0.333..., while 0.1(6) means 0.1666..., with only the 6 repeating. A finite entry is treated exactly as written, without assuming that its last digit continues.
Two optional tools give simpler approximations. Round to a ruler fraction uses a chosen increment, such as 1/16. Find a simpler fraction uses a maximum denominator. These choices can change the value, so compare the approximation with the exact conversion.
How to convert a terminating decimal
This gives an exact fraction for a terminating decimal. Simplify the numerator and denominator afterward.
One decimal place gives a denominator of 10; two give 100; three give 1,000. Count zeros after the point too: 0.005 is 5/1000, which simplifies to 1/200. To reach lowest terms, divide the numerator and denominator by their greatest common factor, also called the greatest common divisor.
Worked example: 0.625 as a fraction
There are three digits after the decimal point, so write 0.625 as 625/1000. The greatest common factor of 625 and 1,000 is 125. Dividing both by 125 gives a numerator of 5 and a denominator of 8.
For 2.75, the same method gives 275/100 = 11/4. Dividing 11 by 4 gives 2 with a remainder of 3, so the mixed number is 2 3/4. For -2.75, the result is -11/4 or -2 3/4, where the minus sign applies to the entire mixed number.
Common decimals as fractions
| Decimal | Fraction in lowest terms |
|---|---|
| 0.0625 | 1/16 |
| 0.125 | 1/8 |
| 0.2 | 1/5 |
| 0.25 | 1/4 |
| 0.333... | 1/3 |
| 0.375 | 3/8 |
| 0.5 | 1/2 |
| 0.625 | 5/8 |
| 0.666... | 2/3 |
| 0.75 | 3/4 |
| 0.875 | 7/8 |
| 0.9375 | 15/16 |
Converting repeating decimals
A repeating decimal has a digit or block that continues forever. Its conversion uses two powers of ten to line up identical repeating tails. Subtracting the resulting equations cancels those tails and leaves an equation involving whole numbers.
Apply this to the nonnegative value, then restore a negative sign if needed. Count zeros when measuring the lengths of the decimal blocks.
For 0.1(6), A = 16, B = 1, m = 1 and r = 1. The fraction is (16 - 1)/(10 × 9) = 15/90 = 1/6. In the subtraction method, 100x = 16.666... and 10x = 1.666..., so 90x = 15.
When the repeat starts immediately after the point, put the repeating block over the same number of 9s, then simplify. For example, 0.(27) = 27/99 = 3/11. A block containing a leading zero still needs its full length: 0.(09) = 9/99 = 1/11.
Rounding to a simpler fraction
Round to a ruler fraction finds the nearest multiple of 1/2, 1/4, 1/8, 1/16, 1/32 or 1/64. Choose the increment that matches your measurement. The result is simplified, so rounding to sixteenths can produce 1/2 instead of 8/16.
Divisions is the selected denominator, such as 16 for sixteenths. Round to the nearest whole number, with halfway cases rounded away from zero.
For 0.31 rounded to the nearest 1/16, multiply 0.31 by 16 to get 4.96. This rounds to 5, giving 5/16 = 0.3125. The approximation is 0.0025 above the input; the exact fraction remains 31/100.
Find a simpler fraction instead chooses the closest fraction whose positive denominator is no greater than your limit. All denominators within that limit are eligible, not only powers of two. For 3.14159, a limit of 10 gives 22/7, while a limit of 100 gives 311/99. The limit does not restrict the numerator.
Tips for choosing the right result
- 1Keep exact fractions for further arithmetic. Use the exact result when adding, multiplying or solving equations. Apply a measurement increment only when you need the final rounded value.
- 2Keep the measurement unit unchanged. Converting 0.625 inches gives 5/8 inch. It does not convert inches to feet or centimeters.
- 3Check by dividing. Divide the numerator by the denominator to check a result. An exact fraction reproduces the entered decimal, including its repeating pattern; an approximation can differ.
Decimal to fraction FAQ
Is 0.333 the same as 1/3?
No. The terminating decimal 0.333 is exactly 333/1000. The fraction 1/3 equals 0.333... with the 3 repeating forever, written here as 0.(3).
What happens with zero or a whole number?
Zero can be written as 0/1, and a whole number can be written over 1, such as 5 = 5/1. Neither needs a fractional remainder in mixed-number form.
Do zeros after the decimal point change the fraction?
Trailing zeros do not change the value: 0.50 and 0.5 both simplify to 1/2. Zeros before the first nonzero decimal digit do affect place value: 0.05 is 5/100 = 1/20.
How do I convert a negative decimal?
Convert its magnitude, then put the negative sign in front of the result. For example, -0.45 = -45/100 = -9/20.
Is 0.999... exactly equal to 1?
Yes, when the 9 repeats forever. If x = 0.999..., then 10x - x = 9, so 9x = 9 and x = 1. A finite string such as 0.999 is still less than 1.
How do I convert scientific notation to a fraction?
First expand it into an ordinary decimal. For example, 1.5 × 10-3 = 0.0015, which is 15/10000 = 3/2000.
Sources
- 1Prealgebra 2e, 5.1 Decimals · OpenStax, Rice University · Accessed November 2026
- 2Prealgebra 2e, 5.3 Decimals and Fractions · OpenStax, Rice University · Accessed November 2026
- 3Decimals to Fractions · Massey University · Accessed November 2026
- 4Contemporary Mathematics, 3.4 Rational Numbers · OpenStax, Rice University · Accessed November 2026
- 5fractions: Rational numbers · Python Software Foundation · Accessed November 2026