Decimal to Fraction Calculator
Convert a decimal such as 0.375 or 2.625 into a fraction in lowest terms, plus a mixed number and the closest simple fraction for long or repeating decimals.
More decimal and fraction tools
How to use the Decimal to Fraction Calculator
- Type the decimal number.
- Read the exact fraction in simplest form.
- Use the mixed number or closest simple fraction if you need an easier value.
How it works
Write the decimal over a power of ten with as many zeros as there are decimal places, then simplify by dividing top and bottom by their greatest common divisor (GCD). Example: 0.375 = 375/1000; the GCD of 375 and 1000 is 125, so 0.375 = 3/8.
Repeating decimals cannot be written exactly with a finite number of digits, so 0.333 is 333/1000 exactly — but if the 3 repeats forever, the value is 1/3. The calculator shows both, using continued fractions to find the closest simple fraction.
What this decimal to fraction calculator shows
Type any decimal and the calculator returns the exact fraction in simplest form. Depending on the number, it also shows the mixed number (for values above 1), the percentage, and — for long or rounded decimals — the closest simple fraction, which is often the answer you actually want. If the last digits repeat (0.333, 0.6666), it also shows the fraction you get if that digit repeats forever.
It works for positive and negative numbers, numbers greater than one and decimals with up to nine digits after the point. Everything runs in your browser, so the answer appears instantly as you type, and you can copy the result with one click.
How to convert a decimal to a fraction, step by step
The method is the same for every decimal that ends (a terminating decimal). It has three steps:
- Write the digits over a power of ten. Count the digits after the decimal point. One digit means tenths (over 10), two means hundredths (over 100), three means thousandths (over 1,000), and so on.
- Find the greatest common divisor (GCD) of the top and bottom numbers — the largest number that divides both exactly.
- Divide the numerator and denominator by the GCD. The result is the fraction in lowest terms.
0.75 as a fraction
- 0.75 has 2 decimal places, so write it over 100:
75/100 - The greatest common divisor of 75 and 100 is 25.
- Divide both by 25:
75 ÷ 25 = 3,100 ÷ 25 = 4 - Answer: 0.75 = 3/4
0.0625 as a fraction
- 0.0625 has 4 decimal places, so write it over 10000:
625/10000 - The greatest common divisor of 625 and 10000 is 625.
- Divide both by 625:
625 ÷ 625 = 1,10000 ÷ 625 = 16 - Answer: 0.0625 = 1/16
2.35 as a fraction
- 2.35 has 2 decimal places, so write it over 100:
235/100 - The greatest common divisor of 235 and 100 is 5.
- Divide both by 5:
235 ÷ 5 = 47,100 ÷ 5 = 20 - Answer: 2.35 = 47/20 = 2 7/20
For a slower, fully explained walk-through with practice questions, see how to convert a decimal to a fraction.
Why the denominator is a power of ten
Decimals are just fractions whose denominators are powers of ten, written in a shorter way. The position of each digit tells you its denominator, which is why the first step works:
| Decimal | Place value | As a fraction |
|---|---|---|
| 0.7 | tenths | 7/10 |
| 0.07 | hundredths | 7/100 |
| 0.007 | thousandths | 7/1000 |
| 0.0007 | ten-thousandths | 7/10000 |
So 0.43 literally means “43 hundredths”, or 43/100. Writing a decimal as a fraction is really just reading it out loud and writing down what you said — then tidying it up by simplifying.
Simplifying: finding the greatest common divisor
A fraction is in simplest form (lowest terms) when the numerator and denominator share no common factor other than 1. To get there quickly, divide both by their greatest common divisor rather than by small numbers one at a time.
Because the denominator is always a power of ten — made only of 2s and 5s — the GCD is also built only from 2s and 5s. That gives a handy shortcut: keep halving both numbers while they are even, then keep dividing by 5 while both end in 0 or 5. For example, 0.875: 875/1000 → divide by 5 → 175/200 → divide by 5 → 35/40 → divide by 5 → 7/8.
If you prefer the formal method, the Euclidean algorithm finds the GCD directly: divide the larger number by the smaller, replace the larger with the remainder, and repeat until the remainder is zero. The last non-zero remainder is the GCD. The calculator uses exactly this method.
Common decimals as fractions
These are the decimals people convert most often. Memorising the quarters and eighths makes everyday maths — recipes, measurements, discounts — much quicker.
| Decimal | Fraction | Percent |
|---|---|---|
| 0.1 | 1/10 | 10% |
| 0.125 | 1/8 | 12.5% |
| 0.2 | 1/5 | 20% |
| 0.25 | 1/4 | 25% |
| 0.3 | 3/10 | 30% |
| 0.375 | 3/8 | 37.5% |
| 0.4 | 2/5 | 40% |
| 0.5 | 1/2 | 50% |
| 0.6 | 3/5 | 60% |
| 0.625 | 5/8 | 62.5% |
| 0.7 | 7/10 | 70% |
| 0.75 | 3/4 | 75% |
| 0.8 | 4/5 | 80% |
| 0.875 | 7/8 | 87.5% |
| 0.9 | 9/10 | 90% |
For a complete printable table — every fraction from halves to tenths, plus 16ths, 32nds and 64ths — open the decimal to fraction chart.
Decimals greater than one: mixed numbers
For a decimal larger than 1, convert only the part after the point and keep the whole number in front. 2.75 becomes 2 and 75/100, which simplifies to 2 3/4. If you need an improper fraction instead (for multiplying or dividing fractions), multiply the whole number by the denominator and add the numerator: 2 3/4 = (2 × 4 + 3)/4 = 11/4.
Repeating decimals
Some fractions never end as decimals: 1/3 = 0.333…, 2/11 = 0.181818…, 1/7 = 0.142857142857…. If you type a rounded version such as 0.333, the calculator converts exactly what you typed (333/1000), but also shows 1/3 as the fraction for the repeating version.
For any repeating decimal, use the repeating decimal to fraction calculator, which lets you say exactly which digits repeat. The quick rule: put the repeating digits over the same number of 9s — 0.777… = 7/9 and 0.454545… = 45/99 = 5/11.
Rounded decimals and the closest simple fraction
Measurements and calculator results are often rounded, so the “exact” fraction of a rounded decimal can be ugly: 0.6667 is exactly 6667/10000, which is not useful. The calculator therefore also finds the closest simple fraction using continued fractions, a method that finds the best approximation for any limit on the denominator.
| Decimal | Exact fraction | Closest simple fraction | Max denominator |
|---|---|---|---|
| 0.333 | 333/1000 | 1/3 | 10 |
| 0.6667 | 6667/10000 | 2/3 | 10 |
| 0.142857 | 142857/1000000 | 1/7 | 10 |
| 3.14159 | 314159/100000 | 22/7 | 64 |
| 0.7071 | 7071/10000 | 5/7 | 12 |
The maximum denominator controls how simple the answer is: 3.14159 becomes the famous 22/7 when the denominator is kept under 64. For tape measures and drill bits, the decimal to fraction inches calculator rounds to the nearest 1/8, 1/16, 1/32 or 1/64 inch and shows the error.
Decimal to fraction on a scientific calculator
Many scientific calculators can convert for you. On most Casio models, enter the decimal, press = and then the S⇔D key to switch between decimal and fraction form. On TI-84 graphing calculators, type the decimal, press MATH and choose ►Frac. Basic phone calculators and most spreadsheet defaults do not, which is where an online decimal to fraction converter is quicker.
In a spreadsheet you can format a cell as a fraction (for example “Up to two digits”), but it shows an approximation, not necessarily the exact value — check long decimals with the calculator above.
Which decimals terminate?
A fraction in lowest terms gives a terminating decimal only if its denominator has no prime factors other than 2 and 5. That is why eighths (8 = 2 × 2 × 2) and twentieths (20 = 2 × 2 × 5) end neatly, while thirds, sixths, sevenths, ninths and elevenths repeat forever. Turned around, every terminating decimal converts to a fraction whose denominator is built from 2s and 5s — a quick way to check an answer.
Common mistakes
- Using the wrong power of ten. 0.05 is 5/100, not 5/10. Count every digit after the point, including zeros.
- Stopping before the fraction is fully simplified. 25/100 reduces to 1/4, not 5/20.
- Treating a rounded decimal as a repeating one. 0.33 is 33/100; only 0.333… with the 3 repeating forever equals 1/3.
- Dropping the whole number. 3.5 is 3 1/2 (or 7/2), not 1/2.
Popular decimal to fraction conversions
- 0.01 as a fraction
- 0.02 as a fraction
- 0.03 as a fraction
- 0.04 as a fraction
- 0.05 as a fraction
- 0.06 as a fraction
- 0.07 as a fraction
- 0.08 as a fraction
- 0.09 as a fraction
- 0.1 as a fraction
- 0.11 as a fraction
- 0.12 as a fraction
- 0.13 as a fraction
- 0.14 as a fraction
- 0.15 as a fraction
- 0.16 as a fraction
- 0.17 as a fraction
- 0.18 as a fraction
- 0.19 as a fraction
- 0.2 as a fraction
- 0.21 as a fraction
- 0.22 as a fraction
- 0.23 as a fraction
- 0.24 as a fraction
- 0.25 as a fraction
- 0.26 as a fraction
- 0.27 as a fraction
- 0.28 as a fraction
- 0.29 as a fraction
- 0.3 as a fraction
Decimal to fraction chart
| Decimal | Fraction | Decimal | Fraction |
|---|---|---|---|
| 0.1 | 1/10 | 0.5625 | 9/16 |
| 0.125 | 1/8 | 0.6 | 3/5 |
| 0.2 | 1/5 | 0.625 | 5/8 |
| 0.25 | 1/4 | 0.6875 | 11/16 |
| 0.3 | 3/10 | 0.7 | 7/10 |
| 0.375 | 3/8 | 0.75 | 3/4 |
| 0.4 | 2/5 | 0.8 | 4/5 |
| 0.4375 | 7/16 | 0.8125 | 13/16 |
| 0.5 | 1/2 | 0.875 | 7/8 |
| 0.55 | 11/20 | 0.9375 | 15/16 |
Frequently asked questions
How do you convert a decimal to a fraction?
Write the digits after the point over 10, 100 or 1,000 (one zero per digit), then divide the top and bottom by their greatest common divisor.
What is 0.375 as a fraction?
3/8.
What is 0.625 as a fraction?
5/8.
What is 0.2 as a fraction?
1/5.
What is 0.75 as a fraction?
3/4.
What is 1.5 as a fraction?
3/2, or the mixed number 1 1/2.
How do I convert a repeating decimal to a fraction?
Put the repeating digits over the same number of 9s: 0.777… = 7/9 and 0.454545… = 45/99 = 5/11. The repeating decimal calculator handles digits before the repeat too.
How do I convert decimal inches to a fraction?
Multiply by the ruler division (16 for sixteenths), round, and simplify: 0.6875 × 16 = 11, so 11/16″.
Can every decimal be written as a fraction?
Every terminating or repeating decimal can. Decimals that never end and never repeat, such as π, are irrational and can only be approximated.
Is this decimal to fraction converter free?
Yes — it is free, needs no sign-up and works on phones, tablets and computers.
Related tools
- Fraction to Decimal Converter
- Decimal to Fraction Inches Calculator
- Roman Numeral Converter
- Scientific Notation Converter
- Binary to Decimal Converter
- Hex to Decimal Converter
- Degrees to Radians Converter
- Percent to Decimal Converter
- DMS to Decimal Degrees Converter
- Degrees to Percent Slope Converter
- Octal Converter
- Radians to Degrees Converter