Square of a Binomial Calculator

Quick answer

The square of a binomial calculator expands (ax + b)² or (ax − b)² into a trinomial, showing the a² ± 2ab + b² pattern, the double root and the y-intercept.

Expanded form
4x² + 12x + 9
Steps
(2x + 3)² = (2x)² + 2·2x·3 + 3² = 4x² + 12x + 9
Root of (ax ± b)² = 0
x = −1.5 (double root)
y-intercept
9

Squaring a binomial is one of the special products worth memorising. Forgetting the middle term 2ab (writing (x + 3)² = x² + 9) is one of the most common algebra mistakes.

How to use the Square of a Binomial Calculator

  1. Form
  2. a
  3. b

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

The first and last terms are squared and the middle term is twice their product, with the sign of the binomial.

Formula

(a + b)² = a² + 2ab + b² (a − b)² = a² − 2ab + b²

Worked example

Inputs: Form: (ax + b)²; a: 2; b: 3.
Results: Expanded form = 4x² + 12x + 9; Steps = (2x + 3)² = (2x)² + 2·2x·3 + 3² = 4x² + 12x + 9; Root of (ax ± b)² = 0 = x = −1.5 (double root); y-intercept = 9.

Key terms

Special product
A product with a memorable pattern, such as (a ± b)² or (a + b)(a − b).

Frequently asked questions

What is (x + 5)²?

x² + 10x + 25.

Why is (a + b)² not a² + b²?

Because (a + b)(a + b) has two cross terms ab, giving 2ab.

What is the geometric meaning?

A square of side a + b splits into a², b² and two a × b rectangles.

What is (x − 4)²?

x² − 8x + 16.

Sources

  1. OpenStax: College Algebra 2e
  2. OpenStax: Intermediate Algebra 2e

Cite this calculator

Speedy Calculator. (2026). Square of a Binomial Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/square-of-a-binomial/