Decimal to Fraction Calculator

Convert decimal numbers to fractions. Get simplified fractions and mixed number representations.

Enter Decimal

Quick examples:

Results

Fraction (Simplified)

3

4

As Text

3/4

Percentage

75%

How to Convert Decimal to Fraction

Step 1: Write as fraction over 1

0.75 = 0.75/1

Step 2: Multiply to remove decimal

(0.75 × 100)/(1 × 100) = 75/100

Step 3: Find GCD

GCD(75, 100) = 25

Step 4: Simplify

75/100 = (75÷25)/(100÷25) = 3/4

Converting Decimals to Fractions

Converting decimals to fractions allows you to express numbers in their exact form. While decimals like 0.5 are straightforward (1/2), others like 0.333... require special techniques. Understanding this conversion is essential for mathematics, engineering, and precise calculations.

Why Convert Decimals to Fractions?

  • Exact representation: 1/3 is exact; 0.333... is an approximation
  • Easier calculations: Multiplying 1/2 × 1/3 = 1/6 is simpler than 0.5 × 0.333...
  • Clearer relationships: 3/4 shows the part-to-whole relationship clearly
  • Required format: Many applications require fractional input

Common Decimal-Fraction Equivalents:

Decimal Fraction Decimal Fraction
0.5 1/2 0.125 1/8
0.25 1/4 0.333... 1/3
0.75 3/4 0.666... 2/3
0.2 1/5 0.1666... 1/6

Converting Terminating Decimals

A terminating decimal has a finite number of digits after the decimal point (e.g., 0.625). These are straightforward to convert.

Terminating Decimal Conversion

Step 1: Count decimal places (n) Step 2: Write as fraction: decimal / 10^n Step 3: Simplify by dividing by GCD Example: Convert 0.625 Step 1: 3 decimal places → n = 3 Step 2: 625 / 10³ = 625/1000 Step 3: GCD(625, 1000) = 125 625÷125 / 1000÷125 = 5/8 Result: 0.625 = 5/8

Where:

  • n= Number of decimal places
  • 10^n= Denominator (1 followed by n zeros)
  • GCD= Greatest Common Divisor for simplifying

Converting Repeating Decimals

Repeating decimals have digits that repeat infinitely (e.g., 0.333... or 0.142857142857...). These require an algebraic approach.

Repeating Decimal Conversion

For purely repeating (e.g., 0.333...): 1. Let x = the decimal 2. Multiply by 10^n (n = repeating digits) 3. Subtract: 10^n·x - x = integer 4. Solve for x Example: 0.333... Let x = 0.333... 10x = 3.333... 10x - x = 3.333... - 0.333... 9x = 3 x = 3/9 = 1/3 For mixed repeating (e.g., 0.1666...): Use additional multiplication steps

Where:

  • x= The repeating decimal value
  • n= Number of repeating digits

Types of Decimals

Understanding the type of decimal helps determine the conversion method:

Type Description Example Fraction
Terminating Ends after finite digits 0.875 7/8
Purely Repeating Repeats from decimal point 0.272727... 3/11
Mixed Repeating Non-repeating then repeating 0.1666... 1/6
Irrational Never terminates or repeats π = 3.14159... Cannot be exact

Key Insight: A decimal can be expressed as an exact fraction if and only if it either terminates or eventually repeats. Irrational numbers like π, √2, and e can only be approximated as fractions.

How to Use This Calculator

Our decimal to fraction calculator handles all types of decimals:

  1. Enter Decimal: Type your decimal number
  2. Mark Repeating (if any): Indicate repeating digits
  3. Click Convert: Get the exact fraction
  4. View Results:
    • Simplified fraction
    • Step-by-step conversion process
    • Mixed number form (if applicable)
    • Verification calculation

Input Formats:

  • Terminating: 0.625, 2.5, 0.375
  • Repeating: 0.333... or 0.(3) or 0.3̅
  • Mixed repeating: 0.16666... or 0.1(6)

Features:

  • Automatic simplification to lowest terms
  • Handles both positive and negative decimals
  • Converts to mixed numbers for values > 1
  • Shows exact fractional representation

Why Do Some Fractions Create Repeating Decimals?

Whether a fraction creates a terminating or repeating decimal depends on its denominator:

Terminating Decimals:

  • Occur when the denominator's only prime factors are 2 and/or 5
  • Examples: 1/2, 1/4, 1/5, 1/8, 1/10, 1/20, 1/25
  • The decimal system is base-10 = 2 × 5

Repeating Decimals:

  • Occur when the denominator has prime factors other than 2 or 5
  • Examples: 1/3, 1/6, 1/7, 1/9, 1/11, 1/13
  • The length of the repeating cycle relates to the denominator

Maximum Repeat Length:

  • 1/3 → 0.3̅ (1 digit repeats)
  • 1/7 → 0.142857̅ (6 digits repeat)
  • 1/11 → 0.09̅ (2 digits repeat)
  • Maximum repeat length for 1/n is n-1 digits

Practical Applications

Converting decimals to fractions is useful in many real-world situations:

Cooking and Baking:

  • Recipes often use fractions: 0.75 cups = 3/4 cup
  • Scaling recipes requires fraction arithmetic
  • Measuring cups/spoons are marked in fractions

Construction and Carpentry:

  • Measurements in inches use fractions: 0.625" = 5/8"
  • Drill bits and screws are sized in fractions
  • Blueprint dimensions often use fractions

Finance:

  • Stock prices were historically quoted in fractions (1/8, 1/16)
  • Interest rate calculations
  • Percentage to fraction conversions

Music:

  • Note durations: whole, half, quarter, eighth notes
  • Time signatures use fractions: 3/4, 6/8

Worked Examples

Convert Terminating Decimal

Problem:

Convert 0.875 to a fraction

Solution Steps:

  1. 1Count decimal places: 3 digits after decimal
  2. 2Write over power of 10: 875/1000
  3. 3Find GCD(875, 1000) = 125
  4. 4Divide both by GCD: 875÷125 = 7, 1000÷125 = 8
  5. 5Simplified fraction: 7/8
  6. 6Verify: 7 ÷ 8 = 0.875 ✓

Result:

0.875 = 7/8

Convert Repeating Decimal

Problem:

Convert 0.454545... (0.45̅) to a fraction

Solution Steps:

  1. 1Let x = 0.454545...
  2. 2Two digits repeat, so multiply by 100
  3. 3100x = 45.454545...
  4. 4Subtract: 100x - x = 45.4545... - 0.4545...
  5. 599x = 45
  6. 6x = 45/99
  7. 7Simplify: GCD(45,99) = 9
  8. 845÷9 / 99÷9 = 5/11

Result:

0.454545... = 5/11

Convert Mixed Repeating Decimal

Problem:

Convert 0.1666... to a fraction

Solution Steps:

  1. 1Let x = 0.1666...
  2. 2Multiply by 10: 10x = 1.666...
  3. 3Multiply by 100: 100x = 16.666...
  4. 4Subtract: 100x - 10x = 16.666... - 1.666...
  5. 590x = 15
  6. 6x = 15/90
  7. 7Simplify: GCD(15,90) = 15
  8. 815÷15 / 90÷15 = 1/6

Result:

0.1666... = 1/6

Tips & Best Practices

  • For terminating decimals: numerator = digits, denominator = 10^(decimal places)
  • Simplify fractions by dividing numerator and denominator by their GCD
  • Repeating decimals can always be expressed as exact fractions using algebra
  • Verify your answer by dividing the fraction back to a decimal
  • Remember: 0.333... = 1/3, 0.666... = 2/3, 0.999... = 1
  • Terminating decimals come from fractions with denominators using only 2 and 5
  • When in doubt, use the algebraic method - it works for all repeating patterns

Frequently Asked Questions

Look for a pattern that continues indefinitely. If you're working with a calculated value, check if the source is a fraction with denominators containing primes other than 2 or 5. For practical purposes, if 6+ digits repeat in the same pattern, it's likely repeating. Calculators sometimes round, hiding the repeat - 1/3 might show as 0.3333333 instead of 0.333...
No. Only terminating and repeating decimals can be converted to exact fractions. Irrational numbers like π (3.14159...), e (2.71828...), and √2 (1.41421...) never terminate or repeat, so they can only be approximated as fractions. Common approximations: π ≈ 22/7 or 355/113, √2 ≈ 99/70.
Some fractions naturally have large numerators and denominators. For example, 0.142857142857... = 1/7, but 0.123123... = 41/333. The result is still correct even if it doesn't simplify to small numbers. Always verify by dividing the numerator by the denominator to confirm you get the original decimal.
Convert the positive version first, then apply the negative sign to the result. For example, -0.75: convert 0.75 = 3/4, then -0.75 = -3/4. The negative sign can go with the numerator (-3/4), denominator (3/-4), or in front (-3/4) - all are equivalent.
Either convert to a mixed number or an improper fraction. For 2.75: Method 1 - Convert 0.75 = 3/4, so 2.75 = 2¾. Method 2 - 2.75 = 275/100 = 11/4 (improper). For repeating: 3.333... = 3⅓ = 10/3.
This is mathematically true! Let x = 0.999... Then 10x = 9.999... Subtracting: 10x - x = 9.999... - 0.999... = 9, so 9x = 9, meaning x = 1. Another way: 0.999... = 9/9 = 1. They're the same number written differently, just as 0.5 and 1/2 are the same.

Sources & References

Last updated: 2026-01-22