Fraction Math Guide: Add, Divide & Simplify Exact

Master fraction addition, subtraction, multiplication, and division using common denominators, reciprocal multiplication, GCD simplification, and mixed numbers.

SwiftCalcKit · Updated November 28, 2026

Short answer

Combine fractions using exact integer formulas, normalize signs to the numerator, and divide numerator and denominator by their GCD to reach lowest terms.

Scope and assumptions

Covers exact signed integer fractions up to nine digits per input; denominators and divisors must be nonzero.

Short answer: Add or subtract fractions via (ad ± bc) / (bd), multiply via (ac) / (bd), and divide by multiplying by the reciprocal (ad) / (bc), then divide numerator and denominator by their greatest common divisor (GCD).

Exact arithmetic instead of decimal rounding

Converting 1/3 or 2/3 to decimals too early introduces rounding error. Using exact integer numerators and denominators—and reducing once at the end with Euclid's GCD algorithm—preserves exact rational results. Use the Fraction Calculator to compute and reduce automatically.

Checked worked examples

  1. Addition (3/4 + 2/3):
    • Cross-multiply to a common denominator: (3 × 3 + 2 × 4) / (4 × 3) = (9 + 8) / 12 = 17/12.
    • Since gcd(17, 12) = 1, the reduced fraction is 17/12, the mixed number is 1 5/12, and the decimal approximation is 1.41666666667.
  2. Division (5/6 ÷ 10/9):
    • Multiply by the reciprocal: (5 × 9) / (6 × 10) = 45/60.
    • Divide both terms by gcd(45, 60) = 15 to obtain 3/4 (0.75).

Signs, mixed numbers, and zero boundaries

  • Negative signs: A negative denominator is normalized onto the numerator so 3 / (-4) is written cleanly as -3/4.
  • Zero denominator: Any fraction with denominator 0 is undefined and rejected.
  • Dividing by zero: Dividing by 0/d is undefined because the reciprocal would place 0 in the denominator.

Frequently asked questions

How do I convert an improper fraction to a mixed number?

Divide the numerator's absolute value by the denominator: the integer quotient is the whole part, and the remainder stays over the denominator (for example, 17 ÷ 12 = 1 remainder 5 → 1 5/12).

Why does the calculator use BigInt integer math?

Using arbitrary-precision integers prevents 53-bit floating-point overflow when multiplying two 9-digit numerators and denominators before simplifying.

How do I turn a fraction into a percentage?

Compute the decimal approximation and multiply by 100, or compare parts and totals in the Percentage Calculator.

Sources

fractions · gcd · math