Skip to main content
🟢 Beginner

Decimal to Fraction Converter

Convert any decimal number to a simplified fraction instantly. Shows step-by-step conversion using GCD simplification. Free online converter, instant.

★★★★★ 4.8/5 · 📊 0 calculations · 🔒 Private & free

How to Convert a Decimal to a Fraction

Converting a decimal number to a fraction is a fundamental math skill used in cooking, construction, engineering, and everyday life. The process involves three clear steps that work for any terminating decimal:

  1. Count the decimal places. Look at how many digits appear after the decimal point. For example, 0.75 has two decimal places, while 0.125 has three.
  2. Write the number as a fraction over a power of ten. Place the digits after the decimal point in the numerator and 10 raised to the number of decimal places in the denominator. So 0.75 becomes 75/100, and 0.125 becomes 125/1000.
  3. Simplify the fraction using the Greatest Common Divisor (GCD). Find the largest number that divides both the numerator and denominator evenly, then divide both by that number. For 75/100, the GCD is 25, giving 75 ÷ 25 = 3 and 100 ÷ 25 = 4. The simplified fraction is 3/4.

Our calculator above automates all three steps. Enter any decimal and it immediately returns the fully simplified fraction in lowest terms. This eliminates manual arithmetic errors and saves time, especially with decimals that have many digits.

For negative decimals, the process is the same—convert the absolute value and apply the negative sign to the result. For instance, −0.6 becomes −6/10 = −3/5.

Whole numbers can also be expressed as fractions by placing them over 1. For example, entering 5.0 yields 5/1.

Understanding the Greatest Common Divisor (GCD)

The Greatest Common Divisor (GCD), also called the Greatest Common Factor (GCF) or Highest Common Factor (HCF), is the largest positive integer that divides two numbers without leaving a remainder. It is the key to simplifying fractions to their lowest terms.

The most efficient method for computing the GCD is the Euclidean algorithm, which dates back over 2,300 years to the Greek mathematician Euclid. The algorithm works by repeatedly applying the division: GCD(a, b) = GCD(b, a mod b), continuing until the remainder is zero. The last non-zero remainder is the GCD.

Example: Find GCD(75, 100).

Since the remainder reached zero, the GCD is 25. Dividing both 75 and 100 by 25 gives 3/4.

Another example: Find GCD(625, 1000).

The GCD is 125. So 625/1000 simplifies to 5/8.

The Euclidean algorithm is extremely fast—even for very large numbers it typically converges in a handful of steps. Our calculator uses this algorithm internally to guarantee that every result is in its simplest form.

Common Decimal to Fraction Equivalents

Below is a comprehensive reference table of common decimal values and their fraction equivalents. This table is particularly useful for woodworking, cooking, and any context where fractional measurements are standard.

DecimalFractionNotes
0.06251/16Common in woodworking
0.11/10Metric base fraction
0.1251/8Standard cooking measure
0.16671/6Repeating decimal (0.1666…)
0.21/5Common percentage fraction
0.251/4Quarter — extremely common
0.33331/3Repeating decimal (0.333…)
0.3753/8Standard wrench size
0.42/5
0.51/2Half — most common fraction
0.63/5
0.6255/8Standard wrench size
0.66672/3Repeating decimal (0.666…)
0.77/10
0.753/4Three-quarters — very common
0.84/5
0.83335/6Repeating decimal (0.833…)
0.8757/8Standard wrench size
0.99/10
1.53/2Improper fraction; also 1 1/2
2.259/4Improper fraction; also 2 1/4

Note that repeating decimals like 0.333… and 0.666… cannot be entered exactly in a calculator input. Our tool handles terminating decimals precisely; for repeating decimals, enter enough digits (e.g., 0.3333) and the result will be a close rational approximation.

Converting Repeating Decimals to Fractions

Repeating decimals require a special algebraic technique. Unlike terminating decimals, which can be written directly as fractions over powers of ten, repeating decimals need an equation-based approach.

Method for a single-digit repeat (e.g., 0.333…):

  1. Let x = 0.333…
  2. Multiply both sides by 10: 10x = 3.333…
  3. Subtract the original equation: 10x − x = 3.333… − 0.333…
  4. Simplify: 9x = 3
  5. Solve: x = 3/9 = 1/3

Method for a multi-digit repeat (e.g., 0.142857142857…):

  1. Let x = 0.142857142857… (the repeating block is 142857, which has 6 digits)
  2. Multiply by 106: 1,000,000x = 142857.142857…
  3. Subtract: 999,999x = 142857
  4. Solve: x = 142857/999999 = 1/7

Mixed repeating decimals (e.g., 0.1666…):

Here the "1" does not repeat but the "6" does. Let x = 0.1666…, then 10x = 1.666… and 100x = 16.666…. Subtract: 100x − 10x = 15, so 90x = 15, and x = 15/90 = 1/6.

These algebraic methods always produce an exact fraction for any repeating decimal, confirming the mathematical fact that every repeating decimal is a rational number.

Practical Applications

Decimal-to-fraction conversion appears in more daily situations than most people realize. Here are the fields and tasks where this skill is indispensable:

Cooking and Baking. Recipes—especially American ones—specify ingredients in fractions: 3/4 cup, 1/3 teaspoon, 2/3 cup. If your digital kitchen scale reads 0.375 pounds, knowing this equals 3/8 pound helps you match recipe quantities. Similarly, scaling a recipe by 1.5× means multiplying each fraction by 3/2.

Woodworking and Construction. Tape measures in the US are marked in fractional inches (1/16, 1/8, 1/4, etc.). If a digital caliper reads 0.3125 inches, you need to know that equals 5/16 inch to select the correct drill bit or router bit.

Finance. Stock prices were historically quoted in fractions (e.g., 45 3/8). Although US exchanges switched to decimal pricing in 2001, bond prices and mortgage points still use fractions. Understanding the decimal-fraction relationship helps interpret financial data correctly.

Education. Students learning arithmetic need to convert between decimals and fractions as a core competency. Teachers use these conversions to build number sense—the intuitive understanding that 0.75 and 3/4 represent the same quantity.

Engineering. Tolerances and specifications may be given in either form depending on the standard. Converting between them ensures that measurements are compared correctly and parts are manufactured within spec.

Sewing and Textiles. Pattern instructions often use fractions (5/8-inch seam allowance is standard), while digital cutting machines may require decimal input. Seamless conversion between the two prevents cutting errors and wasted fabric.

Improper Fractions and Mixed Numbers

When converting decimals greater than 1, the result is an improper fraction—a fraction where the numerator is larger than the denominator. For example, 1.75 = 175/100 = 7/4. This is mathematically correct and often preferred in algebra and engineering.

However, in everyday contexts like cooking and construction, mixed numbers are more intuitive. A mixed number separates the whole-number part from the fractional part: 7/4 = 1 3/4. To convert an improper fraction to a mixed number:

  1. Divide the numerator by the denominator. The quotient is the whole number.
  2. The remainder becomes the new numerator, over the same denominator.

For 7/4: 7 ÷ 4 = 1 remainder 3, so the mixed number is 1 3/4.

Here is a quick reference table for common improper fractions:

DecimalImproper FractionMixed Number
1.255/41 1/4
1.53/21 1/2
1.757/41 3/4
2.333…7/32 1/3
2.55/22 1/2
3.12525/83 1/8
3.7515/43 3/4

Rational vs. Irrational Numbers

An important mathematical concept related to decimal-to-fraction conversion is the distinction between rational and irrational numbers.

A rational number is any number that can be expressed as a fraction p/q, where p and q are integers and q ≠ 0. All terminating decimals (like 0.75) and all repeating decimals (like 0.333…) are rational numbers. This means they can always be converted to exact fractions.

An irrational number is a number that cannot be expressed as a simple fraction. Its decimal expansion goes on forever without repeating. Famous examples include:

If you enter an irrational number (or an approximation of one) into our converter, you will get a fraction that is a close rational approximation, not an exact representation. For example, entering 3.14159 yields 314159/100000, which approximates π but is not equal to it.

The classic approximations 22/7 ≈ 3.142857 and 355/113 ≈ 3.141593 are well-known rational stand-ins for π, with 355/113 being accurate to six decimal places.

Frequently Asked Questions

How do I convert a repeating decimal to a fraction?

For a repeating decimal like 0.333…, set x = 0.333…, then 10x = 3.333…. Subtract to get 9x = 3, so x = 3/9 = 1/3. For longer repeating blocks, multiply by 10 raised to the number of repeating digits. For example, 0.142857142857… has a 6-digit repeat: multiply by 106, subtract, and solve to get 1/7.

What is the fraction for 0.625?

0.625 = 625/1000. The GCD of 625 and 1000 is 125. Dividing both by 125 gives 5/8. Therefore 0.625 = 5/8.

Can all decimals be expressed as fractions?

Terminating decimals (like 0.75) and repeating decimals (like 0.333…) can always be written as exact fractions because they are rational numbers. Non-repeating, non-terminating decimals (like π = 3.14159…) are irrational and cannot be expressed as exact fractions—only approximated.

What is the fraction for 0.875?

0.875 = 875/1000. The GCD of 875 and 1000 is 125. Dividing both gives 7/8. So 0.875 = 7/8.

How do I simplify a fraction?

Find the Greatest Common Divisor (GCD) of the numerator and denominator, then divide both by the GCD. For example, to simplify 48/64: GCD(48, 64) = 16, so 48/64 = 3/4.

What is the difference between a proper and improper fraction?

A proper fraction has a numerator smaller than the denominator (e.g., 3/4), so its value is less than 1. An improper fraction has a numerator greater than or equal to the denominator (e.g., 7/4), so its value is 1 or greater. Improper fractions can be converted to mixed numbers: 7/4 = 1 3/4.

What is 0.1666… as a fraction?

0.1666… = 1/6. You can verify: let x = 0.1666…, then 10x = 1.666… and 100x = 16.666…. Subtracting: 90x = 15, so x = 15/90 = 1/6.

How do I convert a fraction back to a decimal?

Divide the numerator by the denominator. For example, 3/8 = 3 ÷ 8 = 0.375. If the division does not terminate, the result is a repeating decimal: 1/3 = 0.333…

Why do some fractions produce repeating decimals?

A fraction produces a terminating decimal only if the denominator's prime factors are limited to 2 and 5 (the factors of 10). If the denominator contains any other prime factor (like 3, 7, or 11), the decimal will repeat. For example, 1/3 repeats because 3 is not a factor of any power of 10.

What is 22/7 as a decimal?

22 ÷ 7 = 3.142857142857… (repeating block: 142857). This is a famous approximation of π, accurate to two decimal places. The better approximation 355/113 = 3.14159292… matches π to six decimal places.

{"@context":“https://schema.org”,"@type":“WebApplication”,“name”:“Decimal to Fraction Converter”,“description”:“Convert any decimal number to a simplified fraction instantly. Shows step-by-step conversion using GCD simplification.”,“url”:“https://running-calculator.com/decimal-to-fraction-converter/","applicationCategory":"UtilityApplication","operatingSystem":"Any","offers":{"@type":"Offer","price":"0","priceCurrency":"USD"}}

},{"@type”:“Question”,“name”:“What is the fraction for 0.625?”,“acceptedAnswer”:{"@type":“Answer”,“text”:“0.625 = 625/1000. GCD(625, 1000) = 125. So 625/1000 = 5/8.”}},{"@type":“Question”,“name”:“Can all decimals be expressed as fractions?”,“acceptedAnswer”:{"@type":“Answer”,“text”:“Terminating and repeating decimals can always be written as fractions. Non-repeating, non-terminating decimals like π are irrational and cannot be expressed as exact fractions.”}},{"@type":“Question”,“name”:“What is the fraction for 0.875?”,“acceptedAnswer”:{"@type":“Answer”,“text”:“0.875 = 875/1000 = 7/8 after dividing by GCD of 125.”}},{"@type":“Question”,“name”:“How do I simplify a fraction?”,“acceptedAnswer”:{"@type":“Answer”,“text”:“Find the GCD of numerator and denominator, then divide both by it. For example, 48/64: GCD is 16, so 48/64 = 3/4.”}},{"@type":“Question”,“name”:“What is the difference between a proper and improper fraction?”,“acceptedAnswer”:{"@type":“Answer”,“text”:“A proper fraction has numerator < denominator (value < 1). An improper fraction has numerator ≥ denominator (value ≥ 1). Improper fractions can be written as mixed numbers.”}},{"@type":“Question”,“name”:“What is 0.1666… as a fraction?”,“acceptedAnswer”:{"@type":“Answer”,“text”:“0.1666… = 1/6. Using algebra: 100x - 10x = 15, so 90x = 15, x = 1/6.”}},{"@type":“Question”,“name”:“How do I convert a fraction back to a decimal?”,“acceptedAnswer”:{"@type":“Answer”,“text”:“Divide the numerator by the denominator. For example, 3/8 = 0.375.”}},{"@type":“Question”,“name”:“Why do some fractions produce repeating decimals?”,“acceptedAnswer”:{"@type":“Answer”,“text”:“A fraction produces a repeating decimal when the denominator has prime factors other than 2 and 5 (the factors of 10).”}},{"@type":“Question”,“name”:“What is 22/7 as a decimal?”,“acceptedAnswer”:{"@type":“Answer”,“text”:“22/7 = 3.142857142857… (repeating). It is a famous approximation of π accurate to two decimal places.”}}]}