Completing the Square Practice Math Problems and Examples

Practice completing the square with your own quadratic equation. See every step and check the real or complex roots.

Result
—

How to calculate

Move the constants to one side, divide both sides by a, and add the square of half the remaining x coefficient. Rewrite as a perfect square, take both square roots, then isolate x.

Worked example

Use Coefficient a 1 · Coefficient b -6 · Coefficient c 5 · Right side 0. The result is x = 1, 5.

Input and result notes

Completing the square works for any nonzero quadratic coefficient. When the right side of the completed square is negative, the roots form a complex conjugate pair.

OpenStax quadratic equations

Related calculators