Distributive Property Calculator: How to Expand Expressions Step by Step

A distributive property calculator expands an expression such as 3(x + 4) into 3x + 12. It is a small tool, but it supports a large part of algebra, because expanding correctly is the first step in solving equations, simplifying expressions, and checking factored forms. Students who rush this step often lose marks on problems they otherwise understand.

The idea is simple and visual. Multiplying a number by a sum is the same as multiplying it by each part of the sum and adding the results. If you have three groups of (4 + 5), you have three 4s and three 5s, for a total of 12 + 15, which is 27. The same total comes from 3 x 9, so the property is a way of rewriting, not a way of changing value.

What this calculator does

The distributive property says a(b + c) = ab + ac, and a(b – c) = ab – ac. The number outside the parentheses, a, must multiply every term inside, including the second term, which is the one most often forgotten. Sign matters just as much as size: a negative outside number flips the sign of each term inside, and a minus inside the parentheses becomes subtraction in the expanded form.

This calculator handles the numeric case a(b + c). You enter a, b, and c, and it returns both the expanded sum and the direct total, so you can see that the two routes agree. That agreement is a useful self-check in algebra: if expanding and evaluating directly give different answers, one of the multiplications is wrong.

Formula

a(b + c) = ab + ac. For subtraction: a(b – c) = ab – ac.

How to use it

  1. Identify the number outside the parentheses. That is a, and it multiplies everything inside.
  2. Multiply a by the first term inside the parentheses.
  3. Multiply a by the second term inside the parentheses. Do not skip this term.
  4. Add the two products, keeping signs correct.
  5. Compare with direct evaluation: first add inside the parentheses, then multiply by a. The answers must match.

Try the calculator

Worked example

Expand and evaluate 3(4 + 5). By distribution, 3 x 4 = 12 and 3 x 5 = 15, so the expanded form is 12 + 15 = 27. By direct evaluation, 4 + 5 = 9 and 3 x 9 = 27. Both routes give 27, which confirms the expansion. A second example with subtraction, 4(10 – 3), expands to 40 – 12 = 28, and direct evaluation gives 4 x 7 = 28. When both methods agree, the work is almost certainly right.

The same pattern works with variables. For 5(x + 2), distribution gives 5x + 10. You cannot combine 5x and 10 into a single number, because one term contains x and the other does not. Keeping unlike terms separate is part of correct simplification.

How to check your answer

Test the expanded form with a simple number for x. If 5(x + 2) at x = 3 gives 25 directly, the expanded form 5x + 10 must also give 25 at x = 3.

Check signs term by term. A negative multiplier changes every sign inside, not just the first one.

Count the terms after expansion. Two terms inside the parentheses should produce two products.

Common mistakes

  • Multiplying only the first term inside the parentheses and leaving the second unchanged.
  • Forgetting that a negative outside number flips the sign of each inside term.
  • Adding a and b instead of multiplying, for example writing 3 + 4 instead of 3 x 4.
  • Combining unlike terms after expansion, such as turning 5x + 10 into 15x.

Frequently asked questions

Does distribution work with subtraction?

Yes. a(b – c) = ab – ac. The second product is subtracted, and a negative multiplier reverses the signs of both products.

Why do expanded and direct answers have to match?

Because distribution is a rewrite, not a new calculation. It changes the form of an expression without changing its value, so both routes must end at the same number.

Can I distribute over more than two terms?

Yes. Multiply the outside number by every term inside, however many there are, and add the products with their correct signs.