Mathematics · Updated 2026

Decimal to Fraction Calculator

Convert any decimal number to a fraction in its simplest form. Shows the full step-by-step conversion, the mixed number form, and the GCD used to simplify.

Last updated

Simplest Form
Mixed Number Form
Step-by-Step
Click Table to Convert
Our networkLegalCost.usWhat will your legal case cost?Official formulas for all 50 states. Free, no signup.Check your state
Decimal to Fraction Calculator
Converts to simplest form with steps
Enter any decimal: 0.75, 3.14159, −0.5. For a repeating decimal, put the repeating part in brackets, 0.(3) or 0.1(6), or end it with ...

Common Decimals Click to Convert

Click any decimal in the table below to convert it instantly.

DecimalFractionPercentage
0.51/250%
0.251/425%
0.753/475%
0.333...1/333.3%
0.666...2/366.7%
0.1251/812.5%
0.3753/837.5%
0.6255/862.5%
0.8757/887.5%
0.21/520%
0.42/540%
0.63/560%
0.84/580%
0.11/1010%
0.011/1001%

Enter a decimal number to convert it to a fraction in simplest form.

How to Convert Decimals to Fractions

To turn a decimal into a fraction, write its digits over 10, 100 or 1,000 (one zero per decimal place) and simplify: 0.625 = 625/1000 = 5/8. A repeating decimal goes over nines instead, so 0.333... = 3/9 = 1/3. Type any decimal above, or put the repeating part in brackets like 0.(3), and the calculator returns the simplest fraction, mixed number and percent.

To convert a decimal to a fraction: (1) Count the decimal places. (2) Write the decimal digits as the numerator over 10 raised to the power of the decimal places as the denominator. (3) Simplify by dividing both numerator and denominator by their Greatest Common Divisor (GCD).

Example: 0.75. Two decimal places, so 75/100. GCD(75, 100) = 25. Divide both by 25: 75/25 = 3, 100/25 = 4. Result: 3/4.

Common Decimal Conversions

0.5 = 1/2. 0.25 = 1/4. 0.75 = 3/4. 0.333... = 1/3. 0.1 = 1/10. 0.2 = 1/5. 0.125 = 1/8. 0.375 = 3/8. 0.625 = 5/8. 0.875 = 7/8.

Simplifying Fractions

Find the GCD of numerator and denominator, then divide both by it. 12/16: GCD(12,16) = 4. 12/4 = 3, 16/4 = 4. Simplified: 3/4. A fraction is in simplest form when GCD = 1.

Mixed Number Form

When the decimal exceeds 1, convert to a mixed number. 2.75 = 2 and 3/4. The whole number is the integer part; the fraction is the decimal portion converted.

Repeating Decimals

0.333... = 1/3. 0.666... = 2/3. For repeating decimals, algebraic method: let x = 0.333..., 10x = 3.333..., subtract: 9x = 3, so x = 1/3.

Repeating Decimals, Worked Out

A repeating decimal is always a fraction. The shortcut: put the repeating digits over as many nines as there are repeating digits. If some digits come before the repeat starts, add one zero after the nines for each of them, and subtract those leading digits from the top.

DecimalHow to write itBefore simplifyingSimplest form
0.333...0.(3)3/91/3
0.272727...0.(27)27/993/11
0.142857142857...0.(142857)142857/9999991/7
0.1666...0.1(6)(16 − 1)/90 = 15/901/6
0.8333...0.8(3)(83 − 8)/90 = 75/905/6
0.58333...0.58(3)(583 − 58)/900 = 525/9007/12
2.4545...2.(45)(245 − 2)/99 = 243/9927/11 = 2 5/11
0.999...0.(9)9/91

Why the nines work

Take x = 0.1666... Multiply by 100 to get 100x = 16.666..., and by 10 to get 10x = 1.666... Subtracting removes the endless tail: 90x = 15, so x = 15/90 = 1/6. The calculator runs exactly this subtraction and shows it in the steps.

Inch Decimals to Sixteenths

Drawings, calipers and spreadsheets give inches as decimals, while tape measures are marked in sixteenths. Every sixteenth is a terminating decimal because 16 is a power of 2.

Decimal (in)FractionDecimal (in)Fraction
0.06251/160.56259/16
0.1251/80.6255/8
0.18753/160.687511/16
0.251/40.753/4
0.31255/160.812513/16
0.3753/80.8757/8
0.43757/160.937515/16
0.51/21.01

A value like 2.375 inches is 2 3/8 inches: 2.375 = 2375/1000, and dividing by the greatest common factor 125 gives 19/8.

Rounded Decimals and Common Mistakes

  • 0.33 is not 1/3. Typed as 0.33 it is exactly 33/100, which is off from 1/3 by about 0.0033. If you mean one third, enter 0.(3). When you type a rounded value with four or more decimals, such as 0.3333 or 0.6667, the calculator adds a note with the likely simple fraction.
  • 3.14 is not pi. 3.14 = 314/100 = 157/50. Pi never repeats, so no fraction equals it exactly; 22/7 is only an approximation.
  • Stopping at the power of ten. 0.0625 = 625/10000 is correct but not finished. Divide by 625 to get 1/16.
  • Mixing up 0.5 and 0.05. Each place matters: 0.5 = 1/2, 0.05 = 1/20, 0.005 = 1/200.
  • Dropping the whole number. 1.2 is 12/10 = 6/5 = 1 1/5, not 1/5.

To go the other way, or to add and subtract the fractions you get, use the fraction calculator. For long numerators and denominators the GCF calculator shows how the fraction is reduced.

Method and sources. Terminating decimals are written over a power of ten and reduced by the greatest common divisor (Euclidean algorithm). Repeating decimals use the standard algebraic method: multiply by powers of ten and subtract to cancel the repeating part, which gives the digits over nines. Every value in the tables was computed with exact integer arithmetic, the same method the calculator uses. The calculator reads what you type as text, so it keeps every digit you enter (up to 40) without rounding.

Decimal to Fraction Questions

Three steps: (1) Count the decimal places. (2) Write the decimal digits as the numerator over 10 raised to the power of those decimal places. (3) Simplify by dividing both by their GCD. Example: 0.625 has 3 decimal places = 625/1000. GCD(625, 1000) = 125. 625/125 = 5, 1000/125 = 8. Answer: 5/8.

Use algebra. For 0.333...: let x = 0.333... Multiply by 10: 10x = 3.333... Subtract: 9x = 3. Divide: x = 3/9 = 1/3. For 0.142857... (repeating 6 digits): multiply by 10^6 and subtract to get x = 142857/999999 = 1/7. The number of nines in the denominator equals the number of repeating digits.

0.75 = 75/100. GCD(75, 100) = 25. Simplified: 3/4. Verification: 3 ÷ 4 = 0.75. This is one of the most common decimal-to-fraction conversions. 0.75 = 75% = 3/4. Similarly: 0.25 = 1/4, 0.5 = 1/2.

Divide the numerator by the denominator. Examples: 3/4 = 3 ÷ 4 = 0.75. 1/3 = 1 ÷ 3 = 0.333... (repeating). 7/8 = 7 ÷ 8 = 0.875. 2/7 = 0.285714... (repeating 6-digit pattern). Terminating decimals come from fractions where the denominator has only 2s and 5s as prime factors.

0.1 = 1/10 in simplest form. 0.01 = 1/100. 0.001 = 1/1000. For multiples: 0.3 = 3/10. 0.07 = 7/100. 0.004 = 4/1000 = 1/250 (GCD(4,1000) = 4; 4/4 = 1, 1000/4 = 250).

Terminating decimals and repeating decimals can both be written as exact fractions: they are rational numbers. Non-repeating, non-terminating decimals (like π = 3.14159... or √2 = 1.41421...) are irrational and cannot be expressed as exact fractions. Only rational numbers can be represented as fractions.

A fraction is in simplest form (lowest terms) when the numerator and denominator share no common factors other than 1. To simplify, divide both by their GCD. Example: 18/24. GCD(18,24) = 6. 18/6 = 3, 24/6 = 4. Simplest form: 3/4. You can check: GCD(3,4) = 1, so it cannot be simplified further.

0.333 (terminating) = 333/1000. GCD(333, 1000) = 1. So it stays as 333/1000. This is subtly different from 0.333... (repeating), which equals exactly 1/3. 0.333 is 333/1000 = 0.333 exactly, while 1/3 = 0.333333... (infinite). The calculator treats input as terminating unless you mark the repeating part, for example 0.(3) or 0.333...

Convert the absolute value to a fraction, then apply the negative sign. Example: −0.75 = −3/4. The process is identical: |−0.75| = 0.75 = 75/100 = 3/4. Add the negative sign: −3/4. Negative fractions can be written as −3/4, (−3)/4, or 3/(−4), which are all equivalent.

1/8 = 1 ÷ 8 = 0.125. The eighths: 1/8 = 0.125, 2/8 = 1/4 = 0.25, 3/8 = 0.375, 4/8 = 1/2 = 0.5, 5/8 = 0.625, 6/8 = 3/4 = 0.75, 7/8 = 0.875. These are common in measurement (inches, cooking). They all terminate because 8 = 2^3 (only factor of 2).

Yes. Using the nines rule, 0.(9) = 9/9 = 1. Another way to see it: 1/3 = 0.333..., and three times that is 0.999..., which must equal 3/3 = 1. The two are different ways of writing the same number, not a close approximation.

Convert the whole thing the same way, then split off the whole part if you want a mixed number. 2.375 = 2375/1000 = 19/8 = 2 3/8. Or convert only the decimal part (0.375 = 3/8) and put the 2 in front. Both give the same answer.