ToolNimba

๐Ÿ”ข Decimal to Fraction Calculator with Steps

Shihab Mia By Shihab Mia ยท Updated 2026-07-04

Type any decimal number. Negative values are allowed.

Fraction (lowest terms)
-
Mixed number
-
Decimal
-

This decimal to fraction calculator converts any decimal into a fraction in its lowest terms and shows the mixed number when the value is 1 or more. For a terminating decimal it puts the digits over the matching power of 10 and reduces, so 0.75 becomes 3/4. Tick the repeating option and it uses the recurring-decimal algebra instead, turning 0.333... into 1/3. Every conversion shows the raw fraction and the greatest common divisor step, so you see how the answer is built.

What is the Decimal to Fraction Calculator?

A decimal and a fraction are two ways of writing the same value, so a decimal to fraction calculator only has to move between the two notations. For a terminating decimal the method is direct: count how many digits sit after the point, call that k, and place the whole number formed by those digits over 10 raised to the power k. The decimal 0.75 has two digits after the point, so it starts life as 75/100, and reducing by the greatest common divisor of 75 and 100 (which is 25) gives 3/4. That reduce step is what turns a bulky raw fraction into the clean answer most people want.

The second job of a decimal to fraction calculator is to handle values above 1 as a mixed number. If the reduced fraction is top-heavy, meaning the numerator is at least as large as the denominator, you can split off the whole part. For example 1.375 becomes 1375/1000, which reduces to 11/8, and 11/8 splits into the mixed number 1 and 3/8. The tool shows both the improper fraction and the mixed number so you can pick whichever form your homework, recipe, or measurement needs.

Repeating decimals need different algebra, and this is where a good decimal to fraction calculator earns its keep. A value like 0.3333... never terminates, so you cannot simply put it over a power of 10. Instead you subtract the non-repeating block from the whole block and divide by a difference of two powers of 10. For 0.333 with all three digits repeating, the numerator is 333 minus 0, and the denominator is 10^3 minus 10^0, which is 999. That gives 333/999, and reducing by 333 lands you exactly on 1/3. The same subtraction trick handles a mixed case such as 0.1666... where only the final digit repeats, producing 1/6.

Every step in this decimal to fraction calculator uses the Euclidean algorithm to find the greatest common divisor, so the fraction is always fully reduced rather than left in an awkward form like 75/100. Negative decimals keep their sign on the numerator, and the tool refuses invalid input rather than guessing. Because the whole thing runs in your browser with plain arithmetic, there is no rounding drift for terminating decimals: the digits you type are placed over an exact power of 10 and simplified from there.

When to use it

  • Turning a measurement like 0.375 inches into the fraction 3/8 for woodworking or sewing.
  • Converting a test decimal answer back into a fraction to match the expected form on a worksheet.
  • Reading a repeating decimal such as 0.6666... and expressing it exactly as 2/3.
  • Changing a decimal above 1, like 2.25, into the mixed number 2 and 1/4 for a recipe.
  • Checking a calculator or spreadsheet decimal against its exact fraction to spot rounding.
  • Helping a student see the worked greatest-common-divisor step behind a decimal to fraction conversion.

How to use the Decimal to Fraction Calculator

  1. Type the decimal into the box (for example 0.75, 1.375, or -0.4).
  2. Leave the repeating option unticked for a normal terminating decimal.
  3. Read off the fraction in lowest terms, the mixed number, and the decimal, with the steps below.
  4. To convert a recurring decimal, tick the repeating box and enter how many of the last digits repeat.
  5. Use the Copy button to grab the fraction for your notes or homework.

Formula & method

Terminating decimal: with k digits after the point, fraction = (digits as an integer) / 10k, then divide the top and bottom by their greatest common divisor. Repeating decimal: fraction = (whole block value - non-repeating block value) / (10(nonrep + rep) - 10nonrep), then reduce. Mixed number when the value is 1 or more: whole part plus the leftover proper fraction.
Decimal to fraction: 0.750.752 digits after point75 / 100raw fraction (over 10^2)3 / 4lowest termsDivide top and bottom by the greatest common divisor, gcd(75, 100) = 2575 divided by 25 = 3, and 100 divided by 25 = 4So 0.75 = 3/4

Worked examples

Convert the terminating decimal 0.75 to a fraction.

  1. There are 2 digits after the point, so use 10^2 = 100.
  2. Raw fraction = 75 / 100.
  3. The greatest common divisor of 75 and 100 is 25.
  4. Divide top and bottom by 25: 75/100 = 3/4.

Result: 0.75 = 3/4

Convert the repeating decimal 0.333 (all 3 digits repeating) to a fraction.

  1. All 3 digits after the point repeat, so non-repeating = 0.
  2. Numerator = whole block - block before the repeat = 333 - 0 = 333.
  3. Denominator = 10^3 - 10^0 = 1000 - 1 = 999.
  4. Reduce 333/999 by their greatest common divisor 333.

Result: 0.333... = 1/3

Common terminating decimals and their fractions in lowest terms

DecimalRaw fractionLowest terms
0.55/101/2
0.2525/1001/4
0.7575/1003/4
0.22/101/5
0.125125/10001/8
0.375375/10003/8
0.44/102/5
0.055/1001/20
1.3751375/100011/8
0.66/103/5

Common repeating decimals and their exact fractions

Repeating decimalFraction
0.333...1/3
0.666...2/3
0.1666...1/6
0.8333...5/6
0.111...1/9
0.0909...1/11
0.142857...1/7
0.272727...3/11

Common mistakes to avoid

  • Forgetting to reduce the raw fraction. Placing the digits over a power of 10 is only the first step. 0.75 gives 75/100, which is correct but not finished. A decimal to fraction answer should be in lowest terms, so you must divide by the greatest common divisor to reach 3/4.
  • Counting the digits after the point wrongly. The power of 10 in the denominator equals the number of digits after the decimal point, not the number of digits in the whole value. 0.125 has three digits after the point, so the denominator is 1000, not 100.
  • Treating a repeating decimal like a terminating one. You cannot put 0.333... over 1000 and stop, because the digits never end. Repeating decimals need the subtraction method with a denominator of 10 to one power minus 10 to a smaller power, which is why the repeating option exists in this calculator.
  • Dropping the sign on a negative decimal. When the decimal is negative, the minus sign stays on the numerator of the fraction. -0.4 is -2/5, not 2/5. Keep the sign attached through the reduce step so the final fraction has the correct value.

Glossary

Numerator
The top number of a fraction, showing how many parts you have.
Denominator
The bottom number of a fraction, showing how many equal parts make up the whole.
Terminating decimal
A decimal that ends after a finite number of digits, such as 0.75 or 0.125.
Repeating decimal
A decimal in which one or more digits repeat forever, such as 0.333... which equals 1/3.
Mixed number
A whole number written next to a proper fraction, such as 1 and 3/8, used when the value is 1 or more.
Greatest common divisor
The largest whole number that divides two numbers exactly, used to reduce a fraction to lowest terms.

Frequently asked questions

How do I convert a decimal to a fraction?

Count the digits after the decimal point, put the digits over 10 raised to that many powers, then reduce by the greatest common divisor. For example 0.75 has two digits after the point, so it becomes 75/100, which reduces to 3/4. This decimal to fraction calculator does both steps and shows the working.

What is 0.75 as a fraction?

0.75 as a fraction is 3/4. You write it as 75/100 because there are two digits after the point, then divide the top and bottom by their greatest common divisor of 25 to get 3/4.

How do I convert a repeating decimal to a fraction?

Tick the repeating option and enter how many of the last digits repeat. The calculator subtracts the non-repeating block from the whole block and divides by 10 to one power minus 10 to a smaller power. For 0.333... this gives 333 over 999, which reduces to 1/3.

How does a decimal become a mixed number?

When the reduced fraction is 1 or more, split off the whole part and keep the remainder as a proper fraction. For example 1.375 reduces to 11/8, and 11 divided by 8 is 1 with 3 left over, giving the mixed number 1 and 3/8.

Can this calculator handle negative decimals?

Yes. A negative decimal keeps its minus sign on the numerator of the fraction. For example -0.4 becomes -2/5. The sign is carried through the reduce step so the final fraction has the correct value.

Why is 75/100 not the final answer for 0.75?

75/100 is a correct fraction but it is not in lowest terms. Both numbers share a common factor of 25, so dividing top and bottom by 25 gives the simplest form, 3/4. A decimal to fraction answer is usually expected in lowest terms.

Sources