Overview
Any terminating decimal can be written as a fraction: count the decimal places, write the number over that power of ten and simplify.
Enter a decimal to get the fraction and mixed number.
Worked examples
| Inputs | Result |
|---|---|
| Decimal0.375 | 0.375 = 3/8Percent: 37.5% |
Show 2 more examples
| Decimal0.125 | 0.125 = 1/8Percent: 12.5% |
| Decimal1.6 | 1.6 = 8/5Mixed number: 1 3/5Percent: 160% |
How it works
A decimal with k places is the digits over 10ᵏ, then simplified by the greatest common divisor.
The formula
x = digits ÷ 10ᵏ, then divide top and bottom by the GCD
| k | Number of decimal places |
Practical tips
- 0.375 is 375/1000, which simplifies to 3/8.
- 2.75 is 11/4, or 2 3/4.
- Repeating decimals such as 0.333… need algebra; a rounded value gives only an approximation.
Frequently asked questions
What is 0.125 as a fraction?
1/8.
What about repeating decimals?
0.333… is exactly 1/3, but typing 0.333 gives 333/1000.