Completing the Square: Method, Formula, and Examples
Completing the square rewrites a standard quadratic expression into a squared binomial plus or minus a constant. This technique is essential for solving quadratic equations, deriving the quadratic formula, and graphing parabolas.
When an equation cannot be solved easily by factoring, the quadratic square method provides a reliable algebraic path to find exact solutions.
What does completing the square mean?
Completing the square means converting a quadratic expression of the form into the vertex form .
The goal is to create a perfect square trinomial. A perfect square trinomial is a quadratic expression that factors exactly into a binomial multiplied by itself, such as .
While factoring quadratics works well for expressions with simple integer roots, completing the square works for any quadratic expression. It forces the expression into a format where the variable appears only once inside parentheses, making it much easier to isolate.
Completing the square forces a quadratic into a perfect square format, allowing you to solve for the variable using square roots.
Build a perfect-square trinomial
To build a perfect square algebraically, you must determine the exact constant value required to complete the pattern.
For an expression in the form , you find this missing constant by taking half of the linear coefficient , and then squaring the result. The formula for the missing constant is .
Geometrically, you can visualize the expression as an area model. The term is a large square, and the term is split into two equal rectangles of area . To complete the visual square, a small corner piece of area must be added.

Adding this specific constant creates the perfect square trinomial , which can always be factored directly into .
Solve a quadratic by completing the square
Solving a quadratic equation requires maintaining balance. When you add the constant to create a perfect square, you must add the exact same value to the other side of the equation.
Follow these steps to solve an equation of the form :
- Move the constant term to the right side of the equation.
- If the leading coefficient is not , divide every term on both sides by .
- Identify the new linear coefficient , calculate , and add it to both sides of the equation.
- Factor the left side into a squared binomial.
- Take the square roots of both sides, remembering to include the positive and negative () solutions.
- Solve for the variable .
Example 1: Solving with the leading coefficient equal to one
Question: Solve by completing the square.
Method:
- Move the constant to the right side.
- The leading coefficient is already . The linear coefficient is .
- Calculate the missing value: . Add to both sides.
- Factor the left side as a perfect square.
- Take the square root of both sides.
- Solve for .
or
Answer: or .
Check: Substitute into the original equation: . The root is correct.
Convert to vertex form
Completing the square is the standard method for converting a quadratic equation into vertex form, . This format immediately reveals the vertex of the parabola, making it incredibly useful for analyzing quadratic graphs.
When converting to vertex form, you work entirely on one side of the equation. Because you cannot add a value to both sides as you would when solving, you must add and subtract the constant on the same side to maintain equality.
Example 2: Converting an equation to vertex form
Question: Convert into vertex form and state the coordinates of the vertex.
Method:
- Group the terms and factor out the leading coefficient .
- Identify the coefficient inside the parentheses. Here, . Calculate the square completion value: .
- Add inside the parentheses. Because the is multiplied by the factored , you have actually added to the equation. To balance this, subtract outside the parentheses.
- Factor the perfect square trinomial and simplify the constants.
Answer: The vertex form is . The vertex is located at .
Check: Expand the vertex form: . The expanded form matches the original equation.

Check the roots
Whenever you solve a quadratic equation by completing the square, you generate numerical roots. It is essential to verify these solutions to catch arithmetic mistakes.
To verify your roots, substitute each calculated value of back into the original unedited equation. If both roots produce a true statement, such as , the perfect square trinomial method was applied correctly. If you encounter fractions or square roots in your answers, carefully follow the order of operations during substitution.
Worked examples
When the linear coefficient is an odd number, calculating results in a fraction. Do not round this value to a decimal; keep it as an exact fraction to ensure the perfect square factors correctly.
Example 3: Completing the square with odd coefficients
Question: Solve by completing the square.
Method:
- Move the constant to the right side.
- The coefficient is . Calculate .
- Add to both sides of the equation.
- Rewrite the right side with a common denominator. .
- Factor the left side as a perfect square.
- Take the square root of both sides.
- Solve for .
Answer: or .
Check: Test : . Test : . Both roots are correct.
Common mistakes
When analyzing algebraic errors in the complete square method, check these frequent mistakes:
- Forgetting to balance the equation: Adding the calculated constant to one side of an equation without adding it to the opposite side destroys the equality.
- Failing to distribute the leading coefficient: When converting to vertex form, if you factor out an value at the start, you must remember to multiply the internal constant by before compensating for it on the outside.
- Dropping the symbol: Taking the square root of a squared binomial always produces a positive and a negative case. Dropping the results in missing one valid root.
- Dividing without adjusting constants: If and you divide the equation by , you must divide the initial constant term by as well before moving it.
Frequently asked questions
Is it always possible to complete the square?
Yes. The perfect square trinomial method is universally applicable to any quadratic expression, even those that cannot be factored using integer values. If the equation has no real solutions, completing the square will result in taking the square root of a negative number, which yields complex roots.
Why do we divide by the leading coefficient?
The geometric and algebraic rules for finding the missing constant, , are based on a leading coefficient of exactly . By dividing out any other leading coefficient, you reset the expression to a form where the standard formula works correctly.
What is the relationship with the quadratic formula?
Completing the square is the exact algebraic process used to derive the quadratic formula. By starting with the standard form and completing the square for using general variables, the isolated result is exactly the quadratic formula.
Practice questions

Based on the area model shown, what is the value of the missing corner area needed to complete the perfect square trinomial?
What constant must be added to both sides of the equation to complete the square?

A quadratic equation was converted into vertex form by completing the square, resulting in the graph shown. Which equation matches the graph?
A student is solving by completing the square. The student correctly adds to both sides to get .
What is the correct next step to solve the equation?
Factor the left side as .
Factor the left side as .
Take the square root of both sides immediately to get .
Factor the left side as .
Factor the left side as .
Convert the quadratic equation into vertex form.
