Report

Help us improve this tool

Square of a Binomial Calculator

Expand binomial squares like (a+b)² and (ax+b)² into perfect square trinomials with step-by-step algebra.

O M T

Square of a Binomial

The square of a binomial expands expressions like $(a + b)^2$ or $(ax + b)^2$ into a perfect square trinomial. The result is always three terms: the square of the first term, twice the product of the terms, and the square of the second term.

Related: Perfect Square Trinomial Calculator, FOIL Method Calculator, and Expand Polynomials Calculator.

Binomial Squared Formula

$$(a + b)^2 = a^2 + 2ab + b^2$$

$$(a - b)^2 = a^2 - 2ab + b^2$$

$$(ax + b)^2 = a^2 x^2 + 2abx + b^2$$

Worked Example

Expand $(6 - b)^2$: $6^2 - 2(6)(b) + b^2 = 36 - 12b + b^2$. For numeric terms, $(6 + 3)^2 = 36 + 36 + 9 = 81$.

Frequently Asked Questions

What is a perfect square trinomial?

It is a three-term polynomial that factors as the square of a binomial, such as $x^2 + 6x + 9 = (x + 3)^2$.

How do I square a binomial difference?

Use $(a - b)^2 = a^2 - 2ab + b^2$. The middle term is negative.

What is $(ax + b)^2$ expanded?

It equals $a^2 x^2 + 2abx + b^2$. Enter the coefficient $a$ and constant $b$ in coefficient mode.

What happens when one term is zero?

$(a + 0)^2 = a^2$. The middle and last terms vanish, leaving only the squared first term.