Reviewed by CalcMulti Editorial Team·Last updated: ·← Algebra Hub
Completing the square converts ax² + bx + c into vertex form a(x − h)² + k, immediately revealing the vertex (h, k) and axis of symmetry. It also yields the roots by solving a(x−h)² = −k.
This method is foundational in algebra: it derives the quadratic formula, solves quadratic equations without memorising the formula, and rewrites parabola equations for graphing. Enter your coefficients below for a full step-by-step solution.
a(x − h)² + k where h = −b/2a, k = c − b²/4a
Coeff. of x²
Coeff. of x
Constant
| Standard Form | Vertex Form | Vertex (h,k) | Roots |
|---|---|---|---|
| x² + 6x + 5 | (x+3)² − 4 | (−3, −4) | x = −1, −5 |
| x² − 4x + 4 | (x−2)² | (2, 0) | x = 2 (repeated) |
| x² + 2x + 5 | (x+1)² + 4 | (−1, 4) | No real roots |
| 2x² + 12x + 5 | 2(x+3)² − 13 | (−3, −13) | x ≈ −0.46, −5.54 |
| x² − 6x + 9 | (x−3)² | (3, 0) | x = 3 (repeated) |
This calculator is for educational purposes only and does not constitute professional advice. Results are based on standard mathematical formulas. Always verify critical calculations with a qualified professional before making important decisions.