Decimal to Fraction Calculator
Type a decimal and get the exact fraction in lowest terms, along with the mixed number and the percent. The page shows the unsimplified fraction too, so you can follow the method.
- Free, no sign-up
- Updated
- Formula and worked example
Enter your numbers to see the result.
- Decimal to simplified fraction
- Mixed number output
- Percent value
- Up to 9 decimal places
How to convert a decimal to a fraction
Write the decimal over a power of ten, then simplify. Count the digits after the decimal point. That count tells you how many zeros the denominator has. Then divide the top and bottom by their greatest common divisor.
| Decimal | Over a power of 10 | Simplified |
|---|---|---|
| 0.5 | 5/10 | 1/2 |
| 0.25 | 25/100 | 1/4 |
| 0.375 | 375/1000 | 3/8 |
| 0.125 | 125/1000 | 1/8 |
| 2.5 | 25/10 | 5/2, or 2 1/2 |
Worked example: 0.375
There are three digits after the point, so write 375/1000. The greatest common divisor of 375 and 1000 is 125. Divide both by 125 to get 3/8. Check by dividing: 3 ÷ 8 = 0.375.
Repeating decimals
A decimal such as 0.333… never ends, so a calculator that reads only the digits you typed treats 0.333 as 333/1000. The true fraction is 1/3. Common repeating values worth remembering are 0.1666… = 1/6, 0.6666… = 2/3 and 0.8333… = 5/6. To work with exact fractions, use the fraction calculator.
Decimals, fractions and percents
All three describe the same amount. Multiply a decimal by 100 to get a percent, so 0.375 is 37.5%. The percentage calculator covers percent of a number and percentage change.
Frequently asked questions
How do I turn 0.75 into a fraction?
Write 75/100, then divide both numbers by 25. The answer is 3/4.
How do I convert a decimal greater than 1?
Convert the whole decimal the same way and keep the result as an improper fraction, or split off the whole number. For 2.5, the fraction is 5/2, which is the mixed number 2 1/2.
Can this calculator handle repeating decimals?
It treats the digits you enter as exact. For a repeating decimal such as 0.333…, use the known fraction 1/3 instead. The page lists common repeating values.
What is the largest number of decimal places allowed?
Nine decimal places. That is enough for almost every homework and everyday problem and keeps the arithmetic exact in a browser.
More calculators you may need
- Fraction Calculator Simplify a fraction, list equivalent fractions, or add, subtract, multiply, divide and compare...
- Percentage Calculator Work out a percentage of a number, find what percent one value is of another, or measure the pe...
- Scientific Calculator A free scientific calculator that runs in your browser. Use the keypad or your keyboard for tri...
- Quadratic Formula Calculator Enter the coefficients a, b and c of a quadratic equation. You get both roots, whether they are...