Fraction Calculator
Add, subtract, multiply, and divide fractions with automatic simplification. Supports proper fractions, improper fractions, and mixed numbers.
Two Fractions
Mixed Numbers
Simplify
Convert
Quick Examples
Introduction to Fractions
When you split a pizza into slices, measure ingredients for a recipe, calculate discounts during a sale, or compare batting averages, you're working with fractions — numbers that represent parts of a whole. From cooking measurements to architectural blueprints, fractions appear whenever quantities must be divided precisely.
A fraction calculator instantly performs addition, subtraction, multiplication, and division on fractions while automatically simplifying results. Whether working with proper fractions (numerator less than denominator), improper fractions (numerator greater than or equal to denominator), or mixed numbers (whole number plus proper fraction), this tool handles all the computations accurately.
Students learning basic arithmetic, home cooks adjusting recipes, carpenters measuring lumber, musicians reading time signatures, pharmacists calculating dosages, and engineers working with precise measurements all rely on fraction calculations. This page covers all four operations (addition, subtraction, multiplication, division), fraction simplification, conversions between formats, and real-world applications.
What is a Fraction?
A fraction represents a part of a whole or, more generally, any number of equal parts. Written as a/b where a is the numerator (top number) and b is the denominator (bottom number).
Types of Fractions
| Type | Definition | Examples | Value |
|---|---|---|---|
| Proper Fraction | Numerator < Denominator | 1/2, 3/4, 7/8 | Less than 1 |
| Improper Fraction | Numerator >= Denominator | 5/4, 7/3, 9/2 | 1 or greater |
| Mixed Number | Whole number + proper fraction | 1 1/2, 2 3/4, 3 1/3 | Between integers |
| Unit Fraction | Numerator = 1 | 1/2, 1/3, 1/4 | One equal part |
| Equivalent Fractions | Same value, different form | 1/2 = 2/4 = 3/6 | Equal |
Key Components
- Numerator: The top number — how many parts you have.
- Denominator: The bottom number — how many equal parts the whole is divided into. Cannot be zero.
- Fraction bar: The line between numerator and denominator, representing division.
Why Fractions Matter
Fractions extend our number system beyond whole numbers, allowing precise representation of quantities between integers. They're essential for measuring, comparing, calculating proportions, and understanding rational numbers.
Fraction Addition
Adding Fractions with Same Denominators
When denominators are identical, simply add numerators and keep the denominator.
Example: 3/8 + 2/8 = (3 + 2) / 8 = 5/8
Adding Fractions with Different Denominators
Find a common denominator using the LCM, convert fractions, then add numerators.
The denominator b x d is a common denominator (LCM is more efficient).
Step-by-Step Process
- Find the LCM of the denominators.
- Convert each fraction to an equivalent fraction with the LCM as denominator.
- Add the numerators.
- Keep the common denominator.
- Simplify if possible.
Worked Example: 1/3 + 1/4
- Denominators: 3 and 4
- LCM(3, 4) = 12 (common denominator)
- Convert: 1/3 = 4/12, 1/4 = 3/12
- Add: 4/12 + 3/12 = 7/12
- Result: 7/12
Worked Example: 2/5 + 3/7
- LCM(5, 7) = 35
- 2/5 = 14/35, 3/7 = 15/35
- 14/35 + 15/35 = 29/35
- Result: 29/35
Alternative: Cross-Multiplication Method
For a/b + c/d: multiply numerator a by d, multiply c by b, multiply denominators:
1/3 + 1/4 = (1x4 + 1x3) / (3x4) = 7/12
This always works but may require more simplification than using LCM.
Fraction Subtraction
Subtraction follows the same process as addition — find common denominator, convert, subtract numerators.
Same Denominators
Example: 7/8 - 3/8 = 4/8 = 1/2
Different Denominators
Worked Example: 5/6 - 1/4
- LCM(6, 4) = 12
- 5/6 = 10/12, 1/4 = 3/12
- 10/12 - 3/12 = 7/12
- Result: 7/12
Worked Example: 3/4 - 2/3
- LCM(4, 3) = 12
- 3/4 = 9/12, 2/3 = 8/12
- 9/12 - 8/12 = 1/12
- Result: 1/12
Fraction Multiplication
Multiplication is the simplest fraction operation — no common denominators needed.
Step-by-Step Process
- Multiply the numerators together.
- Multiply the denominators together.
- Simplify the result if possible.
Worked Example: 2/3 x 4/5
- Numerators: 2 x 4 = 8
- Denominators: 3 x 5 = 15
- Result: 8/15 (already simplified)
Worked Example: 3/4 x 2/9
- Numerators: 3 x 2 = 6
- Denominators: 4 x 9 = 36
- Raw result: 6/36 = 1/6 (simplified)
- Result: 1/6
Tip: Cancel Before Multiplying
Simplify diagonally before multiplying to keep numbers smaller:
3/4 x 2/9: 3 and 9 share factor 3 (3/9 = 1/3). 4 and 2 share factor 2 (4/2 = 2/1).
After canceling: 1/2 x 1/3 = 1/6
Fraction Division
Dividing fractions uses the reciprocal — flip the second fraction and multiply.
The KCF Method
Keep - Change - Flip:
- Keep the first fraction the same.
- Change division to multiplication.
- Flip the second fraction (take reciprocal).
Worked Example: 1/2 / 1/4
- Keep 1/2
- Change / to x
- Flip 1/4 to 4/1
- Multiply: 1/2 x 4/1 = 4/2 = 2
- Result: 2
Worked Example: 3/4 / 2/5
- 3/4 x 5/2
- = 15/8 = 1 7/8
- Result: 15/8 or 1 7/8
Worked Example: 2/3 / 4
- Rewrite 4 as 4/1
- 2/3 / 4/1 = 2/3 x 1/4
- = 2/12 = 1/6
- Result: 1/6
Simplifying Fractions
A fraction is in simplest form (or lowest terms) when numerator and denominator have no common factors other than 1.
Using GCD to Simplify
Worked Example: Simplify 12/18
- Find GCD(12, 18) = 6
- Divide: 12 / 6 = 2, 18 / 6 = 3
- Result: 2/3
Worked Example: Simplify 36/48
- Find GCD(36, 48) = 12
- Divide: 36 / 12 = 3, 48 / 12 = 4
- Result: 3/4
Quick Simplification Method
Test small primes sequentially: divide by 2 if both even, by 3 if sum of digits divisible by 3, by 5 if both end in 0 or 5, etc.
For 24/36: Both even, divide by 2 → 12/18. Still even → 6/9. Sum of digits 6+9=15 divisible by 3 → 2/3.
Mixed Numbers and Improper Fractions
Converting Mixed Number to Improper Fraction
Worked Example: 2 3/4
- Multiply: 2 x 4 = 8
- Add numerator: 8 + 3 = 11
- Keep denominator: 4
- Result: 11/4
Converting Improper Fraction to Mixed Number
Worked Example: 17/5
- Divide: 17 / 5 = 3 remainder 2
- Whole number: 3
- Fraction: 2/5
- Result: 3 2/5
Operations with Mixed Numbers
Convert to improper fractions, perform the operation, then convert back to mixed number if needed.
Example: 1 1/2 + 2 1/3
- Convert: 1 1/2 = 3/2, 2 1/3 = 7/3
- LCM(2, 3) = 6
- 3/2 = 9/6, 7/3 = 14/6
- Add: 9/6 + 14/6 = 23/6
- Convert: 23/6 = 3 5/6
- Result: 3 5/6
Fraction to Decimal Conversion
Divide numerator by denominator to get the decimal equivalent.
Common Fraction-Decimal Equivalents
| Fraction | Decimal | Percentage |
|---|---|---|
| 1/2 | 0.5 | 50% |
| 1/3 | 0.333... | 33.33% |
| 1/4 | 0.25 | 25% |
| 1/5 | 0.2 | 20% |
| 1/6 | 0.166... | 16.67% |
| 1/8 | 0.125 | 12.5% |
| 2/3 | 0.666... | 66.67% |
| 3/4 | 0.75 | 75% |
Terminating vs. Repeating Decimals
- Terminating: Fractions where denominator's prime factors are only 2 and 5. 1/4 = 0.25 terminates.
- Repeating: Fractions with other prime factors in denominator. 1/3 = 0.333... repeats indefinitely.
Decimal to Fraction Conversion
Terminating Decimals
Write as fraction over power of 10, then simplify:
- 0.75 = 75/100 = 3/4
- 0.125 = 125/1000 = 1/8
- 0.6 = 6/10 = 3/5
Repeating Decimals
Multiply to shift the repeating part, then subtract:
- x = 0.333...
- 10x = 3.333...
- 10x - x = 3, so 9x = 3, x = 3/9 = 1/3
Comparing Fractions
Method 1: Common Denominator
Convert to equivalent fractions with same denominator, compare numerators.
Compare 3/4 and 5/6: LCM = 12. 3/4 = 9/12, 5/6 = 10/12. Since 10 > 9, 5/6 > 3/4.
Method 2: Cross-Multiplication
For a/b vs. c/d: compare a x d with b x c.
Compare 3/4 and 5/6: 3 x 6 = 18, 4 x 5 = 20. Since 20 > 18, 5/6 > 3/4.
Method 3: Convert to Decimals
3/4 = 0.75, 5/6 = 0.833... Since 0.833 > 0.75, 5/6 > 3/4.
Operations Summary Table
| Operation | Formula | Need Common Denominator? | Example |
|---|---|---|---|
| Addition | a/b + c/d = (ad+bc)/bd | Yes | 1/2+1/3=5/6 |
| Subtraction | a/b - c/d = (ad-bc)/bd | Yes | 3/4-1/3=5/12 |
| Multiplication | a/b x c/d = ac/bd | No | 2/3x3/4=1/2 |
| Division | a/b / c/d = ad/bc | No | 1/2/1/4=2 |
Real-Life Use Cases
Cooking and Baking
Recipes use fractions for measurements: 1/2 cup flour, 3/4 teaspoon salt, 2 1/3 cups milk. Doubling or halving recipes requires fraction multiplication and division.
Construction and Carpentry
Measurements in woodworking exact: 3/4 inch plywood, 5 1/2 inch wide board, 2 1/4 inch deck screws. Precise fraction addition ensures pieces fit together.
Music and Time Signatures
Time signatures like 3/4, 6/8, 2/4 are fractions. Note values (quarter note, half note, eighth note) are fractions of a whole note. Rhythm calculations use fraction math.
Finance and Shopping
Discounts like "1/3 off" or profit-sharing "split 3/4 and 1/4" use fractions. Interest calculations, investment returns, and expense division all involve fraction operations.
Probability and Statistics
Probability of events is expressed as fractions: 1/6 for rolling a specific die face, 13/52 for drawing a heart from a deck. Combining probabilities uses fraction multiplication.
Medicine and Pharmacy
Dose calculations often use fractions: 1/2 tablet, 3/4 of the prescribed amount. Adjusting dosages for weight or age requires precise fraction arithmetic.
Sports and Games
Batting average calculation, completion percentage, and scoring ratios use fractions. A player going 3 for 8 has a 3/8 = 0.375 average.
Fraction Operations in Programming
Python Using fractions Module
from fractions import Fraction # Create fractions a = Fraction(1, 3) b = Fraction(1, 4) # Operations print(a + b) # 7/12 print(a - b) # 1/12 print(a * b) # 1/12 print(a / b) # 4/3 # Simplification is automatic Fraction(12, 18) # Fraction(2, 3)
Manual Implementation
import math
def add_fractions(n1, d1, n2, d2):
num = n1 * d2 + n2 * d1
den = d1 * d2
g = math.gcd(num, den)
return (num // g, den // g)
print(add_fractions(1, 3, 1, 4)) # (7, 12)
Key Functions Needed
- GCD: For simplification
- LCM: For common denominators
- Simplification: After every operation to maintain lowest terms
Key Concepts and Glossary
- Proper fraction: Numerator less than denominator (1/2, 3/4).
- Improper fraction: Numerator greater than or equal to denominator (5/4, 7/3).
- Mixed number: Whole number plus proper fraction (2 1/3).
- Numerator: Top number, represents parts taken.
- Denominator: Bottom number, represents total equal parts.
- Equivalent fractions: Different fractions with same value (1/2 = 2/4 = 3/6).
- Simplest form: Numerator and denominator share no common factors.
- Reciprocal: Fraction flipped (reciprocal of 3/4 is 4/3).
- Common denominator: Same denominator for multiple fractions.
- LCM (Least Common Multiple): Smallest common denominator for two fractions.
- GCD (Greatest Common Divisor): Used for simplification.
- Unit fraction: Numerator equals 1 (1/2, 1/3, 1/4).
Tips and Best Practices
- Always simplify: Final answers should be in lowest terms.
- Use LCM for efficiency: Smaller numbers than multiplying denominators.
- Cancel before multiplying: Simplify diagonally to keep numbers manageable.
- Convert mixed numbers early: Improper fractions are easier to work with.
- Check denominator signs: Should always be positive; move negatives to numerator.
- Verify answers: Cross-check critical calculations.
- Memorize common equivalents: 1/2 = 0.5, 1/4 = 0.25, 3/4 = 0.75.
Common Mistakes to Avoid
- Adding denominators: 1/2 + 1/3 is NOT 2/5. Convert to common denominator first.
- Forgetting to simplify: 12/16 should become 3/4.
- Wrong reciprocal in division: Flip the SECOND fraction, not the first.
- Multiplying by common denominator: Multiply numerators only to get equivalent fractions, not denominators.
- Negative denominators: Move the negative sign: -3/4 = 3/-4 = -3/4 (standard is negative numerator).
- Forgetting whole number in mixed numbers: 2 3/4 is NOT 2 + 3/4 separately when converting.
- Confusion with division notation: 1/2 / 1/4 means dividing fractions, not 1/2/1/4 = 1/8.
Frequently Asked Questions
Historical Context
Ancient Egypt: Egyptians used unit fractions (numerator 1) exclusively around 1800 BCE. The Rhind Papyrus shows decomposition methods like 2/5 = 1/3 + 1/15.
Ancient Greece: Greeks used ratios and proportions. Pythagoreans discovered that some fractions (like sqrt(2)) cannot be expressed as integer ratios — leading to irrational numbers.
Medieval Islamic mathematics: Al-Khwarizmi (9th century) developed systematic fraction arithmetic. The horizontal fraction bar notation emerged from Arabic mathematicians.
European Renaissance: Simon Stevin's "Decimal Arithmetic" (1585) promoted decimal notation. Fraction computation remained essential alongside the new decimal system.
Modern era: Fractions are foundational in rational number theory, algebra, and calculus. They bridge arithmetic and advanced mathematics.
Related Calculators
These tools extend fraction concepts:
- GCD Calculator: Find greatest common divisor for simplification.
- LCM Calculator: Find least common multiple for common denominators.
- Decimal to Fraction Converter: Convert decimals to equivalent fractions.
- Percentage Calculator: Work with percentages as hundredths.
- Prime Factorization Calculator: Understand simplification through prime factors.
- Ratio Calculator: Express and simplify ratios.
Conclusion
Fractions are fundamental mathematical objects that extend our number system to represent parts of wholes. This page covered all four arithmetic operations: addition and subtraction (requiring common denominators) and multiplication and division (using numerators and denominators directly or reciprocals). Each operation was explained with step-by-step processes and worked examples.
Beyond basic operations, we explored simplification using GCD, conversion between improper fractions and mixed numbers, decimal equivalents, and comparison methods. Real-world applications demonstrate fractions' ubiquity in cooking, construction, music, finance, medicine, and sports.
Use the fraction calculator above for instant, accurate fraction operations with automatic simplification. Whether adding measurements for a recipe, dividing profits, or solving homework problems, this tool provides step-by-step solutions for learning and verification.