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:
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.
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.
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.
| Decimal | Fraction | Notes |
|---|---|---|
| 0.0625 | 1/16 | Common in woodworking |
| 0.1 | 1/10 | Metric base fraction |
| 0.125 | 1/8 | Standard cooking measure |
| 0.1667 | 1/6 | Repeating decimal (0.1666…) |
| 0.2 | 1/5 | Common percentage fraction |
| 0.25 | 1/4 | Quarter — extremely common |
| 0.3333 | 1/3 | Repeating decimal (0.333…) |
| 0.375 | 3/8 | Standard wrench size |
| 0.4 | 2/5 | |
| 0.5 | 1/2 | Half — most common fraction |
| 0.6 | 3/5 | |
| 0.625 | 5/8 | Standard wrench size |
| 0.6667 | 2/3 | Repeating decimal (0.666…) |
| 0.7 | 7/10 | |
| 0.75 | 3/4 | Three-quarters — very common |
| 0.8 | 4/5 | |
| 0.8333 | 5/6 | Repeating decimal (0.833…) |
| 0.875 | 7/8 | Standard wrench size |
| 0.9 | 9/10 | |
| 1.5 | 3/2 | Improper fraction; also 1 1/2 |
| 2.25 | 9/4 | Improper 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.
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…):
Method for a multi-digit repeat (e.g., 0.142857142857…):
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.
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.
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:
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:
| Decimal | Improper Fraction | Mixed Number |
|---|---|---|
| 1.25 | 5/4 | 1 1/4 |
| 1.5 | 3/2 | 1 1/2 |
| 1.75 | 7/4 | 1 3/4 |
| 2.333… | 7/3 | 2 1/3 |
| 2.5 | 5/2 | 2 1/2 |
| 3.125 | 25/8 | 3 1/8 |
| 3.75 | 15/4 | 3 3/4 |
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.
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.
0.625 = 625/1000. The GCD of 625 and 1000 is 125. Dividing both by 125 gives 5/8. Therefore 0.625 = 5/8.
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.
0.875 = 875/1000. The GCD of 875 and 1000 is 125. Dividing both gives 7/8. So 0.875 = 7/8.
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.
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.
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.
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…
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.
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"}}