Completing the Square: the Constant Needed

k=(b2)2k = \left( \frac{b}{2} \right)^{2}

Units aren’t used in this calculation: every value is a plain number.

sig figs

Worked example: x² + 10x → add 25. Press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value.

Where Completing the Square: the Constant Needed fits

In this toolkit

See also

Discriminant of a Quadratic: Both use quadratic coefficient b.Quadratic Formula (Negative Root): Both use quadratic coefficient b.Quadratic Formula (Positive Root): Both use quadratic coefficient b.Sum of the Roots of a Quadratic: Both use quadratic coefficient b.Vertex x-Coordinate of a Parabola: Both use quadratic coefficient b.Vertex y-Coordinate of a Parabola: Both use quadratic coefficient b.
Here the solver did the work. Could you?

Completing the square →

Grade 11Grade 11 Math: Functions & Applications

What the roots whisper →

Grade 12Grade 12 Math

Test your skills in the Exam Room: new numbers every attempt. Free lessons for students, no sign-up, just pure learning.

See your Report Card
Learning zone

Completing the Square: the Constant Needed explained

b/2b/2k

Halve the coefficient of x, square it, and add: that single instruction turns x² + bx into the perfect square (x + b/2)². Worked example: x² + 10x needs k = (10/2)² = 25, giving (x + 5)². Once an expression is a perfect square you can take a square root of both sides and finish the problem in two lines, which is exactly how the quadratic formula itself is derived and how vertex form a(x − h)² + k is reached.

The name is literal. A Babylonian scribe on tablet BM 13901, around 1800 BCE, solved "I added the area and the side of my square and got 45 (in base 60, i.e. 3/4)" by halving the side coefficient, squaring, and adjusting: arriving at ½ with no algebraic symbols at all. Al-Khwārizmī in ninth-century Baghdad drew the same argument as an actual diagram: a square of side x with two rectangles of width b/2 glued to adjacent sides, leaving a missing corner of area (b/2)² to be filled in. Two traps. First, the leading coefficient must be 1 before you start: for 3x² + 12x, factor out the 3 to get 3(x² + 4x) and complete the square inside. Second, adding k changes the expression, so in an equation you must add it to both sides, and in an expression you must immediately subtract it again to keep the value unchanged.

Completing the Square: the Constant Needed formula

k=(b2)2k = \left( \frac{b}{2} \right)^{2}
Where
  • kk= Constant to add
  • bb= Coefficient of x
Revised 31 October 2026
Cite this page

formula.expert. (2026, October 31). Completing the Square: the Constant Needed Calculator. https://formula.expert/solvers/completing-the-square-constant