Arithmetic • Core Pillar

Decimal to Fraction Calculator

The universal converter for translating terminating and repeating decimals into exact, simplified fractions and mixed numbers. Features complete algebraic derivations and Greatest Common Divisor (GCD) reductions.

|
Last Updated: September 2026
|
Step-by-Step Algebraic Proofs

Enter Standard Decimal

e.g. 0.75, 2.625, -3.4
Popular Decimal Examples:

Fraction Output

Proper Fraction
Decimal
0.75
=
3 4
Improper Fraction 3/4
Mixed Number None
Percentage 75%

Mathematical Derivation Steps

Direct Answer & Overview
Verified Educational Guide

How to Convert Decimals to Fractions

A decimal represents a fraction whose denominator is a power of 10. To convert a terminating decimal to a fraction, place the decimal digits over 10^n (where n is the number of digits after the decimal point) and simplify the fraction by dividing both numerator and denominator by their Greatest Common Divisor (GCD).

Primary Mathematical Formula Standard Mathematical Model
Standard Equation
ƒ(x)
Q.E.D.
Terminating: x = d / 10ⁿ ⟹ Simplify via GCD(d, 10ⁿ) | Repeating: 10ⁿx − x = Integer
Evaluated with exact mathematical formulation • Rigorously verified
Exact Formula
Input Parameters
Required
1
Decimal Number: Any terminating decimal (e.g. 0.75, 2.625) or repeating decimal (e.g. 0.333..., 0.166...)
Expected Outputs
Calculated
Simplified Proper/Improper Fraction: Exact ratio in lowest terms (a/b)
Mixed Number: Integer whole part with remainder fraction (W n/d)
Step-by-Step Mathematical Derivation: Explicit power of 10 setup and GCD division
Worked Numerical Example
Instant Verification
Convert 0.75 to a simplified fraction
→ 0.75 has 2 decimal digits ⟹ 75/100. Divide by GCD(75, 100) = 25 ⟹ (75 ÷ 25) / (100 ÷ 25)
3/4

Place Value & Decimal Anatomy

The base-10 decimal system is an extension of whole-number place values into fractional units. Each position to the right of the decimal point represents a reciprocal power of 10:

1st Place
Tenths (0.1)
10⁻¹ = 1/10
2nd Place
Hundredths (0.01)
10⁻² = 1/100
3rd Place
Thousandths (0.001)
10⁻³ = 1/1,000
4th Place
Ten-Thousandths (0.0001)
10⁻⁴ = 1/10,000

Understanding this positional value allows any terminating decimal to be directly rewritten as an integer divided by 10ⁿ, where n is the count of decimal positions.

Converting Terminating Decimals (Powers of 10 & GCD)

A terminating decimal has a finite number of digits after the decimal separator. Converting it to its simplest fraction requires three systematic steps:

Step 1: Identify the Denominator Base

Count the number of digits (n) to the right of the decimal point. The unsimplified denominator is 10ⁿ.

Example: For 0.625, there are 3 decimal digits ⟹ Denominator = 10³ = 1000.
Step 2: Create the Initial Fraction

Remove the decimal point to form the numerator, and place it over the power of 10 denominator.

0.625 = 625 / 1000
Step 3: Simplify via the Greatest Common Divisor (GCD)

Calculate the GCD of the numerator and denominator using prime factorization or Euclid's algorithm. Divide both terms by the GCD.

GCD(625, 1000) = 125 ⟹ (625 ÷ 125) / (1000 ÷ 125) = 5 / 8

The Algebraic Method for Repeating Decimals

Repeating decimals (such as 0.333... or 0.1666...) cannot be placed over powers of 10 because their fractional tail is infinite. Instead, we use an algebraic cancellation technique:

Case Study: Convert 0.1666... into a Fraction

1. Let x = 0.1666...

2. Shift decimal to end of non-repeating part (1 digit ⟹ multiply by 10):
10x = 1.666... (Equation 1)

3. Shift decimal past one repeating period (1 more digit ⟹ multiply by 100):
100x = 16.666... (Equation 2)

4. Subtract Equation 1 from Equation 2 to eliminate the repeating tail:
100x − 10x = 16.666... − 1.666...
90x = 15

5. Solve for x and reduce:
x = 15 / 90 = (15 ÷ 15) / (90 ÷ 15) = 1 / 6

Common Decimals to Fractions Reference Chart

Standard conversions encountered in engineering, woodworking, cooking, and finance:

Decimal Fraction Type Percentage
0.1 1/10 Terminating 10%
0.125 1/8 Terminating (1/8th) 12.5%
0.166... 1/6 Repeating 16.67%
0.2 1/5 Terminating 20%
0.25 1/4 Terminating (Quarter) 25%
0.333... 1/3 Repeating (Third) 33.33%
0.375 3/8 Terminating (3/8ths) 37.5%
0.5 1/2 Terminating (Half) 50%
0.625 5/8 Terminating (5/8ths) 62.5%
0.666... 2/3 Repeating (Two-Thirds) 66.67%
0.75 3/4 Terminating (Three-Quarters) 75%
0.875 7/8 Terminating (7/8ths) 87.5%

Real-World Applications & Use Cases

Converting decimals to fractions is an essential practical skill across tradecraft, cooking, engineering, and data science:

Carpentry & Drill Bit Sizing

Tape measures and fractional wrench sets use 16ths, 32nds, and 64ths of an inch. A digital caliper reading of 0.4375" converts to an exact 7/16" wrench.

Culinary & Baking Measurement

When scaling recipes, decimal quantities like 1.333 cups translate to 1 1/3 cups on standard volumetric measuring cups.

Financial Ratios & Stock Splits

Stock splits and debt-to-equity ratios often output decimal values like 1.5 which represent 3:2 (3/2) shares.

Odds & Probability Theory

A statistical probability of p = 0.05 is understood intuitively when expressed as 1 in 20 (1/20).

Step-by-Step Worked Examples

Example 1: Terminating Decimal Basic

Convert 0.36 into a fraction in lowest terms.

1. Count decimal digits: 2 digits ⟹ Denominator = 10² = 100.

2. Unreduced fraction = 36 / 100.

3. Calculate GCD(36, 100): Both divide by 4 ⟹ GCD = 4.

4. Divide numerator and denominator: (36 ÷ 4) / (100 ÷ 4) = 9 / 25.

Example 2: Mixed Number Conversion Intermediate

Convert 3.875 into an improper fraction and mixed number.

1. Separate whole part (3) and fractional part (0.875).

2. Convert 0.875: 3 decimal digits ⟹ 875 / 1000.

3. GCD(875, 1000) = 125 ⟹ (875 ÷ 125) / (1000 ÷ 125) = 7 / 8.

4. Mixed Number: 3 7/8.

5. Improper Fraction: (3 × 8 + 7) / 8 = 31 / 8.

Common Calculation Pitfalls

Forgetting to Reduce to Lowest Terms

Writing 75/100 or 50/100 without dividing by their GCD leaves the fraction unsimplified and mathematically incomplete.

Miscounting Decimal Place Values

Treating 0.05 as 5/10 instead of 5/100 = 1/20. Leading zeros after the decimal point must be counted as place values.

Treating Repeating Decimals as Terminating

Approximating 0.333 as 333/1000 instead of using the algebraic repeating method which yields the exact fraction 1/3.

Fact-Checked & Verified • Computational Accuracy Standards
Updated July 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

How do you convert a terminating decimal into a fraction?
To convert a terminating decimal into a fraction, write the digits after the decimal point as the numerator over a power of 10 equal to the number of decimal places (e.g., 0.75 has two decimal places, so it becomes 75/100). Then, divide both the numerator and the denominator by their Greatest Common Divisor (GCD) to simplify it to lowest terms (75/100 ÷ 25/25 = 3/4).
How do you convert a repeating decimal into a fraction algebraically?
Let x equal the repeating decimal (e.g., x = 0.333...). Multiply x by 10^k (where k is the number of repeating digits) to shift one repeating block left of the decimal point (10x = 3.333...). Subtract the first equation from the second to cancel out the infinite repeating tails (10x - x = 3.333... - 0.333... ⟹ 9x = 3). Finally, solve for x by dividing both sides (x = 3/9 = 1/3).
What is the fraction for 0.125, 0.375, and 0.625?
0.125 is 1/8 (125/1000 simplified by 125). 0.375 is 3/8 (375/1000 simplified by 125). 0.625 is 5/8 (625/1000 simplified by 125). These are common eighth-inch fractions widely used in engineering and carpentry.
What is the difference between a proper fraction, improper fraction, and mixed number?
A proper fraction has a numerator smaller than its denominator (e.g., 3/4) with a value strictly less than 1. An improper fraction has a numerator greater than or equal to its denominator (e.g., 7/4) with a value of 1 or greater. A mixed number combines an integer with a proper fraction (e.g., 1 3/4).
Can all decimals be converted into exact fractions?
No. Only rational numbers (terminating decimals and repeating decimals) can be expressed as exact fractions of two integers (a/b). Irrational numbers (such as π = 3.14159... or √2 = 1.41421...) have non-terminating, non-repeating decimal expansions and cannot be written as exact fractions.
How do you convert a negative decimal to a fraction?
Convert the absolute value of the decimal to a fraction normally, and then attach the negative sign to the resulting numerator or in front of the fraction bar (e.g., -2.5 becomes -5/2 or -2 1/2).

Connected Arithmetic Tools

Ecosystem Hub