Audited ·Last updated 27 Jul 2026·5 citations·Tier 1·0 uses

Adding Fractions Calculator

Add two fractions with unlike denominators and see every step: the least common denominator, each scaled numerator, the sum, and the simplified answer.

Adding Fractions Calculator

The top number of the first fraction. Must be an integer; can be positive, negative, or zero.
The bottom number of the first fraction. Must be a positive whole number from 1 to 100,000.
The top number of the second fraction. Must be an integer; can be positive, negative, or zero.
The bottom number of the second fraction. Must be a positive whole number from 1 to 100,000.
Result numerator
5
The simplified sum's numerator, sign preserved. For 1/4 + 1/6 this is 5 (the answer is 5/12).
Least common denominator (LCD)
12
First numerator scaled to the LCD
3
Second numerator scaled to the LCD
2
Raw sum (before simplifying)
5
Result denominator
12
Decimal value
0.4167
Improper / mixed flag
0
Whole part (mixed number)
0
Fractional numerator (mixed number)
5
Sum as a fraction
5/12

Background.

This adding fractions calculator combines two fractions — even ones with completely different denominators — and shows every step a textbook would ask you to write out by hand: the least common denominator (LCD), each numerator rewritten over that LCD, the raw sum before reduction, and finally the simplified answer. Enter 1/4 + 1/6 and it does not just print '5/12' — it reports lcd = 12, scaledNumerator1 = 3 (because 1/4 = 3/12), scaledNumerator2 = 2 (because 1/6 = 2/12), sumNumeratorRaw = 5, and the final resultNumerator = 5 over resultDenominator = 12. That is the actual arithmetic a student is expected to reproduce on paper, returned as real, readable numbers rather than hidden inside a single black-box answer.

Quanta's general-purpose fraction calculator (math/fraction) also has an 'add' mode, but it takes a structurally different shortcut: it cross-multiplies to the product of the two denominators (b × d) as a guaranteed — but rarely smallest — common denominator, and it returns only the final simplified sum. It never computes the true least common denominator, and it declares no scaled-numerator outputs anywhere in its schema, so there is no way to read the 'convert both fractions to the same denominator, then add' steps from that calculator at all. This page is built specifically to show that missing work: the LCD via the least common multiple, each numerator scaled to match, and the sum before and after reduction — the actual method taught in every pre-algebra classroom under the heading 'adding fractions with unlike denominators.'

Why does the LCD matter, rather than just using the product of the denominators? Both approaches give a mathematically valid common denominator and both lead to the same final, fully-reduced answer — but the LCD keeps every intermediate number as small as possible. Adding 5/6 and 3/8 using the product 6 × 8 = 48 as the denominator works, but produces the raw fraction 58/48 that still needs a further reduction step. Using the least common denominator, lcm(6, 8) = 24, gets you to 29/24 directly — already in lowest terms, no further work needed. That difference is exactly why textbooks teach the LCD method: fewer, smaller numbers to track by hand, with less risk of an arithmetic slip along the way.

The underlying method has three clean steps, and this calculator performs and reports each one individually. First, find the least common denominator: the least common multiple of the two original denominators, computed via lcm(d1, d2) = (d1 ÷ gcd(d1, d2)) × d2, using the Euclidean algorithm to find the greatest common divisor efficiently. Second, rewrite each fraction with that shared denominator by multiplying its numerator by the same scale factor the denominator was multiplied by — n1 × (lcd ÷ d1) and n2 × (lcd ÷ d2) — a step justified by the fact that multiplying any fraction by k/k (which equals 1) never changes its value. Third, add the two now-comparable numerators directly, since they are counting the same-sized pieces, and simplify the result by dividing out the greatest common divisor of the sum and the LCD.

This calculator also handles the cases that trip up manual arithmetic: a negative numerator on either fraction (subtraction is simply addition of a negative fraction), a sum that cancels exactly to zero, and a sum that lands on or exceeds a whole number, in which case the mixed-number breakdown (wholePart and fractionalNumerator) is provided alongside the improper form. Whether you're checking homework on unlike-denominator addition, combining measurements in a recipe or a woodworking plan, or just want to see the least-common-denominator method applied transparently to your own numbers, this page and the calculator above cover the single operation of fraction addition completely, with primary-source citations to OpenStax, Euclid, and Knuth.

What is adding fractions calculator?

Adding two fractions n1/d1 and n2/d2 means finding a single fraction that represents their combined value. Unlike whole numbers, fractions with different denominators cannot be added by simply adding their numerators, because the denominators describe pieces of different sizes — a fourth and a sixth are not the same-sized slice, so '1 fourth plus 1 sixth' is not meaningfully '2' of anything until both are rewritten in terms of a shared, equal-sized piece. That shared piece size is the common denominator, and the smallest one that works — the one that keeps the resulting numbers as small as possible — is the least common denominator (LCD), which is mathematically identical to the least common multiple (LCM) of the two original denominators. Once both fractions are rewritten over the LCD, their numerators count the same-sized pieces and can be added directly: n1/d1 + n2/d2 becomes (n1 × d/d1)/d + (n2 × d/d2)/d = (n1 × d/d1 + n2 × d/d2)/d, where d is the LCD. The final step is simplifying that sum to lowest terms by dividing both the numerator and denominator by their greatest common divisor, found via the Euclidean algorithm. When the resulting fraction's magnitude is 1 or greater, it can equivalently be written as a mixed number — a whole-number part plus a proper fractional remainder.

How to use this calculator.

  1. Enter the first fraction's numerator and denominator in the first pair of fields. The denominator must be a positive whole number.
  2. Enter the second fraction's numerator and denominator in the second pair of fields. Same rule: the denominator must be a positive whole number.
  3. Read the least common denominator (LCD) output — this is the smallest shared denominator both fractions are converted to before adding.
  4. Check the two scaled-numerator outputs to see exactly what each original numerator becomes once its fraction is rewritten over the LCD.
  5. Read the raw sum (before simplifying) to see the two scaled numerators added together, still over the LCD.
  6. Read the primary result — the simplified result numerator and result denominator — for the final, fully-reduced answer.
  7. Check the decimal value for a quick sense of magnitude, and the mixed-number outputs (isMixed, wholePart, fractionalNumerator) whenever the sum's magnitude is 1 or greater.
  8. To add a negative fraction (which is the same as subtracting a positive one), simply enter a negative numerator — for example, to compute 3/4 − 1/2, enter n2 = −1, d2 = 2.

The formula.

n₁⁄d₁ + n₂⁄d₂ = (n₁·d⁄d₁ + n₂·d⁄d₂) ⁄ d, d=lcm(d₁,d₂)

The calculator performs the standard least-common-denominator method for adding fractions (OpenStax Prealgebra 2e §4.5), in three explicit, individually-reported steps. Step one: find the least common denominator, d = lcm(d1, d2). The least common multiple is computed from the greatest common divisor via the identity gcd(a, b) × lcm(a, b) = a × b, rearranged as lcm(d1, d2) = (d1 ÷ gcd(d1, d2)) × d2 to avoid any intermediate value larger than necessary (Knuth, TAOCP Vol. 2, §4.5.2). The GCD itself is found by the Euclidean algorithm (Euclid, Elements, Book VII, Proposition 2): repeatedly replace the larger of two numbers with the remainder of dividing it by the smaller, until the remainder is zero — the last non-zero remainder is the GCD. Step two: rewrite each fraction with denominator d by multiplying both its numerator and denominator by the same scale factor. Since d is a multiple of d1, the scale factor for the first fraction is exactly d ÷ d1, an integer; multiplying n1 by that integer gives the new, scaled numerator, and the fraction's value is unchanged because multiplying by (d ÷ d1) over (d ÷ d1) is multiplying by 1. The same reasoning scales the second fraction by d ÷ d2. Step three: because both fractions now describe pieces of the identical size 1/d, their numerators can be added directly — this is the entire justification for requiring a common denominator in the first place, since addition of counts only makes sense when the units being counted are the same size. The raw sum sits over d and is then reduced to lowest terms by dividing both the sum and d by their greatest common divisor, found by the same Euclidean algorithm used in step one. If the reduced result's magnitude is at least 1, it additionally admits a mixed-number form: the whole part is the floor of the decimal value, and the remaining fractional numerator is the reduced numerator minus the whole part times the reduced denominator.

A worked example.

Example

Take 1/4 + 1/6. The calculator reads n1 = 1, d1 = 4, n2 = 1, d2 = 6. Both denominators pass validation. Step one: find the LCD. gcd(4, 6) is computed by the Euclidean algorithm — 6 = 1 × 4 + 2, so gcd(4, 6) reduces to gcd(4, 2); then 4 = 2 × 2 + 0, so gcd(4, 2) = 2. The LCD is therefore (4 ÷ 2) × 6 = 2 × 6 = 12. Step two: scale each numerator to twelfths. The first fraction's scale factor is 12 ÷ 4 = 3, so scaledNumerator1 = 1 × 3 = 3 (that is, 1/4 = 3/12). The second fraction's scale factor is 12 ÷ 6 = 2, so scaledNumerator2 = 1 × 2 = 2 (that is, 1/6 = 2/12). Step three: add the scaled numerators, since both fractions now count twelfths: sumNumeratorRaw = 3 + 2 = 5, giving the raw sum 5/12. Simplify: gcd(5, 12) = 1 (5 is prime and does not divide 12), so the fraction is already in lowest terms. The final answer is resultNumerator = 5, resultDenominator = 12. The decimal value is 5 ÷ 12 ≈ 0.4166666667. Since |5| < 12, the sum is proper: isMixed = 0, wholePart = 0, fractionalNumerator = 5. A second illustrative case the same engine handles: 5/6 + 3/8. Here gcd(6, 8) = 2, so the LCD is (6 ÷ 2) × 8 = 24; scaledNumerator1 = 5 × 4 = 20, scaledNumerator2 = 3 × 3 = 9; the raw sum is 29/24, already in lowest terms since gcd(29, 24) = 1; and because 29 ≥ 24 the result is improper, with wholePart = 1 and fractionalNumerator = 5 — the mixed number 1 5/24.

n11
n21
d14
d26

Frequently asked questions.

Why can't I just add the numerators and denominators of two fractions directly?
Because a fraction's denominator describes the size of the piece being counted, and adding numerators only makes sense when both fractions are counting pieces of the same size. 1/2 and 1/3 describe a half and a third — different-sized pieces — so directly combining them as '2/5' (adding numerators and denominators) does not represent the true sum, which is actually 5/6. You must first rewrite both fractions using a shared denominator so their numerators are counting identically-sized pieces, and only then can you add the numerators directly.
What is the least common denominator (LCD) and why use it instead of just multiplying the denominators?
The LCD is the smallest positive number that both original denominators divide into evenly — mathematically, the least common multiple (LCM) of the two denominators. Multiplying the two denominators together (b × d) always produces A common denominator, but not necessarily the smallest one, which means the resulting numerators are larger than they need to be and the sum often needs an extra simplification step at the end. Using the true LCD instead keeps every number in the calculation as small as possible. For 5/6 + 3/8, the product denominator is 48, but the LCD is only 24 — half the size — and using it produces an already-reduced answer directly.
How do I find the least common denominator by hand?
The fastest reliable method is via the greatest common divisor: lcm(d1, d2) = (d1 ÷ gcd(d1, d2)) × d2. First find gcd(d1, d2) using the Euclidean algorithm — repeatedly divide the larger by the smaller and keep the remainder until it reaches zero. For denominators 4 and 6: gcd(4, 6) = 2 (since 6 = 1×4+2, then 4 = 2×2+0). The LCD is then (4 ÷ 2) × 6 = 12. An equivalent, slower method for small numbers is to list multiples of each denominator until you find the first one they share: multiples of 4 are 4, 8, 12…; multiples of 6 are 6, 12…; the first shared multiple is 12.
How do I add fractions that already share the same denominator?
When both denominators are already equal, the least common denominator is just that shared denominator itself — no scaling is needed for either fraction — and you simply add the two numerators directly. For 1/5 + 2/5, both fractions are already counting fifths, so the sum is (1 + 2)/5 = 3/5. This calculator handles that case automatically: if you enter equal denominators, the scale factor for each fraction works out to exactly 1, and the scaled numerators equal the original numerators.
How do I subtract fractions using an adding-fractions calculator?
Subtraction is addition of a negative fraction — a − b is identical to a + (−b). To compute 3/4 − 1/2 with this calculator, enter the second fraction with its numerator negated: n1 = 3, d1 = 4, n2 = −1, d2 = 2. The calculator scales both numerators to the LCD exactly as it would for addition and then sums them, and because the second scaled numerator is negative, the arithmetic correctly produces the same result as subtraction: 3/4 − 1/2 = 1/4.
What does it mean when the sum's decimal value doesn't terminate?
It means the simplified sum's denominator has a prime factor other than 2 or 5 — the only two primes that divide evenly into powers of 10. For example, 5/12 has decimal value 0.41666…, repeating forever, because 12 = 2² × 3 carries a factor of 3. This is completely normal and does not indicate an error; the fraction itself (5/12) is the exact value, and the decimal is simply a rounded, base-10 approximation shown for convenience. If you need the exact terminating-versus-repeating classification, Quanta's fraction-to-decimal calculator performs that analysis directly.
What happens when two fractions add up to exactly a whole number?
The result reduces to a denominator of 1, and the mixed-number outputs reflect a whole number with no leftover fractional part. For example, 3/4 + 1/4 = 4/4, which reduces to 1/1: resultNumerator = 1, resultDenominator = 1, isMixed = 1 (because 1 ≥ 1), wholePart = 1, and fractionalNumerator = 0. The decimal value in this case is exactly 1.0 with no rounding, since 1/1 terminates trivially.
Can two fractions add up to zero?
Yes, whenever the two fractions are exact opposites — same magnitude, opposite sign. For example, 1/4 + (−1/4) sums to 0/4, which this calculator's gcd-based reduction correctly simplifies to 0/1 (using the standard convention that gcd(0, d) = d for any positive d), giving resultNumerator = 0, resultDenominator = 1, and a decimal value of exactly 0.
Why does this calculator only add two fractions instead of three or more?
Addition of fractions is associative, meaning (a + b) + c always equals a + (b + c) regardless of grouping, so you can add any number of fractions by chaining two-at-a-time additions. To compute 1/2 + 1/3 + 1/4, first add 1/2 + 1/3 to get 5/6, then enter 5/6 as the first fraction alongside 1/4 as the second and add again: (5 × 4 + 1 × 6)/(6 × 4)-style scaling via the LCD of 6 and 4 (which is 12) gives 10/12 + 3/12 = 13/12. Chaining two-fraction additions this way always produces the correct final answer.
How is this different from Quanta's general fraction calculator?
Quanta's fraction calculator (math/fraction) supports add, subtract, multiply, and divide behind a single operation dropdown, and its addition mode uses the product of the two denominators as a quick common denominator, returning only the final simplified answer — it never computes or exposes the true least common denominator or the scaled numerators. This calculator does one operation only, addition, and is built specifically to show the LCD-based method step by step: the LCD itself, each fraction rewritten over it, the raw sum, and the final simplified answer, matching exactly what a textbook asks a student to write out by hand.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 313 calculators remain free
  • No billing is enabled
Coming soon