Completing the square calculator
Solve any quadratic by completing the square, with every step and the (b/2)² move spelled out. Then see why it works with tiles.
How to complete the square
- Make a = 1. Divide every term by .
- Move the constant.
- Halve b and square it. . Add it to both sides:
- Write the perfect square.
- Square-root both sides, with ±.
- Solve. or
The same steps give vertex form: , so the vertex is .
See why it’s called “completing the square”
Start with x² + 6x: one big x-by-x square and 6 thin x-by-1 strips.
Frequently asked questions
What does completing the square mean?
Rewriting x² + bx as a perfect square minus a constant: x² + bx = (x + b/2)² − (b/2)². Geometrically, you add the small missing corner square that turns an L-shape into a full square.
How do you complete the square when a is not 1?
Divide every term by a first (or factor a out of the x² and x terms), complete the square on what’s inside, then continue as usual.
Why add (b/2)² to both sides?
Because (x + b/2)² expands to x² + bx + (b/2)². Adding (b/2)² makes the left side a perfect square; adding it to the right keeps the equation balanced.
When should I complete the square instead of using the formula?
When you need vertex form (to graph a parabola or find its maximum or minimum), when a = 1 and b is even, or when you’re asked to derive the quadratic formula.