Home · Math · Plane Geometry · Completing the Square Calculator
Completing the Square Calculator
Rewrite a quadratic a x^2 + b x + c in vertex form a (x - h)^2 + k, returning h and k and the vertex of the parabola.
What this calculator does
Rewrite a quadratic a x^2 + b x + c in vertex form a (x - h)^2 + k, returning h and k and the vertex of the parabola. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
Completing the square turns a x^2 + b x + c into a (x - h)^2 + k with h = -b/(2a) and k = c - b^2/(4a). The point (h, k) is the vertex - the minimum or maximum of the parabola.
The leading coefficient a must not be zero (that would not be a quadratic). k is the extreme value of the function, reached at x = h.
Worked example
With the example inputs this page opens with (coefficient a 1, coefficient b 6, constant c 5), the result is -3.00 — vertex x (h). Change any figure and the result updates with the same formula.
Quick reference
| Coefficient a | Vertex x (h) |
|---|---|
| 0.5 | -6.00 |
| 0.8 | -3.75 |
| 1 | -3.00 |
| 1.25 | -2.40 |
| 1.5 | -2.00 |
| 2 | -1.50 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Completing the Square Calculator work?
Rewrite a quadratic a x^2 + b x + c in vertex form a (x - h)^2 + k, returning h and k and the vertex of the parabola. Coefficients a b c -> Vertex h. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Completing the Square Calculator need?
Coefficients a b c -> Vertex h. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Completing the Square Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.