Skip to content

Expanding brackets calculator with working

Free TutorAura tool · no sign-up · Updated

Enter each bracket in the form (ax+b)(ax + b) and the calculator multiplies them out, listing every product and collecting like terms. It handles single brackets (like 3(x+4)3(x + 4)), double brackets and triple brackets.

Example: (2x−1)(x+4)=2x2+8x−x−4=2x2+7x−4(2x - 1)(x + 4) = 2x^2 + 8x - x - 4 = 2x^2 + 7x - 4.

Loading the tool

Double brackets: multiply every term

Each term in the first bracket multiplies each term in the second. FOIL (First, Outside, Inside, Last) is one way to remember the four products:

For (x+3)(x+5)(x + 3)(x + 5):

  • First: x×x=x2x \times x = x^2
  • Outside: x×5=5xx \times 5 = 5x
  • Inside: 3×x=3x3 \times x = 3x
  • Last: 3×5=153 \times 5 = 15

Collect: x2+8x+15x^2 + 8x + 15. A grid with one bracket along the top and one down the side works the same way.

Squared brackets

(x+3)2(x + 3)^2 means (x+3)(x+3)(x + 3)(x + 3), which is x2+6x+9x^2 + 6x + 9, not x2+9x^2 + 9. The middle term comes from the two "outside" and "inside" products. In general, (x+a)2=x2+2ax+a2(x + a)^2 = x^2 + 2ax + a^2.

Triple brackets

Expand two brackets first, then multiply the result by the third.

(x+1)(x+2)(x+3)(x + 1)(x + 2)(x + 3): first (x+1)(x+2)=x2+3x+2(x + 1)(x + 2) = x^2 + 3x + 2. Then (x2+3x+2)(x+3)=x3+3x2+3x2+9x+2x+6=x3+6x2+11x+6(x^2 + 3x + 2)(x + 3) = x^3 + 3x^2 + 3x^2 + 9x + 2x + 6 = x^3 + 6x^2 + 11x + 6.

Single brackets

Multiply the term outside by everything inside: 3(x+4)=3x+123(x + 4) = 3x + 12, and 2x(x−5)=2x2−10x2x(x - 5) = 2x^2 - 10x. In the calculator, enter a single term like 3 as a bracket with a=0a = 0 and b=3b = 3.

Common mistakes

  • Missing the middle terms when squaring a bracket.
  • Sign errors: a negative times a negative is positive.
  • Not collecting like terms at the end.

Practise with our expanding brackets questions, and reverse the process with the factorising calculator.

Exam tips

  • Write all four products before collecting; marks are given for them.
  • "Expand and simplify" means collect like terms too.
  • Triple brackets are Higher tier at GCSE.

Why expanding matters

Expanding brackets is the first step in many longer questions:

  • Solving equations: 3(x−2)=2(x+1)3(x - 2) = 2(x + 1) becomes 3x−6=2x+23x - 6 = 2x + 2, so x=8x = 8.
  • Proving identities: show that (n+1)2−n2=2n+1(n + 1)^2 - n^2 = 2n + 1 by expanding: n2+2n+1−n2=2n+1n^2 + 2n + 1 - n^2 = 2n + 1.
  • Area problems: a rectangle with sides (x+3)(x + 3) and (x+5)(x + 5) has area x2+8x+15x^2 + 8x + 15.

Our algebraic proof questions use this a lot.

Brackets with negatives

Negative signs cause most errors, so take them one product at a time.

Example: (x−4)(x−3)(x - 4)(x - 3). The four products are x2x^2, −3x-3x, −4x-4x and (−4)×(−3)=+12(-4) \times (-3) = +12. Collected: x2−7x+12x^2 - 7x + 12.

Example: (3−x)(x+2)(3 - x)(x + 2). Products: 3x3x, 66, −x2-x^2, −2x-2x. Collected and written with the highest power first: −x2+x+6-x^2 + x + 6.

A minus in front of a bracket changes every sign inside: −(2x−5)=−2x+5-(2x - 5) = -2x + 5.

Frequently asked questions

How do you expand double brackets?

Multiply each term in the first bracket by each term in the second (four products), then collect like terms.

What is (x + 3) squared?

x² + 6x + 9. Write it as (x + 3)(x + 3) and expand: the middle term is 3x + 3x = 6x.

How do you expand triple brackets?

Expand any two brackets first, then multiply the result by the third bracket and collect like terms.

Is anything I type sent to a server?

No. The calculation runs in your browser and nothing is stored.

Sources

  1. GCSE mathematics: subject content and assessment objectives. Department for Education.
  2. Cambridge IGCSE Mathematics 0580 syllabus. Cambridge International.