Decimal to Fraction Calculator

To convert a decimal to a fraction, write it over a power of ten and simplify. 0.375 = 375/1000 = 3/8. This calculator also gives the mixed number and the closest fraction with a denominator up to 1,000, such as 355/113 for 3.14159.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

How Do You Convert a Decimal to a Fraction?

A decimal is just a fraction whose denominator is a power of ten. The number 0.375 has three digits after the decimal point, so it is 375 thousandths: 375/1000. Reducing that fraction to lowest terms gives 3/8. The same idea works for any terminating decimal, one that ends after a finite number of digits.

Fractions are often more useful than decimals when you need an exact value, work with measurements such as inches, or want to see how numbers relate. The decimal 0.333333 looks like it ends, but the fraction 1/3 is the exact value it approximates. That is why this calculator also shows the closest simple fraction.

Common Decimals and Their Fractions

DecimalFractionDecimalFraction
0.51/20.1251/8
0.251/40.3753/8
0.753/40.63/5
0.21/50.84/5
0.11/100.051/20

Decimal to Fraction Method

Decimal with k digits after the point → (digits as a whole number) / 10ᵏ Then divide top and bottom by their GCD
  • Count the digits after the decimal point. Call that number k.
  • Write all the digits (without the point) as the numerator and use 10ᵏ as the denominator.
  • Simplify by dividing both numbers by their greatest common divisor, which you can find with the GCD and LCM calculator.
  • If there is a whole-number part, either keep it as a mixed number or include it in the numerator.

Repeating Decimals

A repeating decimal such as 0.2727… needs an extra step. Let x = 0.2727…, multiply by 100 to get 100x = 27.2727…, then subtract: 99x = 27, so x = 27/99 = 3/11. For 0.1666… let x = 0.1666…, then 100x − 10x = 16.666… − 1.666… = 15, so 90x = 15 and x = 1/6.

How Is It Calculated? Worked Examples

0.375

  1. There are 3 digits after the point, so the denominator is 10³ = 1,000.
  2. Write 375/1000.
  3. The GCD of 375 and 1,000 is 125.
  4. 375 ÷ 125 = 3 and 1,000 ÷ 125 = 8, giving 3/8.

2.75 as a Mixed Number

  1. 2.75 = 275/100 = 11/4 after dividing by 25.
  2. As a mixed number, 11/4 = 2 3/4.

The Closest Simple Fraction

Decimals that come from measurement or from rounding are not exact fractions, but a simple fraction can come very close.

DecimalExact fraction as typedClosest with denominator up to 1,000
3.14159314159/100000355/113
0.333333333333/10000001/3
0.142857142857/10000001/7

The fraction 355/113 equals 3.14159292…, an excellent approximation of π using small numbers.

Tape-Measure Fractions

Workshop measurements use sixteenths of an inch. These decimals come up constantly:

Decimal inch0.06250.18750.31250.43750.56250.68750.81250.9375
Fraction1/163/165/167/169/1611/1613/1615/16

A Few More

12.5 = 125/10 = 25/2 (or 12 1/2), 0.04 = 4/100 = 1/25, and 1.2 = 12/10 = 6/5 (or 1 1/5). Notice that every one of these decimals terminates, so the denominator after simplifying contains only 2s and 5s. Decimals that do not terminate, such as 0.333…, need the repeating-decimal method or the closest-fraction result.

How to Use This Decimal to Fraction Calculator

  1. Enter your decimal, such as 0.375 or 2.75.
  2. Read the simplified fraction, the mixed number, the unsimplified fraction and the closest fraction with a denominator up to 1,000.
  3. Open the steps to see the power of ten and the GCD used.

To go the other way, use the fraction to decimal calculator.

Where Decimal-to-Fraction Conversion Is Used

  • Carpentry and engineering: a tape measure reads in fractions of an inch, while a calculator gives decimals. 0.625 inch is 5/8.
  • Cooking: converting 0.75 cup to 3/4 cup.
  • Mathematics classes: expressing answers exactly and comparing values.
  • Finance and betting: odds and rates are sometimes quoted as fractions.
  • Drawing and design: aspect ratios and scale factors.

Checking Your Answer and Money Examples

To verify a conversion, divide it back: 3 ÷ 8 = 0.375 ✓. The same method works for prices. $0.35 is 7/20 of a dollar, $0.15 is 3/20 and $0.45 is 9/20. And since a decimal is just a percentage in disguise, 0.375 is also 37.5%, which you can confirm with the percent to fraction calculator.

What Are the Most Common Mistakes With the Decimal to Fraction Calculator?

  • Forgetting to simplify. 375/1000 is correct but 3/8 is the proper answer.
  • Miscounting decimal places. 0.05 has two, so it is 5/100 = 1/20, not 5/10.
  • Treating a rounded decimal as exact. 0.333 is 333/1000, which is not 1/3. Choose the “closest fraction” result when the decimal is a rounded value.
  • Ignoring repeating decimals. A bar or an ellipsis signals a repeating pattern that needs the algebraic method.
  • Negative numbers. The sign belongs to the whole fraction.
  • Very long decimals. The approximation search stops at denominators of 1,000, so exotic values may not have a neat match.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

How do you convert a decimal to a fraction?

Write the digits over a power of ten matching the number of decimal places, then simplify. 0.375 = 375/1000 = 3/8.

How do you convert a repeating decimal to a fraction?

Set x equal to the decimal, multiply by a power of ten so the repeating parts line up, subtract, and solve. 0.2727… = 27/99 = 3/11.

What is 0.75 as a fraction?

3/4. Written as 75/100 and divided by 25 on the top and bottom.

What is 0.125 as a fraction?

1/8, because 125/1000 simplifies by dividing by 125.

What is the closest fraction to 3.14159?

With a denominator up to 1,000, the closest fraction is 355/113, which equals 3.14159292…

How do I convert a decimal with a whole number, like 2.75?

Write it as a mixed number, 2 3/4, or as an improper fraction, 11/4.