Decimal to Fraction Calculator

Convert terminating and recurring repeating decimals into simplified irreducible fractions and mixed numbers. Features step-by-step algebraic proofs, Greatest Common Divisor reductions, and visual number lines.

Quick Presets:
Supports positive and negative terminating decimal numbers
Live interactive conversion
Simplified Fraction
3/4
Unreduced Ratio 75/100
Greatest Common Divisor 25
Percentage 75%
Reciprocal 4/3

Step-by-Step Algebraic Derivation

How to Use the Decimal to Fraction Calculator

Converting a decimal to a fraction transforms floating-point numbers into exact rational proportions:

1

Select Terminating or Repeating

Use the standard mode for terminating decimals like 0.75, or switch to the repeating tab for recurring values like 0.333... or 0.166...

2

Review Algebraic Scaling

Follow the powers-of-10 base scaling for terminating values, or observe the simultaneous equation subtraction proof for repeating decimals.

3

Inspect Reduced Lowest Terms

Read the simplified proper or improper fraction, mixed number form, greatest common divisor reduction, and reciprocal.

Problems Solved by Decimal to Fraction Conversion

Infinite Repeating Decimal Proofs

Converting recurring decimals like 0.142857142857... into exact 1/7 requires simultaneous linear equation subtraction that students often misplace.

Machining & Tape Measure Readouts

Digital calipers output 0.4375 inches; converting to 7/16 inches allows machinists to select standard imperial drill bits and stock metal gauges.

Eliminating Floating-Point Rounding Drift

In financial interest modeling and physics formulas, using exact fractions (like 1/3) avoids cumulative IEEE-754 floating-point rounding errors.

Mixed Fraction Extraction

Transforming numbers like 3.875 into 3 7/8 simplifies kitchen recipe measuring spoons and woodworking cut lists.

Key Features & Capabilities

Dedicated Repeating Decimal Mode

Separates non-repeating and repeating digits to solve complex mixed recurring decimals like 0.1666... (1/6) or 1.4545... (1 5/11).

Full Algebraic Proofs

Shows the full algebraic equation system (e.g. 100x - x = 99x) step by step for academic and homework verification.

Automatic GCD Reduction

Computes the Greatest Common Divisor to reduce large unreduced fractions like 625/1000 down to simplest form (5/8).

Negative Number Support

Properly preserves signs across whole integer parts and numerator fractional parts for negative decimals.

Mathematical Formulas for Converting Decimals

For a terminating decimal with \(k\) decimal digits after the point:

Terminating Decimals
$$\text{Fraction} = \frac{D \times 10^k}{10^k} = \frac{\text{Integer}}{10^k}$$

For a repeating decimal with \(k\) repeating digits under the vinculum bar:

Repeating Decimals
$$10^k x - x = (10^k - 1)x \implies x = \frac{\text{Shifted Difference}}{10^k - 1}$$

Worked Step-by-Step Conversion Examples

Example 1: Terminating Decimal to Lowest Terms (0.375)

Count 3 decimal places, scale over 1000, and simplify by the greatest common divisor (125):

0.375 = 375/1000 = (375 ÷ 125) / (1000 ÷ 125) = 3/8
Example 2: Repeating Decimal with Vinculum (0.666...)

Let x = 0.666... Multiply by 10 to shift one recurring period, then subtract the equations:

10x - x = 6.666... - 0.666... ⇒ 9x = 6 ⇒ x = 6/9 = 2/3

Common Decimal to Fraction Reference Matrix

Decimal Value Unreduced Fraction Simplified Lowest Terms Common Application
0.125 125/1000 1/8 1/8 inch drill bit / 1/8 cup (2 tbsp)
0.25 25/100 1/4 Quarter dollar / 1/4 pound portion
0.333... 3/9 1/3 One third cup / recurring proportion
0.625 625/1000 5/8 5/8 inch socket wrench / hardware
0.875 875/1000 7/8 7/8 inch plumbing & pipe fitting

Key Insights & Best Practices

For Students & Beginners

To quickly convert any terminating decimal, write the decimal digits as the numerator and place 1 followed by as many zeroes as there are decimal digits in the denominator. Then reduce using the greatest common divisor.

For Machinists & Technicians

Digital calipers measure in decimal thousandths of an inch (e.g. 0.4375). Using an exact decimal to fraction conversion matches your readout directly to standardized fractional drill sets (7/16 in.) without guesswork.

Frequently Asked Questions

How do you convert a standard terminating decimal into a fraction?

Write the decimal digits without the decimal point as the numerator. In the denominator, write a 1 followed by as many zeros as there are decimal places. For example, 0.625 has three decimal places, so it becomes 625/1000. Finally, divide top and bottom by their GCD (125) to get 5/8.

How do you convert a repeating decimal into an exact rational fraction?

Use an algebraic system. Let x equal the repeating decimal (e.g., x = 0.4545...). Because two digits repeat, multiply by 100: 100x = 45.4545... Subtract the first equation from the second: 100x - x = 45.4545... - 0.4545..., giving 99x = 45. Divide both sides by 99: x = 45/99, which reduces by 9 to 5/11.

Why does 0.999 repeating mathematically equal 1?

Let x = 0.999... Multiplying by 10 gives 10x = 9.999... Subtracting the original equation gives 10x - x = 9.999... - 0.999..., resulting in 9x = 9. Dividing both sides by 9 yields x = 1. In real analysis, both 0.999... and 1.0 represent the exact same point on the real number line.

Can all decimal numbers be converted into fractions?

Only rational numbers (decimals that terminate or repeat with a fixed recurring cycle) can be written as exact fractions of two integers. Irrational numbers like pi (3.14159...) or the square root of 2 (1.41421...) have non-terminating, non-repeating decimal expansions that cannot be expressed as exact integer ratios.

How do you convert a negative decimal into a fraction?

Convert the absolute positive value into a fraction following standard methods, then reapply the negative sign to the resulting numerator or place it directly in front of the fraction bar. For example, -2.4 becomes -2 4/10 = -2 2/5 = -12/5.