Adding and Subtracting Fractions Calculator
Add and subtract fractions with step-by-step solutions. Finds LCD, simplifies results, and shows mixed numbers automatically.
About
Fraction arithmetic errors cascade. A wrong common denominator in a structural load calculation or a medication dosage formula produces results that look plausible but are quantitatively wrong. This calculator finds the Least Common Denominator (LCD) using the Euclidean algorithm for GCD, performs the addition or subtraction, and reduces the result to lowest terms. It handles improper fractions and converts them to mixed numbers. All intermediate steps are exposed so you can verify each transformation. The tool assumes integer numerators and non-zero integer denominators. Negative values are permitted in any position.
Formulas
The core operation for adding or subtracting two fractions ab and cd requires a common denominator. The Least Common Denominator is computed from the Greatest Common Divisor.
With the LCD L = LCM(b, d), each fraction is scaled:
The result is then simplified by dividing both numerator and denominator by their GCD. If the absolute value of the resulting numerator is greater than or equal to the denominator, the fraction is also expressed as a mixed number: whole part w = floor(|n| รท d), remainder r = |n| mod d.
Where a = numerator of first fraction, b = denominator of first fraction, c = numerator of second fraction, d = denominator of second fraction, L = Least Common Denominator, n = resulting numerator, w = whole part of mixed number, r = remainder.
Reference Data
| Operation | Example | LCD | Converted | Result | Simplified |
|---|---|---|---|---|---|
| Addition | 12 + 13 | 6 | 36 + 26 | 56 | 56 |
| Addition | 25 + 310 | 10 | 410 + 310 | 710 | 710 |
| Subtraction | 34 โ 16 | 12 | 912 โ 212 | 712 | 712 |
| Addition | 58 + 78 | 8 | 58 + 78 | 128 | 1 12 |
| Subtraction | 79 โ 29 | 9 | 79 โ 29 | 59 | 59 |
| Addition | 14 + 14 | 4 | 14 + 14 | 24 | 12 |
| Subtraction | 56 โ 14 | 12 | 1012 โ 312 | 712 | 712 |
| Addition | 23 + 45 | 15 | 1015 + 1215 | 2215 | 1 715 |
| Subtraction | 1112 โ 38 | 24 | 2224 โ 924 | 1324 | 1324 |
| Addition | 715 + 1120 | 60 | 2860 + 3360 | 6160 | 1 160 |
| Subtraction | 12 โ 34 | 4 | 24 โ 34 | โ14 | โ14 |
| Addition | 05 + 37 | 35 | 035 + 1535 | 1535 | 37 |