User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
Enter two fractions and press Calculate
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

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.

fractions calculator add fractions subtract fractions LCD calculator simplify fractions mixed numbers fraction arithmetic

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.

GCD(a, b) =
{
a if b = 0GCD(b, a mod b) otherwise
LCM(b, d) = |b ร— d|GCD(b, d)

With the LCD L = LCM(b, d), each fraction is scaled:

ab ยฑ cd = a ร— (L รท b) ยฑ c ร— (L รท d)L

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

OperationExampleLCDConvertedResultSimplified
Addition12 + 13636 + 265656
Addition25 + 31010410 + 310710710
Subtraction34 โˆ’ 1612912 โˆ’ 212712712
Addition58 + 78858 + 781281 12
Subtraction79 โˆ’ 29979 โˆ’ 295959
Addition14 + 14414 + 142412
Subtraction56 โˆ’ 14121012 โˆ’ 312712712
Addition23 + 45151015 + 121522151 715
Subtraction1112 โˆ’ 38242224 โˆ’ 92413241324
Addition715 + 1120602860 + 336061601 160
Subtraction12 โˆ’ 34424 โˆ’ 34โˆ’14โˆ’14
Addition05 + 3735035 + 1535153537

Frequently Asked Questions

It computes the Greatest Common Divisor (GCD) of the two denominators using the Euclidean algorithm, then calculates LCM = |b ร— d| รท GCD(b, d). This LCM is the smallest positive integer that both denominators divide into evenly, giving you the Least Common Denominator.
When the absolute value of the numerator equals or exceeds the denominator, the calculator automatically converts the result to a mixed number. For example, 22/15 becomes 1 7/15. Both forms (improper and mixed) are displayed.
Yes. The calculator normalizes the sign so that any negative in the denominator is moved to the numerator. For instance, 3/(โˆ’4) is treated as (โˆ’3)/4. The final result always places the sign on the numerator.
Exposing each step - finding the LCD, scaling each fraction, combining numerators, and simplifying - lets you verify the math and learn the procedure. This is critical for educational use and for catching errors in manual work.
When denominators match, the LCD equals that shared denominator. The calculator skips the scaling step and directly adds or subtracts the numerators, then simplifies. For example, 5/8 + 7/8 = 12/8 = 3/2 = 1 1/2.
Yes. A numerator of zero is valid and simply produces zero or the other fraction as the result. A denominator of zero is rejected because division by zero is undefined. The tool shows an error toast if you attempt it.