How to Convert Decimal to Fraction: Steps and Chart
How to convert decimal to fraction in three steps: write the digits over a power of 10, find the greatest common divisor and simplify. Includes a common chart.
Updated
To convert a decimal to a fraction, write the digits after the decimal point over a 1 followed by as many zeros as there are decimal places, then simplify. For example, 0.75 has two decimal places, so it becomes 75/100, and dividing the top and bottom by 25 gives 3/4. The same three steps work for any decimal that ends.
The three steps
- Count the decimal places. Call the count n.
- Remove the decimal point to get the numerator, and use 10 to the power n as the denominator: 10, 100, 1,000 and so on.
- Simplify by dividing the numerator and denominator by their greatest common divisor.
This works because each decimal place is a power of ten. The first place is tenths, the second hundredths, the third thousandths. So 0.375 literally means 375 thousandths.
Worked examples
0.6. One decimal place, so 6/10. Both numbers divide by 2, giving 3/5.
0.75. Two places, so 75/100. The greatest common divisor is 25, giving 3/4.
0.375. Three places, so 375/1000. The greatest common divisor is 125, giving 3/8.
0.05. Two places, so 5/100. Leading zeros after the point still count as places. Divide by 5 to get 1/20.
0.0125. Four places, so 125/10000. Divide by 125 to get 1/80.
| Decimal | Places | Unsimplified | Greatest common divisor | Fraction |
|---|---|---|---|---|
| 0.6 | 1 | 6/10 | 2 | 3/5 |
| 0.75 | 2 | 75/100 | 25 | 3/4 |
| 0.375 | 3 | 375/1000 | 125 | 3/8 |
| 0.05 | 2 | 5/100 | 5 | 1/20 |
| 0.0125 | 4 | 125/10000 | 125 | 1/80 |
| 0.48 | 2 | 48/100 | 4 | 12/25 |
Simplifying the fraction
A fraction is in lowest terms when no whole number greater than 1 divides both parts. There are two ways to get there.
Divide by small primes. Since the denominator is a power of ten, its only prime factors are 2 and 5. Keep halving while both numbers are even, then keep dividing by 5 while both end in 0 or 5.
- 48/100: halve to 24/50, halve again to 12/25. 12 is not divisible by 5, so stop.
- 375/1000: divide by 5 three times to get 75/200, 15/40, then 3/8.
Use the Euclidean algorithm. For larger numbers, find the greatest common divisor directly. Divide the larger number by the smaller, keep the remainder, and repeat with the smaller number and the remainder until the remainder is zero. The last non-zero remainder is the answer.
For 375 and 1000:
1000 ÷ 375leaves remainder 250.375 ÷ 250leaves remainder 125.250 ÷ 125leaves remainder 0.
The greatest common divisor is 125, so 375/1000 simplifies to 3/8 in a single division.
Decimals greater than 1
Set the whole number aside, convert the decimal part, and put the two together as a mixed number.
- 2.4: the decimal part 0.4 is 4/10, which is 2/5. Result: 2 2/5.
- 3.125: 0.125 is 125/1000, which is 1/8. Result: 3 1/8.
- 1.75: 0.75 is 3/4. Result: 1 3/4.
For an improper fraction, multiply the whole number by the denominator and add the numerator. 2 2/5 becomes (2 × 5 + 2)/5 = 12/5. You can also convert the whole decimal at once: 2.4 is 24/10, which simplifies to 12/5.
Negative decimals follow the same steps with the minus sign carried through: −0.25 is −1/4.
Common decimal to fraction chart
| Decimal | Fraction | Decimal | Fraction |
|---|---|---|---|
| 0.0625 | 1/16 | 0.5 | 1/2 |
| 0.1 | 1/10 | 0.5625 | 9/16 |
| 0.125 | 1/8 | 0.6 | 3/5 |
| 0.1875 | 3/16 | 0.625 | 5/8 |
| 0.2 | 1/5 | 0.6875 | 11/16 |
| 0.25 | 1/4 | 0.7 | 7/10 |
| 0.3 | 3/10 | 0.75 | 3/4 |
| 0.3125 | 5/16 | 0.8 | 4/5 |
| 0.375 | 3/8 | 0.8125 | 13/16 |
| 0.4 | 2/5 | 0.875 | 7/8 |
| 0.4375 | 7/16 | 0.9 | 9/10 |
| 0.45 | 9/20 | 0.9375 | 15/16 |
Rounding to a practical fraction
The exact fraction is not always the useful one. A measurement of 0.3 inches is exactly 3/10, but a tape measure is marked in sixteenths. To find the nearest fraction with a chosen denominator, multiply the decimal by that denominator and round to the nearest whole number.
- 0.3 to the nearest sixteenth:
0.3 × 16 = 4.8, which rounds to 5, so 5/16. - 0.7 to the nearest eighth:
0.7 × 8 = 5.6, which rounds to 6, so 6/8, or 3/4. - 0.33 to the nearest quarter:
0.33 × 4 = 1.32, which rounds to 1, so 1/4.
The result is an approximation, so say so when precision matters. 5/16 is 0.3125, not 0.3.
Decimals that do not end
The steps above need a last digit to count places from. Some decimals never reach one.
- Repeating decimals such as 0.333... or 0.1666... have a block of digits that recurs forever. They are exact fractions, 1/3 and 1/6, but you find them with a short piece of algebra instead of a power of ten. Writing 0.333 as 333/1000 is close but not equal to 1/3. The method is in the guide to converting a repeating decimal to a fraction.
- Irrational numbers such as pi and the square root of 2 never end and never repeat. They cannot be written as a fraction at all. 22/7 is a familiar approximation of pi, not its value.
Using the converter
Open the Fraction to Decimal Converter and switch to the "Decimal → Fraction" tab. Type a decimal such as 0.375 and it returns the simplified fraction, the percentage and a conversion steps card that shows the power of ten it multiplied by, the unsimplified fraction, the greatest common divisor and the final division.
Two things to know about its output. It converts exactly the digits you type, so 0.333 returns 333/1000 and not 1/3. And for values above 1 it gives an improper fraction: 2.4 returns 12/5. To see that as a mixed number, divide 12 by 5 to get 2 with a remainder of 2, which is 2 2/5.
Going the other way is covered in how to convert a fraction to a decimal. If you need the value as a percent of some total, the Percentage Calculator takes it from there.
Try it
Enter 0.625 in the Decimal → Fraction tab of the Fraction to Decimal Converter and follow the steps card from 625/1000 down to 5/8.