Home · Everyday · Algebra · Square of a Binomial Calculator

Square of a Binomial Calculator

Square a binomial correctly — the middle term is twice the product, the step everyone forgets.

Your figures

Example result — edit the figures to make it yours

9x^2 + 12x + 4

Expanded square

A binomial square: (a + b)² = a² + 2ab + b² — the middle term is twice the product, never just a² + b². The headline figure is the x² coefficient.

x² coefficient9
x coefficient12
Constant4

What this calculator does

Square a binomial correctly — the middle term is twice the product, the step everyone forgets. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

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

Coefficients are the numbers in front of each power of x, in the order shown.

Expansion multiplies every pair of terms (FOIL: First, Outer, Inner, Last) and collects like powers.

Factoring over the integers is reported when integer factors exist; otherwise the tool says so plainly.

Worked example

With the example inputs this page opens with (a in (ax + b)² 3, b in (ax + b)² 2), the result is 9x^2 + 12x + 4 — expanded square. A binomial square: (a + b)² = a² + 2ab + b² — the middle term is twice the product, never just a² + b². The headline figure is the x² coefficient.

Quick reference

Quick reference — varying a in (ax + b)²
a in (ax + b)²Expanded square
1.52.25x^2 + 6x + 4
2.45.76x^2 + 9.6x + 4
39x^2 + 12x + 4
3.7514.0625x^2 + 15x + 4
4.520.25x^2 + 18x + 4
636x^2 + 24x + 4

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Square of a Binomial Calculator work?

Square a binomial correctly — the middle term is twice the product, the step everyone forgets. (ax + b)² → Expanded trinomial. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Square of a Binomial Calculator need?

(ax + b)² → Expanded trinomial. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Square of a Binomial Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.