Square of a Binomial Calculator

This square of a binomial calculator expands expressions such as (3x + 5)² with every step. It can also test whether a trinomial is a perfect square.

Checks on your data

  • Squaring a binomial gives three terms, not two: (a + b)² = a² + 2ab + b² and (a − b)² = a² − 2ab + b².

Results

(3x + 5)² expanded
9x² + 30x + 25
First term squared a²
9
Middle term 2ab
30
Last term squared b²
25
Perfect square trinomial?
Yes: the result is a perfect square trinomial
Common mistake (a² + b²)
9x² + 25
missing the middle term 2ab
Area model of (A + B)²
A = 3xB = 5
A = 3x9x²15x
B = 515x25
Show step-by-step solution
  1. Use (A + B)² = A² + 2AB + B², with A = 3x and B = 5.
  2. A² = (3x)² = 9x².
  3. 2AB = 2 × 3x × 5 = 30x.
  4. B² = 5² = 25.
  5. Add them: 9x² + 30x + 25.
(a + b)²a² + 2ab + b²
(a − b)²a² − 2ab + b²
Terms3 (a trinomial)
TestB² = 4AC

What Is Square of a Binomial?

The square of a binomial is the product of a binomial with itself. It follows the pattern (a + b)² = a² + 2ab + b² and (a − b)² = a² − 2ab + b². The result is a perfect square trinomial with three terms, not two.

Enter the coefficient and the second term, choose plus or minus, and the calculator expands the square, shows each part (first term squared, twice the product, last term squared), compares it with the common mistake a² + b², and draws an area model. The second mode takes a trinomial Ax² + Bx + C and checks whether B² = 4AC so it factors as a squared binomial.

Below are the formulas, a variables table, a worked example and answers to common questions.

How to Use the Square of a Binomial Calculator

  1. Choose to expand a binomial or test a trinomial.
  2. Enter the coefficient and the second term, and choose + or −.
  3. Read the expanded trinomial and the steps.
  4. Use the area model to see where each term comes from.

Square of a Binomial Formula

Square of a sum

(a+b)2=a2+2ab+b2(a+b)^2=a^2+2ab+b^2

Square of a difference

(a−b)2=a2−2ab+b2(a-b)^2=a^2-2ab+b^2

Perfect square test

Ax2+Bx+C is a perfect square if B2=4ACAx^2+Bx+C\text{ is a perfect square if }B^2=4AC

Square of a Binomial Variables Explained

SymbolMeaningNotes
aThe first term of the binomial
bThe second term of the binomial
2abThe middle termtwice the product of the two terms
B² = 4ACTest for a perfect square trinomial

Square of a Binomial Worked Example

Expand (3x + 5)². The first term squared is (3x)² = 9x². The middle term is 2 × 3x × 5 = 30x. The last term squared is 5² = 25. So (3x + 5)² = 9x² + 30x + 25. Check at x = 1: (3 + 5)² = 64 and 9 + 30 + 25 = 64.

With the example values loaded in the calculator above, the steps are:

  1. Use (A + B)² = A² + 2AB + B², with A = 3x and B = 5.
  2. A² = (3x)² = 9x².
  3. 2AB = 2 × 3x × 5 = 30x.
  4. B² = 5² = 25.
  5. Add them: 9x² + 30x + 25.

Result: (3x + 5)² expanded = 9x² + 30x + 25; Perfect square trinomial? = Yes: the result is a perfect square trinomial.

Where Square of a Binomial Is Used

Expanding brackets

Squaring a binomial quickly without multiplying by hand.

Completing the square

Recognising perfect square trinomials.

Factoring

Spotting a trinomial that is a squared binomial.

Checking homework

Comparing your expansion with the correct one.

Common Square of a Binomial Mistakes to Avoid

  • Do not drop the middle term.
  • For a difference, the middle term is negative and the last term stays positive.
  • Check with a simple value of x.

Square of a Binomial Terms and Definitions

Binomial
An expression with two terms.
Perfect square trinomial
A trinomial that is the square of a binomial.

Square of a Binomial FAQs

What is the square of a binomial?

The result of multiplying a binomial by itself: (a + b)² = a² + 2ab + b².

Is (a + b)² equal to a² + b²?

No. The middle term 2ab is missing from a² + b².

How do I square a binomial with a coefficient?

Square the whole first term, double the product of the two terms, and square the last term.

How can I tell if a trinomial is a perfect square?

The first and last terms are perfect squares and the middle term is twice the product of their roots.

Related calculators

Last updated 2026-11-09. See our disclaimer.