Completing The Square Calculator

Completing the Square Calculator

Convert a quadratic into vertex form and inspect the solutions step by step.

Last updated: 2026-06-21T07:59:21.208Z

Enter numeric coefficients. The coefficient a must not be zero.

Result

Vertex form

1(x - -3)² + -4

Vertex

(-3, -4)

Discriminant

16

Solutions

x₁ = -1

x₂ = -5

What is completing the square?

Completing the square rewrites a quadratic as a squared binomial plus a constant. That gives you the vertex form directly and is also a route to the quadratic formula.

How it works

Start with 1x² + 6x + 5 = 0
Divide by 1: x² + 6x + 5 = 0
Move the constant: x² + 6x = -5
Half the x coefficient: 3
Square it: 9
Add it to both sides: (x + 3)² = 4
Vertex form: 1(x - -3)² + -4

Worked example

x² + 6x + 5 = 0

(x + 3)² - 4 = 0

Solutions: x = -1 and x = -5

Frequently asked questions

What if a is not 1?

The calculator divides by a internally before completing the square.

What if the discriminant is negative?

You get complex roots, which the calculator shows in a + bi form.

What does the vertex tell me?

It gives the turning point of the parabola and the axis of symmetry.

Can I use decimals?

Yes. Decimal coefficients are accepted.

Related Tools