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
Step 2: Multiply to remove decimal
Step 3: Find GCD
Step 4: Simplify
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
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
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:
- Enter Decimal: Type your decimal number
- Mark Repeating (if any): Indicate repeating digits
- Click Convert: Get the exact fraction
- 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:
- 1Count decimal places: 3 digits after decimal
- 2Write over power of 10: 875/1000
- 3Find GCD(875, 1000) = 125
- 4Divide both by GCD: 875÷125 = 7, 1000÷125 = 8
- 5Simplified fraction: 7/8
- 6Verify: 7 ÷ 8 = 0.875 ✓
Result:
0.875 = 7/8
Convert Repeating Decimal
Problem:
Convert 0.454545... (0.45̅) to a fraction
Solution Steps:
- 1Let x = 0.454545...
- 2Two digits repeat, so multiply by 100
- 3100x = 45.454545...
- 4Subtract: 100x - x = 45.4545... - 0.4545...
- 599x = 45
- 6x = 45/99
- 7Simplify: GCD(45,99) = 9
- 845÷9 / 99÷9 = 5/11
Result:
0.454545... = 5/11
Convert Mixed Repeating Decimal
Problem:
Convert 0.1666... to a fraction
Solution Steps:
- 1Let x = 0.1666...
- 2Multiply by 10: 10x = 1.666...
- 3Multiply by 100: 100x = 16.666...
- 4Subtract: 100x - 10x = 16.666... - 1.666...
- 590x = 15
- 6x = 15/90
- 7Simplify: GCD(15,90) = 15
- 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
Sources & References
Last updated: 2026-01-22