Expand and Simplify Calculator - Algebraic Expressions Online

Supports brackets, exponents (^), and multiple variables

Quick Examples

Simplified Result

x^2 - x - 12

Terms

3

Degree

2

Variables

x

1

Expression: (x + 3)(x - 4)

2

Expand brackets: x^2 - 4x + 3x - 12

3

Combine like terms: x^2 - x - 12

Before & After

Expanded

x^2 - 4x + 3x - 12

Simplified

x^2 - x - 12

How to Use This Calculator

  1. Type or paste your algebraic expression in the input field above
  2. Use brackets for grouped terms — e.g., (x + 3)(x - 4)
  3. Use ^ for exponents — e.g., (2x + 1)^2
  4. The result updates automatically as you type, showing the expanded and simplified form
  5. Click "Step-by-Step Solution" to see the full expansion process

Share this calculator

Help others solve their calculations

Found this calculator helpful? Share it with your friends, students, or colleagues who might need it!

Expand and Simplify Calculator: Master Bracket Expansion Step by Step

An expand and simplify calculator takes algebraic expressions with brackets and multiplies them out, then collects like terms to produce the simplest polynomial form. Whether you are expanding a single bracket like 3(2x + 5), applying FOIL to double brackets such as (x + 3)(x − 4), or raising a binomial to a power like (x + 2)³, this tool shows every step of the process so you can learn the method while checking your homework.

About the Author

Marko Šinko - Co-Founder & Lead Developer

Marko Šinko

Co-Founder & Lead Developer, AI Math Calculator

Lepoglava, Croatia
Advanced Algorithm Expert

Croatian developer with a Computer Science degree from University of Zagreb and expertise in advanced algorithms. Co-founder of award-winning projects, ensuring precise mathematical computations and reliable calculator tools.

📅 Published:
Expand and Simplify Calculator showing bracket expansion with step-by-step algebra solutions

What Does "Expand and Simplify" Mean?

Expanding means removing brackets by multiplying each term inside the bracket by the factor outside (or by every term in the other bracket). Simplifying means combining like terms — terms that share the same variable and exponent — into a single term. The two operations together convert a factored expression into standard polynomial form.

For example, 2(x + 3) expands to 2x + 6. No like terms to combine, so the simplified result is the same. But (x + 2)(x + 5) first expands to x² + 5x + 2x + 10, and then simplifies to x² + 7x + 10 after combining the two x terms.

Expanding a Single Bracket

The distributive property states that a(b + c) = ab + ac. Multiply the factor outside the bracket by each term inside.

Worked Example — Single Bracket

Expand: 4(3x − 2)

Step 1: 4 × 3x = 12x

Step 2: 4 × (−2) = −8

Result: 12x − 8

If there is a negative sign outside, distribute the negative to every term: −2(x − 5) = −2x + 10. A common mistake is forgetting to multiply the negative by the second term, turning −2(x − 5) into −2x − 5 instead of −2x + 10. Our algebra calculator can also help verify these single-bracket expansions as part of larger equation solving.

Expanding Double Brackets (FOIL Method)

When multiplying two binomials — the classic "expanding double brackets" pattern — many students use the FOIL mnemonic: First, Outer, Inner, Last. This ensures every term in the first bracket is multiplied by every term in the second.

Worked Example — FOIL

Expand: (x + 3)(x − 7)

F: x × x = x²

O: x × (−7) = −7x

I: 3 × x = 3x

L: 3 × (−7) = −21

Expanded: x² − 7x + 3x − 21

Simplified: x² − 4x − 21

Common Expansion Patterns Reference

Memorizing these three identities saves time in exams and helps you spot patterns instantly:

PatternFactored FormExpanded Form
Perfect square (sum)(a + b)²a² + 2ab + b²
Perfect square (diff)(a − b)²a² − 2ab + b²
Difference of squares(a + b)(a − b)a² − b²
Cube of binomial(a + b)³a³ + 3a²b + 3ab² + b³

The difference of squares pattern is particularly useful — it appears frequently in factoring polynomials and rationalizing denominators.

Expanding Triple Brackets

When you have three brackets like (x + 1)(x + 2)(x + 3), expand two of them first, then multiply the result by the third. It does not matter which pair you start with — the final answer is the same.

Worked Example — Triple Brackets

Expand: (x + 1)(x + 2)(x + 3)

Step 1: (x + 1)(x + 2) = x² + 3x + 2

Step 2: (x² + 3x + 2)(x + 3)

  = x³ + 3x² + 3x² + 9x + 2x + 6

  = x³ + 6x² + 11x + 6

Common Mistakes to Avoid

  • Squaring each term individually: Writing (x + 3)² = x² + 9 is wrong. The correct expansion is x² + 6x + 9 — the middle term 2ab is essential. This single mistake accounts for roughly 40% of errors on GCSE and SAT algebra questions.
  • Sign errors with negatives: When expanding −3(x − 4), the result is −3x + 12, not −3x − 12. Remember that multiplying two negatives gives a positive.
  • Forgetting to combine like terms: After expanding (2x + 1)(x + 3) into 2x² + 6x + x + 3, the final answer must combine 6x + x = 7x, giving 2x² + 7x + 3.
  • Exponent rules: When multiplying x² × x³, add the exponents to get x&sup5;, not x&sup6;. When raising (x²)³, multiply exponents to get x&sup6;.

Expanding vs Factoring: When to Use Each

Expanding and factoring are inverse operations. Expanding removes brackets; factoring introduces them. The right choice depends on what you need to do next:

GoalUseExample
Add/subtract expressionsExpand(x+1)² + (x-1)² → 2x² + 2
Solve an equationFactorx² - 9 = 0 → (x+3)(x-3) = 0
Simplify a fractionFactor(x²-4)/(x+2) → x-2
Compare polynomialsExpandBoth sides to standard form

If you need to go the other direction — from expanded form back to factors — try our factor calculator which handles quadratics and higher-degree polynomials.

Tips for Accurate Expansions

  • Write out every partial product. Even if you can do FOIL mentally, writing F, O, I, L on separate lines reduces sign errors by about 60% according to math pedagogy research.
  • Check with substitution. Plug in x = 2 into both the original and expanded forms. If 2(3 + 2)(3 − 2) = 10 matches your expanded form at x = 2, you are correct.
  • Count terms before combining. Two binomials produce 4 terms (2 × 2). A binomial times a trinomial produces 6 terms (2 × 3). If your count is off, you missed a multiplication.
  • Use the grid method for triple brackets. Expand two brackets first, write the result in a multiplication grid with the third bracket, then sum columns. This systematic approach prevents lost terms.
  • Watch coefficient multiplication. In 3(2x + 1)(x − 4), expand (2x + 1)(x − 4) first to get 2x² − 7x − 4, then multiply every term by 3: 6x² − 21x − 12.

When to Use This Calculator

  • Homework verification: Expand by hand first, then check your answer step by step
  • Exam preparation: Practice with different bracket types (single, double, triple, with exponents) until the process is automatic
  • Simplifying complex expressions: When an expression has nested brackets or coefficients outside, the calculator handles the tedious arithmetic so you can focus on the algebra
  • Checking polynomial equivalence: Expand both sides of an equation to verify they match — if two expressions expand to the same polynomial, they are identical

Frequently Asked Questions

Still Have Questions?

The detailed content on this page provides comprehensive explanations and examples to help you understand better.