Decimal to Fraction Calculator

This decimal to fraction calculator turns any decimal, including a repeating one like 0.(3), into an exact fraction in lowest terms. Type the decimal and you'll see the starting fraction, the GCF used to reduce it, the mixed number, the percentage and a cross-multiplication check.

Calculation and content reviewed by EZ Calculators Editorial Team on .

Enter values

Enter a terminating decimal or put only the endlessly repeating block in parentheses. The result preserves the digit string, reduces it exactly, and verifies the fraction with integer evidence.

Build the scenario below, then calculate for a complete result report.

Runs in your browser
Exact notation

Enter one decimal value

Use a period for the decimal separator. Put only an endlessly repeating block in parentheses, such as 0.(3) or 1.2(34). Ellipses, commas, and scientific notation are intentionally rejected because they do not identify one exact decimal expansion here.
Use a period as the decimal separator. Examples: 0.75, .625, -2.4, 0.(3), or 1.2(34). Parentheses contain only the endlessly repeating block.
Exact notation examplesChoose an example to convert it immediately
Digits are treated exactlyUp to 30 entered digits are converted with integer arithmetic; no floating-point guess is used for the fraction.
A shortened value such as 0.333 is converted as exactly 333/1000. To mean the infinite repeating decimal 0.333..., enter 0.(3). Parentheses remove that ambiguity.

How do you convert a decimal to a fraction?

Write the digits after the point over 10, 100 or 1,000 (one zero per decimal place), then divide the top and bottom by their greatest common factor. For 0.125, three decimal places give 125/1000. Both numbers divide by 125, so 0.125 = 1/8. A repeating decimal like 0.(3) needs a different step and equals 1/3.

How to use the decimal to fraction calculator

Type one number with a period as the decimal point. Plain entries like 0.125, .625, -2.4 or 7 are read exactly as written. If some digits repeat forever, put only the repeating part in parentheses: 0.(3) means 0.333... and 1.2(34) means 1.2343434...

The big answer is the simplified fraction. Below it you'll find the starting fraction, the GCF that reduced it, the mixed number, the decimal and percentage forms, whether the fraction's decimal ends or repeats, and a table of equivalent fractions.

  1. Type the decimal, with the minus sign first if it's negative. Leave out thousands commas.
  2. For a repeating decimal, wrap just the repeating digits in parentheses, like 0.1(6).
  3. Press Convert to fraction.
  4. Read the simplified fraction, then the mixed number if the value is more than 1.
  5. Use the starting fraction and GCF rows to follow or check the reduction.

Decimal to fraction chart in sixteenths

Every step of 0.0625 is one more sixteenth. Use it with any ruler or tape measure marked in sixteenths of an inch. Each fraction is shown in lowest terms.

Decimals in 1/16 steps from 0.0625 to 1
DecimalFractionIn sixteenths
0.06251/161/16
0.1251/82/16
0.18753/163/16
0.251/44/16
0.31255/165/16
0.3753/86/16
0.43757/167/16
0.51/28/16
0.56259/169/16
0.6255/810/16
0.687511/1611/16
0.753/412/16
0.812513/1613/16
0.8757/814/16
0.937515/1615/16
1116/16

Common decimals as fractions

Tenths and the usual repeating decimals don't land on a sixteenth, so they get their own chart. The repeating rows use the same parentheses you'd type into the converter. Note that 0.33 and 0.(3) are different numbers: 0.33 is exactly 33/100.

Tenths, fifths and repeating decimals as fractions
DecimalFractionType
0.11/10Terminating
0.21/5Terminating
0.251/4Terminating
0.33/10Terminating
0.42/5Terminating
0.63/5Terminating
0.77/10Terminating
0.753/4Terminating
0.84/5Terminating
0.99/10Terminating
0.111... = 0.(1)1/9Repeating
0.1666... = 0.1(6)1/6Repeating
0.333... = 0.(3)1/3Repeating
0.666... = 0.(6)2/3Repeating
0.8333... = 0.8(3)5/6Repeating

The place value method for decimals that end

A decimal that stops is already a fraction in disguise. Tenths sit over 10, hundredths over 100, thousandths over 1,000. Count the digits after the point, drop the point, and put that whole number over 1 followed by that many zeros. Then divide top and bottom by their greatest common factor.

For 3.2117, four places give 32117/10000, which doesn't reduce. For 0.125, three places give 125/1000. The GCF is 125, so the answer is 1/8. Extra zeros on the end, like 0.1250, make a bigger starting fraction but reduce to the same answer.

Formula guide
  • Fraction = digits without the decimal point / 10^n, where n is the number of decimal places
  • Lowest terms: divide the numerator and denominator by GCF(numerator, denominator)

Repeating decimal to fraction

When a block of digits repeats forever, the place value method can't work because there's no last digit. Instead, the repeat goes over a run of 9s. A one-digit repeat goes over 9, a two-digit repeat over 99, so 0.(27) = 27/99 = 3/11.

If some digits come before the repeat, take the digits through one full repeat, subtract the digits before the repeat, and divide by the matching 9s followed by 0s. For 1.2(34), that's (1234 - 12) / 990 = 1222/990. Dividing by 2 gives 611/495, or 1 116/495 as a mixed number.

Formula guide
  • Pure repeat: 0.(R) = R / (10^r - 1), where r is the number of repeating digits
  • Delayed repeat: (digits through one repeat - digits before the repeat) / (10^(m+r) - 10^m), where m digits come before the repeat

Decimal to fraction inches

A drawing that says 2.375 in converts cleanly: 0.375 is 3/8, so it's 2 3/8 inches on the tape. Any decimal from the sixteenths chart above lands exactly on a ruler mark.

Most decimals don't. The converter gives the exact fraction, so 0.3 in comes out as 3/10, which isn't on a tape. To find the nearest sixteenth, multiply the decimal by 16, round to a whole number and put it over 16. For 0.3, that's 4.8, which rounds to 5, so 5/16 in (0.3125 in, which is 0.0125 in longer). For 0.65, 10.4 rounds to 10, and 10/16 reduces to 5/8 in.

Formula guide
  • Nearest sixteenth = round(decimal inches x 16) / 16

Worked examples

These cover a plain decimal, a negative number, a whole number written with decimals, and three kinds of repeat. Each one matches what the converter shows in its starting fraction and GCF rows.

Decimal to fraction worked examples
You typeStarting fractionDivide byAnswer
0.125125/10001251/8
-2.4-24/102-12/5 = -2 2/5
6.0006000/100010006
0.(27)27/9993/11
0.1(6)15/90151/6
1.2(34)1222/9902611/495

When the decimal was rounded

The converter treats what you type as exact. If a screen showed 0.333 after rounding, you'll get 333/1000, because nothing in those digits says the 3s keep going. Type 0.(3) only when you know the value really is one third.

The same goes for measurements. Turning 0.3 in into 5/16 in is a rounding choice, and it's off by 0.0125 in. That's fine for framing and too loose for machining, so keep the tolerance of the job in mind before you swap a decimal for a handy fraction.

Sources

FAQ

What is 0.375 as a fraction?

0.375 is 3/8. Three decimal places give 375/1000, and both numbers divide by 125. On a tape measure that's six sixteenths, the mark between 1/4 and 1/2.

What is 0.33 as a fraction?

0.33 is exactly 33/100, which doesn't simplify. It's close to 1/3 but not equal. Only the repeating decimal 0.333..., typed as 0.(3), equals 1/3.

What is 0.6 as a fraction?

0.6 is 3/5. One decimal place gives 6/10, and dividing both by 2 gives 3/5. As a percentage that's 60%.

How do I type a repeating decimal into the calculator?

Put only the repeating digits in parentheses. Type 0.(6) for 0.666..., and 0.8(3) for 0.8333... where only the 3 repeats. A trailing "..." on its own isn't accepted because it doesn't say which digits repeat.

Why does 0.999... equal 1?

Call it x. Then 10x is 9.999..., and subtracting x leaves 9x = 9, so x = 1. Type 0.(9) and the converter returns 1 for the same reason.

Can I convert a negative decimal to a fraction?

Yes. Put the minus sign first, like -2.4. The converter reduces the size as usual and keeps the sign on the top number, so -2.4 becomes -12/5, or -2 2/5.

How do I write 1.75 as a mixed number?

1.75 is 175/100, which reduces to 7/4. Divide 7 by 4 to get 1 with 3 left over, so 1.75 = 1 3/4. The converter shows the mixed number on its own row.

Which fractions have decimals that end?

In lowest terms, a fraction's decimal ends only when the denominator has no prime factors except 2 and 5. So 3/8 ends at 0.375, while 1/6 repeats because 6 contains a 3.