Fraction Calculator Formula
Understand the math behind the fraction calculator. Each variable explained with a worked example.
Formulas Used
Sum Numerator
sum_numerator = a * d + b * cSum Denominator
sum_denominator = b * dSum Decimal
sum_decimal = a / b + c / dDifference Numerator
difference_numerator = a * d - b * cDifference Denominator
difference_denominator = b * dDifference Decimal
difference_decimal = a / b - c / dProduct Numerator
product_numerator = a * cProduct Denominator
product_denominator = b * dProduct Decimal
product_decimal = (a * c) / (b * d)Quotient Numerator
quotient_numerator = a * dQuotient Denominator
quotient_denominator = b * cQuotient Decimal
quotient_decimal = (a / b) / (c / d)Variables
| Variable | Description | Default |
|---|---|---|
a | Numerator 1 | 1 |
b | Denominator 1 | 3 |
c | Numerator 2 | 1 |
d | Denominator 2 | 4 |
How It Works
How to Calculate with Fractions
Addition
a/b + c/d = (a×d + b×c) / (b×d)
Subtraction
a/b - c/d = (a×d - b×c) / (b×d)
Multiplication
a/b × c/d = (a×c) / (b×d)
Division
a/b ÷ c/d = (a×d) / (b×c)
Results may need to be simplified by dividing both numerator and denominator by their greatest common factor.
Worked Example
Calculate 1/3 + 1/4, 1/3 - 1/4, 1/3 × 1/4, and 1/3 ÷ 1/4.
- 01Sum: (1×4 + 3×1) / (3×4) = 7/12 ≈ 0.583333
- 02Difference: (1×4 - 3×1) / (3×4) = 1/12 ≈ 0.083333
- 03Product: (1×1) / (3×4) = 1/12 ≈ 0.083333
- 04Quotient: (1×4) / (3×1) = 4/3 ≈ 1.333333
When to Use This Formula
- Adding or subtracting fractions with different denominators in math homework where finding a common denominator by hand is error-prone.
- Doubling or halving a recipe that uses fractional measurements like 3/4 cup or 2/3 tablespoon.
- Working with mixed numbers in construction or woodworking — for example, adding board lengths of 5 3/8 inches and 7 5/16 inches.
- Simplifying fractions to their lowest terms for cleaner presentation in reports, specifications, or academic work.
- Converting between improper fractions and mixed numbers when a problem requires one form but you have the other.
- Dividing inheritance, property, or ownership shares expressed as fractions among multiple parties.
Common Mistakes to Avoid
- Adding fractions by adding numerators and denominators separately — 1/3 + 1/4 is not 2/7. You must find a common denominator first (1/3 + 1/4 = 4/12 + 3/12 = 7/12).
- Forgetting to invert the second fraction when dividing — dividing by a fraction means multiplying by its reciprocal (a/b ÷ c/d = a/b × d/c), not dividing numerator by numerator.
- Not simplifying the final answer — leaving a result as 6/8 instead of reducing to 3/4 is technically correct but loses marks in school and creates confusion in practical applications.
- Incorrectly converting mixed numbers to improper fractions — for 3 2/5, the improper fraction is (3 × 5 + 2)/5 = 17/5, not 32/5 or 3/10.
- Cross-multiplying when it does not apply — cross-multiplication solves equations like a/b = c/d, but it is not a shortcut for addition or subtraction of fractions.
Frequently Asked Questions
How do you add fractions with different denominators?
Find a common denominator by multiplying the two denominators together (b×d), then adjust each numerator accordingly: a/b + c/d = (a×d + b×c) / (b×d).
How do you simplify fractions?
Divide both the numerator and denominator by their greatest common factor (GCF). For example, 6/12 simplifies to 1/2 because GCF(6,12) = 6.
How do you divide fractions?
To divide fractions, multiply the first fraction by the reciprocal of the second: a/b ÷ c/d = a/b × d/c = (a×d) / (b×c). Remember "keep, change, flip" — keep the first fraction, change division to multiplication, flip the second fraction.
What is an improper fraction and how do you convert it to a mixed number?
An improper fraction has a numerator larger than its denominator (e.g., 7/4). To convert to a mixed number, divide the numerator by the denominator: 7 ÷ 4 = 1 remainder 3, so 7/4 = 1 and 3/4.
Learn More
Guide
Understanding Fractions and Decimals - Complete Guide
Learn how fractions and decimals work, how to convert between them, and how to perform arithmetic operations. Includes simplification, comparison, and practical tips.
Ready to run the numbers?
Open Fraction Calculator