Try it with your numbers
Show every step
Then undo the square with a square root. The same move solves quadratics, rewrites them in vertex form, and produces the quadratic formula.
What Is Completing the Square and Why Does It Work?

Picture as area. A square with side has area , and a rectangle by has area . Cut that rectangle lengthwise into two strips, each wide, and glue one strip to the right side of the square and one to the bottom. The shape is a big square with a small corner missing, and that corner is a square of side . Its area, , is the number you add. That is the whole idea behind the name.
The algebra says the same thing. Expanding any squared binomial gives . The middle coefficient is , so must be half of , and the constant must be :
This is why “half, then square” works for every case. Nothing is memorized, only matched: the middle term of a perfect square is always twice the number inside the bracket.
The method starts from the standard form of a quadratic, , and its goal is to leave only one copy of . Once appears only inside a square, everything else is one-step algebra.
Quick check
Answer:
How Do You Solve an Equation by Completing the Square?
When , the process takes five moves:
- Move the constant to the right side.
- Halve the coefficient of and square it.
- Add that number to both sides.
- Write the left side as a squared binomial.
- Take the square root of both sides (with ) and solve for .
Example 1. Solve .
Half of is , and . Add 25 to both sides:
The two solutions are about and . Notice that has no pair of factors adding to , so solving by factoring fails here, while completing the square does not care.
The last two lines are exactly the square root method. Completing the square is a way of forcing any quadratic into the shape where that method applies.
Try this: Solve by completing the square. Then add your two answers: they should total , the negative of the coefficient.
Completing the Square When the Leading Coefficient Is Not 1
The method needs to have coefficient 1, because only then does “half of ” match the middle term of a perfect square. If , divide every term by first, including the right side.
Example 2. Solve .
Half of 4 is 2, and , so add 4 to both sides:
When you factor out of an expression such as , the number you add and subtract inside the bracket is multiplied by on the way out. Adding 4 inside really adds 8, so 8 must be taken back.
There is also a faster route that avoids fractions: multiply by instead of dividing. Here, makes the left side , so add to get . That gives , which equals the answer above.
Completing the Square With Negatives, Odd Numbers and Fractions
Signs and odd coefficients are where most arithmetic slips happen. The bracket always takes the sign of the half-coefficient, and the number you add is always positive because it is a square.
| Middle term | Half of | Add | Becomes |
|---|---|---|---|
Example 3. Solve .
Odd coefficients are not harder, only fractional. Keep the fraction as it is rather than converting to decimals, since has an exact square root and does not look like one.
If the leading coefficient is negative, multiply the whole equation by first. For , that gives , then , so . Skipping this step and trying to work with a negative is a common way to lose a sign.
Quick check
Answer:
How to Rewrite a Quadratic in Vertex Form

Solving needs an equation. Rewriting works on an expression, so nothing moves to the other side. Instead you add and subtract the same number, which changes nothing in value. Applying this to gives:
That is the vertex form , with and .
Example 4. Write in vertex form.
The inside the bracket became outside, exactly as the trap above warned. The vertex is , and because , the parabola opens up and is the minimum.
Quick check: and . That is the shortcut behind finding the vertex of a parabola, and it also gives the axis of symmetry, . With the vertex and axis in hand, graphing quadratic functions takes a few seconds.
Real Uses: Maximum Height and Circle Equations
Any “highest point” or “lowest cost” question is a vertex question. Suppose a ball’s height in meters is , with in seconds.
A square is never negative, and it is multiplied by , so the largest value occurs when the square is zero. The ball peaks at 21 meters after 2 seconds. To find when it lands, set , so and seconds. More of this style appears in quadratic word problems.
Circles use the same skill. The equation hides a center and radius. Group the terms and complete the square in each variable, adding the same amounts to the right side:
The center is and the radius is 5. Completing the square twice is the standard way to read a circle from its expanded form.
How the Quadratic Formula Comes From Completing the Square
The quadratic formula is one run of this method on the general equation , with letters in place of numbers. Divide by , move the constant, and add to both sides:
The denominator is always positive, so the right side is negative exactly when . That single expression decides whether real solutions exist.
That expression is the discriminant. Seeing it appear naturally, as the right-hand side of a perfect square, explains why it carries so much information. For the full line-by-line version, see deriving the quadratic formula, and for the finished result in use, see the quadratic formula.
Completing the Square vs Factoring vs the Formula
All three methods give the same roots. They differ in speed and in what else they hand you.
- Factoring is fastest when the roots are rational and small.
- The quadratic formula is best for a plain solve with awkward numbers.
- Completing the square is the only one that also produces vertex form, circle centers and the derivation itself.
Completing the square never fails, even when the answers are not real. Take :
A negative right side means no real solutions, so the parabola never touches the x-axis. The answers are complex numbers, and they come as a conjugate pair. Some courses also use this method to solve quadratic inequalities boundaries, though a sign chart usually does it faster.
If a problem says “by completing the square,” the method is required even when factoring would be quicker. Show the added number on both sides, because that line is usually what the marks are awarded for.
How Do You Check a Completing the Square Answer?
The fastest check uses the relationship between roots and coefficients. For , the two roots add to and multiply to . In Example 1, the roots add to , which matches , and multiply to , which matches the constant. The irrational parts cancel, so the check takes seconds.
Two other checks are worth having. First, expand your squared binomial and confirm it returns the original and terms. Second, substitute a root into the original equation. Substitution is slower for irrational roots, so save it for integer answers like and .
Three habits remove most errors: add to both sides (or add and subtract in an expression), keep the when taking the square root, and finish by moving the constant out of the bracket with the correct sign. For more equations to try, the quadratic formula practice problems are a good source, since each answer can be cross-checked against your completed square.
Quick check
Answer: No, the solutions are -2 ± √5
Practice problems
0 of 5 solved
- Solve by completing the square.
Answer:
Move the constant: . Half of is , and , so add 4 to both sides: . Then , so or . - Rewrite in the form .
Answer:
Half of 10 is 5, and . Add and subtract 25: . Group the square: . - Solve by completing the square.
Answer:
Move the constant: . Half of is , and its square is . Then . So . - Solve by completing the square.
Answer:
Divide by 2: . Add to both sides: . Then . - Write in vertex form and state the vertex.
Answer:
Factor from the x terms: . Add and subtract inside: . The subtracted leaves the bracket as , so . The vertex is .
Common questions
What is completing the square in simple terms?
It is rewriting as a squared binomial plus a leftover number, . The squared part is easy to undo with a square root, which is why the method solves any quadratic.
How do you complete the square when a is not 1?
Divide the whole equation by , or factor out of the and terms, then complete the square on what is left. When you factor out of an expression, the number you add inside the bracket is worth times as much outside, so adjust the constant by that amount.
Why do you add (b/2)² to both sides?
Because expands to , so is the exact missing piece. Adding it to both sides keeps the equation balanced.
When should you use completing the square instead of the quadratic formula?
Use it when the question asks for vertex form, a circle's center and radius, or when and is even. For a plain solve with messy numbers, the quadratic formula is usually quicker.
Can completing the square give no real solution?
Yes. If the right side of is negative, no real number squares to it, and the solutions are complex numbers. For example, gives .
Does completing the square always work?
Yes, for every quadratic with . Factoring only works cleanly when the roots are rational, but completing the square handles irrational and complex roots too.