Completing the square is the algebraic technique for rewriting a quadratic expression ax² + bx + c in vertex form a(x-h)² + k, which immediately reveals the parabola's turning point (vertex) at (h, k). This calculator takes your a, b, and c coefficients, performs the completing-the-square process, and returns h and k directly, along with the fully rewritten expression — useful for high school students working through quadratics topics, checking homework answers, or quickly finding a parabola's vertex without manually working through the algebra every time.
Beyond just finding the vertex, completing the square is the method used to derive the quadratic formula itself, and it's essential for sketching parabolas, solving quadratic equations when factoring isn't straightforward, and working with circle equations in coordinate geometry (which also come from a completing-the-square process). Because the sign manipulation in the middle of the process is where most students make mistakes, this tool is a quick way to check your own hand-worked solution.
The completing-the-square method, step by step
Starting from ax² + bx + c, first factor a out of the x² and x terms: a(x² + (b/a)x) + c. Then take half of the x coefficient inside the brackets, (b/a) ÷ 2 = b/(2a), and both add and subtract its square to keep the expression unchanged: a(x² + (b/a)x + (b/2a)² - (b/2a)²) + c. The first three terms inside the brackets now form a perfect square, (x + b/2a)², so the expression becomes a(x + b/2a)² - a(b/2a)² + c. Simplifying the constant terms gives the vertex form a(x - h)² + k, where h = -b/(2a) and k = c - b²/(4a).
Reading the vertex straight off the vertex form
Once an expression is in the form a(x - h)² + k, the vertex (turning point) of the parabola is simply the point (h, k) — no further calculation needed. If a > 0 the parabola opens upward and (h, k) is a minimum; if a < 0 it opens downward and (h, k) is a maximum. This is exactly why completing the square is worth doing even when factoring would solve the equation — it's the fastest route to the vertex and the axis of symmetry, x = h.
Frequently asked questions
For ax² + bx + c, the vertex form is a(x - h)² + k, where h = -b/(2a) and k = c - b²/(4a).
Convert the quadratic to vertex form a(x - h)² + k; the vertex is then simply the point (h, k).
Yes — you factor a out of the x² and x terms first, complete the square inside the brackets, then multiply back through, which is exactly what this calculator does.
They're closely related — the quadratic formula is actually derived by completing the square on the general equation ax² + bx + c = 0.