Completing the Square Calculator
Convert ax² + bx + c to vertex form a(x − h)² + k with every step shown.
Free Completing the Square Calculator
Completing the square is one of the trickier algebra techniques to follow by hand. Our free completing the square calculator takes any quadratic ax² + bx + c and converts it to vertex form a(x − h)² + k, showing every algebraic step along the way.
Enter your coefficients and watch the process unfold: factoring out the leading coefficient, halving and squaring the linear term, and rewriting the expression as a perfect square plus a constant. From there, the calculator derives the vertex, the axis of symmetry, and the roots — cross-checked against the quadratic formula.
Cases with no real roots are explained clearly rather than shown as an error, and coefficients are handled exactly, including clean fractions rather than rounded decimals. No sign-up, no downloads, no limits.
About the Completing the Square Calculator
How It Works & Methodology
The Completing the Square Calculator converts any quadratic ax² + bx + c into vertex form a(x − h)² + k, showing the factoring, halving-and-squaring, and rewriting steps in order. It then derives the vertex, axis of symmetry, and roots — the same technique used to derive the quadratic formula itself.
Features
Step-by-step derivation
Every algebraic move shown in order, not just the final vertex form.
Vertex, axis, roots
All three derived directly from the completed-square form.
Fractional precision
Clean fractions shown exactly instead of rounded decimals.
No-real-root handling
Complex-root cases explained clearly, never left as an error.
Mathematical Basis & Practical Verification
The Completing the Square Calculator is built on symbolic algebraic manipulation, polynomial root-finding theorems, matrix row-reduction, and exact rational arithmetic. Converts a quadratic ax²+bx+c into vertex form a(x-h)²+k by completing the square, showing every algebraic step, and derives the roots, vertex, and axis of symmetry. Key capabilities built into this tool include vertex form conversion, vertex and axis of symmetry, roots, and exact fraction display.
All computations for the Completing the Square Calculator follow the definitions established in NIST Digital Library of Mathematical Functions (DLMF) — Elementary & Algebraic Functions (National Institute of Standards and Technology (NIST)) and Abramowitz and Stegun: Handbook of Mathematical Functions (National Bureau of Standards (NBS)). Because the solver evaluates inputs locally in IEEE 754 double-precision arithmetic (53-bit significand, ~15–17 significant decimal digits) and is regression-tested against deterministic reference fixtures in tests/completing-the-square.spec.ts, you can inspect boundary conditions, verify dimensional consistency across algebra units, and cross-check each intermediate step against textbook solutions.
Related Calculators & Tools
Solve any quadratic equation with step-by-step working, real and complex roots, discriminant analysis, and a parabola graph.
Solve 2×2 and 3×3 systems of linear equations with full step-by-step working — substitution, elimination, and special-case handling, all in your browser.
Factor any polynomial expression fully — GCF, difference of squares, trinomials, cubes, and grouping — with step-by-step working shown, all in your browser.
Calculate slope, intercepts, and the equation of a line from two points, a point and slope, or an equation — with step-by-step working and a live graph.
Authoritative Sources & Standards
- NIST Digital Library of Mathematical Functions (DLMF) — Elementary & Algebraic Functions — National Institute of Standards and Technology (NIST)
- Abramowitz and Stegun: Handbook of Mathematical Functions — National Bureau of Standards (NBS)
Frequently Asked Questions
How does the completing the square calculator work?
Enter the coefficients of your quadratic and it converts it to vertex form, showing every algebraic step.
What is vertex form?
Writing a quadratic as a(x - h)² + k, where (h, k) is the vertex of the parabola.
Does it show every step?
Yes, factoring out the leading coefficient, halving and squaring the linear term, and rewriting as a perfect square are all shown in order.
Can it find the vertex and axis of symmetry?
Yes, both are derived directly from the completed-square form.
Can it find the roots too?
Yes, the roots are solved from the vertex form and cross-checked against the quadratic formula.
What if there are no real roots?
The calculator explains clearly that the roots are complex/non-real rather than showing an error.
Does it handle fractional coefficients?
Yes, results are shown as exact fractions where possible, not rounded decimals.