Difference of Two Squares Calculator
Factor a² − b² into the product (a + b)(a − b) and evaluate each part numerically.
Inputs explained
- First term a (in a² − b²) — The value being squared in the first term.
- Second term b — The value being squared in the subtracted term.
How to use it
- Fill in the fields above — each input has a hint describing exactly what to enter
- Press Calculate to get your result instantly, right on this page
- Copy the result, save the tool to favorites, or share and embed it anywhere
Understanding the result
Example: For a = 7 and b = 3, a² − b² = 49 − 9 = 40 = (7 + 3)(7 − 3) = 10 × 4.
Frequently asked questions
Does this only work when a and b are perfect squares? No, a and b themselves are the values being squared (a² − b²), not the results, so any real numbers work, not just perfect squares.
How is this different from just subtracting a² − b² directly? The calculator also shows the factored form (a + b)(a − b), which is useful for algebra practice even though both forms give the identical numeric result.
Is the Difference of Two Squares Calculator free to use? Yes — it is completely free, with no sign-up, no download and no usage limits. You can use it as often as you need.
Is my data private? Yes. The calculation runs entirely in your browser — the values you enter are never sent to our servers, stored or shared with anyone.
What information do I need? Just the following: First term a (in a² − b²), Second term b. Each field includes a hint explaining exactly what to enter.
Can I use it on my phone? Yes — the tool is fully responsive and works on any device, and the same calculator is available in the EasyWorkCalcs mobile app.
Privacy
Everything you enter into the Difference of Two Squares Calculator is processed entirely in your browser. Nothing is uploaded, stored or shared — your data stays on your device.