Science Academy
☰✕

Difference of Two Squares Calculator

𝑥 Algebra. Use the Difference of two squares formula to find a² − b², a, b: pick the value you want, type the others, and the answer updates as you go.

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

Pick the ○ next to the value you want to find, fill in the others, and it solves as you type.

What each letter means

QuantityUnit
a² − b²no unit
ano unit
bno unit

Worked example

Find the a² − b² when a = 7, b = 3.

Using a² - b² = (a + b)(a - b): a² − b² = 40.

Frequently asked questions

What is the formula for Difference of two squares?

a² - b² = (a + b)(a - b).

What do the letters stand for, and what units are used?

a² − b², a, b.

How do you calculate a² − b²?

Put the values into a² - b² = (a + b)(a - b). For example, with a = 7, b = 3, a² − b² = 40.

Can I solve for a different value?

Yes. In the calculator above, pick the circle next to any value (a² − b², a, b) and fill in the others: it rearranges the formula for you.

All maths formulas in the Maths Formulas