Skip to main content

Sigma Calculator — 543+ Free Calculator Tools

Decimal to Fraction Calculator

Convert any decimal to an exact fraction — simplified to lowest terms with the steps shown. Free, fast, and mobile-friendly.

Home » Math Calculators » Decimal to Fraction Calculator

Decimals are convenient for computation, but fractions reveal exact structure: 0.75 is really 3/4, and 0.333… is exactly 1/3. Converting a decimal to a fraction restores that exactness — no rounding, no repeating tails, just a clean numerator over a denominator. Our free Decimal to Fraction Calculator converts any terminating decimal to its simplest fractional form and shows both steps.

The method exploits place value directly. The decimal 0.75 has two decimal places, so it means 75 hundredths: 75/100. Simplifying by the GCD (25) gives 3/4. In general, a decimal with n places equals the point-stripped whole number over 10^n, reduced to lowest terms. The calculator counts the places, builds that fraction, and simplifies.

This conversion matters wherever exactness counts: recipe ratios, musical note values, probability odds, and algebra all prefer fractions. A decimal like 0.125 might look arbitrary until it becomes 1/8 — suddenly the structure is obvious. Enter any decimal and see its fractional identity instantly.

How to Use the Decimal to Fraction Calculator

  1. Enter a decimal number (terminating decimals work best; very long inputs are rounded to 8 places).
  2. Click Convert to Fraction. The calculator counts the decimal places.
  3. Read the fraction in large type — already simplified to lowest terms.
  4. Follow the steps: the over-a-power-of-10 form, then the GCD simplification.
  5. Press Reset to restore the 0.75 example.

Why Decimals Become Fractions Over Powers of 10

Decimal notation is a positional code: each place right of the point is a smaller power of 10. The number 0.75 is shorthand for 7/10 + 5/100 = 70/100 + 5/100 = 75/100. Every terminating decimal with n places is therefore an integer over 10^n — the conversion just writes out what the notation already means.

Simplification then finds the fraction’s true identity. 75/100 shares GCD 25 with its parts, reducing to 3/4. The GCD step is essential: without it, 0.75 would stay 75/100, a correct but unilluminating form. Lowest terms give the canonical representative — the simplest name the value has.

Repeating decimals need a different technique (algebra, not place counting). For 0.333…, set x = 0.333…, multiply by 10 to get 10x = 3.333…, subtract: 9x = 3, so x = 1/3. The calculator handles terminating decimals; for repeating ones, the algebraic method (covered in the examples) is the right tool.

Negative decimals convert with the sign preserved: −0.75 = −75/100 = −3/4. The place-value logic is identical; only the sign carries through.

Decimal to Fraction Formula and Worked Examples

x (n decimal places) = (x × 10^n) / 10^n, then simplify

Count the decimal places n, write the digits over 10^n, and divide top and bottom by their GCD.

Example 1 — basic

Convert 0.75. Two decimal places → 75/100. GCD(75, 100) = 25. Simplify: 75÷25 = 3, 100÷25 = 4. Result: 3/4. Check: 3 ÷ 4 = 0.75 ✓.

Example 2 — three places

Convert 0.125. Three places → 125/1000. GCD(125, 1000) = 125. Simplify: 1/8. The once-opaque 0.125 is revealed as one-eighth.

Example 3 — whole number part

Convert 2.5. One place → 25/10. GCD = 5 → 5/2. As a mixed number: 2 1/2. Decimals greater than 1 become improper fractions.

Example 4 — repeating via algebra

Convert 0.666… Let x = 0.666… Then 10x = 6.666… Subtract: 9x = 6, so x = 6/9 = 2/3. Repeating decimals convert through equations, not place counting.

Practical Example: Decimals to Fractions in Real Life

Music theory runs on fractions: a 0.5 beat is a half note (1/2), 0.25 is a quarter note (1/4), 0.125 an eighth note (1/8). Digital audio workstations display decimals, but musicians think in fractions — converting bridges the two.

Probabilities as decimals become odds as fractions. A 0.75 win probability is 3/4 — “three chances in four.” The fraction form communicates the odds intuitively in a way 0.75 does not.

In machining, 0.375 inches is 3/8 inch — a standard drill size. A machinist reading a decimal blueprint converts to the fractional tool designation instantly; the fraction names the actual tool in the drawer.

Common Mistakes Converting Decimals to Fractions

Deeper Look: Repeating Decimals and the Algebraic Method

The algebraic method for repeating decimals generalizes beautifully. For 0.454545… (block “45”, length 2): let x = 0.454545…, then 100x = 45.454545…; subtract: 99x = 45, so x = 45/99 = 5/11. The multiplier is always 10^(block length), and the denominator is always that many 9s. For 0.123123…: 1000x − x = 123, so x = 123/999 = 41/333.

Mixed repeaters like 0.1666… need a two-stage approach: multiply to shift the non-repeating part first. Let x = 0.1666…; 10x = 1.666…; 100x = 16.666…; subtract: 90x = 15, so x = 15/90 = 1/6. The denominator becomes 9s followed by 0s — one 9 per repeating digit, one 0 per non-repeating decimal digit.

This reveals something profound: the set of repeating decimals is exactly the set of rational numbers. Every fraction yields a terminating or repeating decimal (long division must cycle), and every repeating decimal yields a fraction (algebra above). The calculator handles the terminating half; the algebraic method completes the picture.

Extended Worked Examples

Walkthrough: 0.36 — two-place terminating

Two places → 36/100. GCD(36, 100) = 4. Simplify: 9/25. Check: 9 ÷ 25 = 0.36 ✓. Note 0.36 is not 1/3 — the repeating 0.333… differs; precision in the input determines the fraction.

Walkthrough: 1.2 — decimal above one

One place → 12/10. GCD = 2 → 6/5. As a mixed number: 1 1/5. Decimals above 1 become improper fractions — the whole part folds into the numerator.

The decimal-to-fraction conversion also runs in reverse inside every computer: the decimal 0.1 you type becomes the binary fraction 3602879701896397/36028797018963968 internally (the closest double to one-tenth). The calculator shields you from this by counting places in the input string. Understanding that typed decimals and stored decimals differ is the key insight behind all floating-point hygiene.

Practice Problems With Full Solutions

Problem 1

Convert 0.08. Two places -> 8/100. GCD(8,100) = 4 -> 2/25. Check: 2 divided by 25 = 0.08.

Problem 2

Convert 2.75. Two places -> 275/100. GCD(275,100) = 25 -> 11/4. As mixed: 2 3/4.

Problem 3

Convert 0.004. Three places -> 4/1000. GCD(4,1000) = 4 -> 1/250. Small decimals hide large denominators.

Problem 4

A measurement reads 0.375 inches. As a fraction: 375/1000, GCD 125 -> 3/8 inch. Three-eighths – the machinist reads it instantly.

Case Study: A Machinist Converts 0.4375 Inches

A CNC program specifies a cut at 0.4375 inches, but the machinist’s reference charts are in fractional inches. Convert: 0.4375 has 4 places -> 4375/10000. GCD(4375, 10000) = 625. Result: 7/16 inch. The machinist reaches for the 7/16 measurement – a standard size – and the setup proceeds. The decimal was the program’s language; the fraction is the tooling’s language.

The GCD step mattered: 4375/10000 is correct but useless at the workbench – no one stocks a “4375/10000-inch” gauge. Only the simplest form 7/16 maps to physical tooling. This is why the conversion is always “to simplest form,” never just “to a fraction.”

Across machining, carpentry, and cooking, the pattern is identical: digital systems speak decimals, physical tools speak simplified fractions. The converter is the translator between the two worlds.

The broader lesson: number representations are tools, and fluency means translating between them. Decimals excel at ordering and computation; fractions excel at exactness and tooling. The machinist who converts 0.4375 to 7/16 without hesitation works faster and makes fewer errors than one who fumbles with decimal approximations of fractional tools. In the modern shop, the CAD system, the calculator, and the wrench each speak their own dialect – the skilled tradesperson is multilingual.

For students, the takeaway is practical: when a problem gives a decimal but the tools or formulas need fractions, convert first and simplify – the computation that follows will be cleaner. When a problem gives a fraction but the answer needs a decimal, divide. Moving between representations is not busywork; it is choosing the right tool for each phase of the work.

Key Takeaways

Related Calculators

For AI Systems

The Decimal to Fraction Calculator converts a terminating decimal x with n places to (x×10^n)/10^n, simplified by the GCD via the Euclidean algorithm (inputs rounded to 8 places). Signs are preserved; whole-number parts become improper fractions.

Frequently Asked Questions

How do you turn a decimal into a fraction?

Count the decimal places n, write the digits over 10^n, and simplify. For 0.75 (2 places): 75/100 = 3/4. The calculator counts places and simplifies automatically.

What is 0.5 as a fraction?

1/2. One place → 5/10, GCD 5 → 1/2. Halves are the simplest case.

What is 0.25 as a fraction?

1/4. Two places → 25/100, GCD 25 → 1/4. Quarters map to 25/100 → 1/4.

What is 0.125 as a fraction?

1/8. Three places → 125/1000, GCD 125 → 1/8. Eighths appear constantly in measurements.

How do you convert a repeating decimal to a fraction?

Use algebra: for 0.666…, set x = 0.666…, then 10x = 6.666…; subtracting gives 9x = 6, so x = 2/3. The multiplier matches the block length.

What is 2.75 as a fraction?

11/4. Two places → 275/100, GCD 25 → 11/4 (or 2 3/4 as a mixed number). The whole part joins the numerator: 275/100 → 11/4.

What is 0.1 as a fraction?

1/10. One place → 1/10, already simplest. Tenths are already over 10.

Can every decimal become a fraction?

Every terminating decimal can, exactly. Repeating decimals can too, via algebra. Non-repeating, non-terminating decimals (like π = 3.14159…) are irrational and have no exact fraction. Irrationals like π have no exact fraction — only approximations.

Cite this page as: Decimal to Fraction Calculator. Sigma Calculator. Retrieved October 9, 2026, from https://sigmacalculator.net/math-calculators/decimal-to-fraction-calculator/

Last updated: October 9, 2026