Home/Math/Decimal Calculators/Decimal to Fraction Calculator

Decimal to Fraction Calculator

Convert any decimal — terminating or repeating — into a simplified fraction, improper fraction and mixed number.

Quick Answer: How Do You Convert a Decimal to a Fraction?

To convert a terminating decimal to a fraction, write the digits over their place value (10, 100, 1000 and so on), then divide the top and bottom by their greatest common factor to simplify. For example, 0.75 = 75/100 = 3/4. Repeating decimals such as 0.333… use a short algebra step and give exact fractions like 1/3. This calculator shows the full working and the mixed-number form.

Enter a Decimal
Copied!
Result
Fraction
5/8
0.625 as a fraction
Terminating or repeating? A terminating decimal ends, like 0.625. A repeating decimal has digits that go on forever, like 0.333… Use the Repeating tab for those, and enter which digits repeat — that is how you get the exact fraction instead of a rounded one.

How to Use the Decimal to Fraction Calculator

On the Terminating tab, type a decimal such as 0.625, 1.25 or -2.75 and press Convert. On the Repeating tab, type the part before the repeat and the digits that repeat — for 0.1666… enter 0.1 and 6. The result shows the simplified fraction, the improper fraction and the mixed number, with steps. Use Copy result to reuse the answer.

The Decimal to Fraction Formula

Terminating: digits ÷ place value, then simplify by the GCF
Pure repeating: repeat block ÷ matching number of 9s
Mixed repeating: (combined digits − non-repeating digits) ÷ (9s followed by 0s)

For a terminating decimal, the number of decimal places tells you the place value: one place is tenths (÷10), two is hundredths (÷100), three is thousandths (÷1000). Write the digits over that value and simplify. For a pure repeating decimal, each repeating digit matches a 9 on the bottom — so 0.333… is 3/9 = 1/3, and 0.7272… is 72/99 = 8/11. When some digits do not repeat, put a 9 for each repeating digit followed by a 0 for each non-repeating digit, and subtract the non-repeating digits on top: 0.1666… = (16 − 1) ÷ 90 = 15/90 = 1/6.

Formula & Rule Cheat Sheet

Quick reference

1 place = ÷10   2 places = ÷100   3 places = ÷1000
Simplify: divide top & bottom by the GCF
0.5 = 1/2   0.25 = 1/4   0.75 = 3/4
0.125 = 1/8   0.2 = 1/5   0.1 = 1/10
0.333… = 1/3   0.666… = 2/3

Worked Examples

1. 0.75 to a fraction

Two decimal places → 75/100
GCF of 75 and 100 is 25 → divide both by 25
0.75 = 3/4

2. 0.625 to a fraction

Three decimal places → 625/1000
GCF is 125 → divide both by 125
0.625 = 5/8

3. 0.125 to a fraction

Three decimal places → 125/1000
GCF is 125 → divide both by 125
0.125 = 1/8

4. 1.25 to a mixed number

125/100, GCF 25 → 5/4
5/4 = 1 whole and 1/4 left over
1.25 = 5/4 = 1 1/4

5. 0.333… (repeating) to a fraction

One repeating digit → 3 over one 9
3/9, GCF 3 → 1/3
0.333… = 1/3

6. 0.1666… (repeating) to a fraction

Non-repeating "1", repeating "6": (16 − 1) over 90
15/90, GCF 15 → 1/6
0.1666… = 1/6

Decimal to Fraction Conversion Table

DecimalFractionSimplest form
0.11/101/10
0.125125/10001/8
0.22/101/5
0.2525/1001/4
0.33/103/10
0.333…3/91/3
0.375375/10003/8
0.44/102/5
0.55/101/2
0.66/103/5
0.625625/10005/8
0.666…6/92/3
0.7575/1003/4
0.88/104/5
0.875875/10007/8
0.99/109/10
1.25125/1001 1/4 (5/4)
1.515/101 1/2 (3/2)
1.75175/1001 3/4 (7/4)
2.25225/1002 1/4 (9/4)
2.525/102 1/2 (5/2)
2.75275/1002 3/4 (11/4)

Mixed Number vs Improper Fraction

DecimalImproper fractionMixed number
1.255/41 1/4
1.53/21 1/2
2.7511/42 3/4
3.216/53 1/5
4.59/24 1/2

Repeating Decimal Examples

Repeating decimalFraction
0.333…1/3
0.666…2/3
0.1666…1/6
0.8333…5/6
0.142857…1/7
0.2727…3/11

Real-Life Uses

Converting decimals to fractions is everyday work in construction and woodworking (a tape measure reads 0.375 in as 3/8 in), engineering drawings, cooking and baking (0.25 of a cup is 1/4 cup), classroom mathematics, DIY projects and any measurement task where fractions are the natural unit. Fractions are often easier to read on a ruler or in a recipe than a string of decimals.

Common Mistakes

Watch out for these:
  • Forgetting to simplify — 75/100 is correct but 3/4 is the simplest form.
  • Using the wrong place value, such as putting 0.75 over 10 instead of 100.
  • Treating a repeating decimal as if it terminates, so 0.333… becomes 333/1000 instead of 1/3.
  • Losing the whole number when writing a mixed number from a value like 1.25.
  • Dropping the minus sign on a negative decimal.
Did you know? Every terminating and every repeating decimal is a rational number, which means it can always be written as a fraction. Numbers whose decimals never repeat and never end, like π, are irrational and cannot be written as an exact fraction.
Pro tip. A quick simplify check: if both the top and bottom are even, divide by 2 and repeat; if both end in 0 or 5, they share a factor of 5. Keep going until nothing divides evenly, and you have the simplest form.

Practice Questions

Beginner (with answers)

  1. Convert 0.5 to a fraction.
  2. Convert 0.25 to a fraction.
  3. Convert 0.2 to a fraction.
  4. Convert 0.75 to a fraction.
  5. Convert 0.6 to a fraction.
Show answers

1) 1/2   2) 1/4   3) 1/5   4) 3/4   5) 3/5

Advanced (with answers)

  1. Convert 0.875 to a fraction.
  2. Convert 2.75 to a mixed number.
  3. Convert 0.666… to a fraction.
  4. Convert 0.8333… to a fraction.
  5. Convert -1.6 to a mixed number.
Show answers

1) 7/8   2) 2 3/4   3) 2/3   4) 5/6   5) -1 3/5

🔑 Key Takeaways

  • Write the decimal over its place value, then simplify by the GCF
  • One decimal place = tenths, two = hundredths, three = thousandths
  • Repeating digits go over the same number of 9s: 0.333… = 3/9 = 1/3
  • Values above 1 can be shown as an improper fraction or a mixed number
  • Every terminating or repeating decimal is a fraction (a rational number)

Frequently Asked Questions

How do you convert a decimal to a fraction?

Write the digits after the point over their place value — 10 for one place, 100 for two, 1000 for three — then divide the top and bottom by their greatest common factor to simplify. For example, 0.75 = 75/100 = 3/4.

What is 0.75 as a fraction?

0.75 is 3/4. It starts as 75/100, and dividing both by their GCF of 25 gives 3/4.

What is 0.125 as a fraction?

0.125 is 1/8. As 125/1000, dividing both by the GCF of 125 gives 1/8.

What is 0.625 as a fraction?

0.625 is 5/8. It begins as 625/1000, and dividing both by 125 gives 5/8.

What is 1.25 as a fraction?

1.25 is 5/4 as an improper fraction, or 1 1/4 as a mixed number. As 125/100 it simplifies to 5/4.

How do you simplify a decimal fraction?

Find the greatest common factor of the numerator and denominator, then divide both by it. Repeat until no number other than 1 divides both — that is the simplest form.

How do you convert a repeating decimal to a fraction?

Put the repeating block over the same number of 9s. So 0.333… is 3/9 = 1/3, and 0.7272… is 72/99 = 8/11. When some digits do not repeat, the calculator adjusts the bottom number with extra zeros.

What is 0.333… as a fraction?

0.333… is 1/3. One repeating digit goes over one 9, giving 3/9, which simplifies to 1/3.

What is 0.5 as a fraction?

0.5 is 1/2, because 0.5 is 5/10 and dividing both by 5 gives 1/2.

What is the difference between an improper fraction and a mixed number?

An improper fraction has a top number larger than the bottom, like 5/4. A mixed number writes the same value as a whole number plus a fraction, like 1 1/4. They are equal — just written differently.

How do you write a decimal as a mixed number?

Keep the whole-number part, convert the decimal part to a fraction, then simplify. 3.2 becomes 3 and 2/10, which simplifies to 3 1/5.

Can every decimal be written as a fraction?

Every terminating decimal and every repeating decimal can, because they are rational numbers. Decimals that never end and never repeat, such as pi, are irrational and cannot be written as an exact fraction.

What is a terminating decimal versus a repeating decimal?

A terminating decimal ends after a set number of digits, like 0.625. A repeating decimal has one or more digits that repeat forever, like 0.333… Both convert to exact fractions.

Can this calculator handle negative decimals?

Yes. Put a minus sign in front, such as -2.75, and the result keeps the sign: -2.75 = -11/4 = -2 3/4.

Is this Decimal to Fraction Calculator free?

Yes. It is free with no sign-up, works on any device, and runs in your browser so your entries stay private.

References

Last updated: July 2026
Reviewed by the MegaCalcOnline Editorial Team using standard number theory and trusted educational references. Fractions are found with exact integer arithmetic and reduced by the greatest common factor. This page is for educational purposes.