Completing the square calculator with working
Free TutorAura tool · no sign-up · Updated
Enter , and , and the calculator rewrites in completed square form:
From that form you can read the turning point straight away and solve the equation exactly, even when it doesn't factorise.
Method when a = 1
Example:
- Halve the coefficient of : .
- Write , which expands to .
- That's 9 too many compared with the 5 we need, so subtract: .
- Answer: .
Turning point: , a minimum.
Method when a ≠ 1
Example:
- Factor 2 out of the terms: .
- Complete the square inside: .
- Multiply back: .
- Answer: , with turning point .
Solving equations
From : , so , giving or .
When the number isn't a square, the answer is a surd: becomes , so . If the right-hand side is negative, there are no real solutions.
Turning points and graphs
The graph of has its turning point at . If it's a minimum (∪ shape); if it's a maximum (∩ shape). The minimum value of is , which happens when . Sketch it with our graphing calculator.
Common mistakes
- Forgetting to subtract the square of the half: adds an extra 9.
- Getting the sign of the turning point wrong: gives .
- Not factoring out first when .
Practise with our completing the square questions, and compare with the quadratic equation solver.
Exam tips
- "Write in the form " wants and stated, so write them out.
- Use completed square form to explain why an expression is always positive: .
- Completing the square is Higher tier at GCSE and Extended at IGCSE.
Where the quadratic formula comes from
The quadratic formula is completing the square done once in general. Starting from , completing the square gives
So any quadratic you can solve with the formula, you can also solve by completing the square. Completing the square has the bonus of giving the turning point, which the formula doesn't.
Frequently asked questions
How do you complete the square?
Halve the coefficient of x to get p, write (x + p)², then subtract p² and add the constant: x² + bx + c = (x + b/2)² − (b/2)² + c.
How do you find the turning point from completed square form?
For a(x + p)² + q, the turning point is (−p, q): a minimum if a > 0, a maximum if a < 0.
Can you complete the square when a is not 1?
Yes: factor a out of the x² and x terms first, complete the square inside the bracket, then multiply back out.
Is anything I type sent to a server?
No. The calculation runs in your browser and nothing is stored.
Sources
- GCSE mathematics: subject content and assessment objectives. Department for Education.
- Cambridge IGCSE Mathematics 0580 syllabus. Cambridge International.
Keep reading
Completing the square questions and answers
10 GCSE and IGCSE questions with worked answers, checked as you type.
Quadratic equation solver with steps
Solve ax² + bx + c = 0 exactly, with the discriminant, factorised form, surds and the vertex.
Factorising calculator for quadratics
Quadratics factorised into brackets, including a ≠ 1 and the difference of two squares, with working.
Quadratic equations
Solve quadratics by factorising, the quadratic formula and completing the square; use the discriminant and vertex form.