Solve quadratic equations by completing the square. Enter coefficients a, b, c and see the step-by-step solution, vertex form, discriminant, roots, and graph properties.
Completing the square is an algebraic technique that rewrites any quadratic expression ax² + bx + c into the equivalent vertex form a(x − h)² + k. This transformation reveals the vertex of the parabola (h, k), makes finding roots straightforward, and is the method behind the derivation of the quadratic formula itself. Our Completing the Square Calculator accepts the three coefficients a, b, and c of the standard-form equation ax² + bx + c = 0 and walks you through every algebraic step: dividing by the leading coefficient, halving the linear term, adding and subtracting the perfect square, and isolating x. The output includes the discriminant (b² − 4ac), the nature of the roots (real, repeated, or complex), the exact root values, the vertex coordinates, the axis of symmetry, and the direction the parabola opens. A detailed steps table shows each transformation so you can follow along or check your own homework. Visual bars compare the magnitudes of the coefficients, discriminant, and roots. Eight presets range from simple integer-solution equations to ones with complex roots, giving you instant practice problems. Whether you are learning this technique for the first time or reviewing it for an exam, this calculator makes the process transparent and error-free.
Completing the square is one of the most instructive ways to solve a quadratic because it exposes the structure of the parabola, but it is also the method where small algebra slips are most common. Dividing by the leading coefficient, moving the constant, and adding the correct square term all have to happen in the right order. This calculator shows each transformation explicitly, so you can verify the method itself instead of checking only the final roots.
It is also valuable when you need more than solutions. Completing the square converts standard form into vertex form, which immediately reveals the vertex, axis of symmetry, opening direction, and graph behavior. That makes the tool useful for graphing, test preparation, and understanding how the coefficients affect the parabola.
Standard form: ax² + bx + c = 0. Vertex form: a(x − h)² + k, where h = −b/(2a) and k = c − b²/(4a). Discriminant Δ = b² − 4ac. Roots: x = (−b ± √Δ) / (2a).
Result: 0
Solve x² + 6x + 5 = 0. Step 1: x² + 6x = −5. Step 2: x² + 6x + 9 = −5 + 9 = 4. Step 3: (x + 3)² = 4. Step 4: x + 3 = ±2, so x = −1 or x = −5. Vertex form: (x + 3)² − 4, vertex (−3, −4).
The goal of completing the square is to turn the variable part of a quadratic into a perfect-square binomial. After factoring out or dividing by the leading coefficient when necessary, you add the square of half the linear coefficient to both sides. That step transforms an expression like $x^2 + 6x$ into $(x + 3)^2$. Once the quadratic is written that way, solving for $x$ becomes a square-root problem rather than a factoring problem, and the geometry of the graph becomes easier to read.
Standard form $ax^2 + bx + c$ is convenient for input, but vertex form $a(x - h)^2 + k$ is better for interpretation. The values $h$ and $k$ locate the turning point of the parabola directly, and the sign of $a$ tells you whether the graph opens upward or downward. That means completing the square does more than find roots: it shows the axis of symmetry, identifies the minimum or maximum value, and clarifies how far the parabola is shifted from the origin.
Factoring is faster when the quadratic splits cleanly into simple binomials, but many equations do not cooperate. Completing the square works for every quadratic with $a eq 0$, including cases with irrational or complex roots. It is therefore the more reliable general method, especially in lessons that connect algebra to graphing, conic sections, or the derivation of the quadratic formula. Using a calculator that displays the intermediate steps helps you practice the structure of the method until it becomes predictable.
It rewrites ax² + bx + c into vertex form a(x − h)² + k, revealing the vertex of the parabola and making it easy to solve for x. Use this as a practical reminder before finalizing the result.
It provides a step-by-step algebraic method to solve any quadratic, derives the quadratic formula, and converts equations to vertex form for graphing. Keep this note short and outcome-focused for reuse.
The discriminant Δ = b² − 4ac tells you the nature of the roots: Δ > 0 means two distinct real roots, Δ = 0 means one repeated real root, and Δ < 0 means two complex conjugate roots. Apply this check where your workflow is most sensitive.
Yes. First divide the entire equation by a, then complete the square on the resulting expression. This calculator handles any non-zero a.
The quadratic formula is derived by completing the square on the general equation ax² + bx + c = 0. The steps are identical.
The quadratic has two complex conjugate roots. The calculator displays them in a + bi form.