Complete the square on any quadratic exactly, and see the four steps carried out on your own numbers rather than described. Completing the square is not a technique that sits alongside the quadratic formula. It is where the formula comes from. Run the same four steps on ax² + bx + c using letters i...
ax² + bx + c = a(x − h)² + k, h = −b/2a, k = c − b²/4a
Run these four steps on letters instead of numbers and the last line is the quadratic formula. They are not two methods.
COMPLETED SQUARE
(x − 3)² − 4
Expanded again it is x² − 6x + 5 — the original, exactly. Checked on every keystroke.
VERTEX
(3, −4)
AXIS
x = 3
MINIMUM
−4
| Quantity | Exact value | Where it comes from |
|---|---|---|
| h | 3 | −b / 2a |
| k | −4 | c − b² / 4a |
| (b/2a)² | 9 | the corner that completes the square |
| Discriminant | 16 | b² − 4ac, after clearing denominators |
| Roots | 1, 5 | h ± √(−k/a) |
These four steps are the quadratic formula. Carry them out on ax² + bx + c with letters rather than the numbers above and the final line reads x = (−b ± √(b² − 4ac)) / 2a. Nothing else is needed to derive it, and nothing else was ever used to: the formula is the general answer to this procedure, which is why every quadratic yields to it. Being taught them as two separate things to remember is a quirk of curriculum rather than of mathematics.
Why the vertex is worth more than the roots. The completed form gives the minimum value −4 at x = 3 directly, with no calculus and no guessing, and the range follows immediately: the expression takes every value at or above −4 and none below it. That is the answer to most real questions asked of a quadratic — the cheapest price, the highest point, the best setting — none of which the roots tell you.
THE SQUARE
The corner is the only thing the method does. Everything else is bookkeeping: you add 9 to finish the square, then subtract it again so the expression still means what it did before.
Live calculation · updates as you type
Type the three coefficients a, b and c. Whole numbers, decimals and fractions written as 3/4 are all read exactly, and an empty box counts as zero. If a is zero there is no square to complete, because dividing by a is the first thing the method does.
Read the completed form, then the line beneath it. That line multiplies the square back out and compares all three coefficients with what you entered, so the result is checked rather than merely asserted.
Take h and k as the answer to most questions. h is the axis of symmetry and k is the minimum or maximum value, both exact fractions — that is the range, the turning point and the best-case value, none of which the roots tell you.
Use the four-line derivation on the right as a worked template. The same four steps on letters rather than your numbers produce the quadratic formula, which is the fastest way to stop treating them as separate things to remember.
| Quantity | Formula | What it is for |
|---|---|---|
| Vertex form | ax² + bx + c = a(x − h)² + k | The whole method in one line. Everything below follows from it. |
| The axis | h = −b / 2a | Half the middle coefficient, negated. The axis of symmetry and the x of the vertex. |
| The extreme value | k = c − b² / 4a | The minimum when a > 0, the maximum when a < 0. Equivalently k = −D/4a. |
| The piece you add | (b / 2a)² | Added and subtracted in the same line, so the value never changes. |
| Discriminant | D = b² − 4ac = −4ak | Its sign is the sign of −k/a, which is why the vertex tells you the root count. |
| Quadratic formula | x = (−b ± √(b² − 4ac)) / 2a | What these four steps produce when you run them on letters rather than numbers. |
| Roots from vertex form | x = h ± √(−k/a) | The same answer, read straight off the completed square. Real exactly when −k/a ≥ 0. |
| Sum and product of roots | r₁ + r₂ = −b/a, r₁r₂ = c/a | Vieta’s relations. The sum is 2h, because the roots straddle the axis evenly. |
24 Times Table
Calculate instantly →
Quadratic Equation Solver
Calculate instantly →
Logarithm Calculator
Calculate instantly →
Fraction Calculator
Calculate instantly →
Fraction Simplifier
Calculate instantly →
Linear Equation Solver
Calculate instantly →
25 Times Table
Calculate instantly →
26 Times Table
Calculate instantly →
27 Times Table
Calculate instantly →
Simultaneous Equations Solver (2×2)
Calculate instantly →
28 Times Table
Calculate instantly →
Exponent Calculator
Calculate instantly →
29 Times Table
Calculate instantly →
30 Times Table
Calculate instantly →
Times Tables Mega Calculator
Calculate instantly →
Square Root of 10
Calculate instantly →
Square Root of 1
Calculate instantly →
Square Root Mega
Calculate instantly →
Square Root of 2
Calculate instantly →
23 Times Table
Calculate instantly →
Last updated: August 3, 2026 · Exact rational arithmetic · the completed form is expanded back and checked against the input on every keystroke