The formula this page uses
x² + bx → (x + b/2)² − (b/2)² a x² + bx + c → a(x + b/(2a))² + c − b²/(4a)
Use the free completing the square calculator to model the algebraic relationship, calculate the requested quantity, and verify it in the original expression. Choose a focused operation below to calculate, inspect the method, and connect the result to a visual model.
The visual updates with your calculation.
x² + bx → (x + b/2)² − (b/2)² a x² + bx + c → a(x + b/(2a))² + c − b²/(4a)
Start with the equation
Because the rule 'half of b, squared' was built for x² + bx, where the x² has nothing in front of it. In 3x² − 12x the b you see is −12, but the b that matters inside the bracket is −4, which only appears after the 3 comes out.
Nothing breaks, you just get a fraction. For x² + 5x, half of 5 is 2.5 and 2.5² is 6.25, so the bracket is (x + 2.5)². Many people keep it as (x + 5/2)² and add 25/4 instead, which avoids decimals entirely.
The formula is what you get if you complete the square on a general ax² + bx + c once and remember the result. That is why the 2a in the formula's denominator exists: it is the b/(2a) from this method, still sitting there.
When you want the turning point rather than the roots. 3(x − 2)² − 7 tells you instantly that the lowest point is at (2, −7). The formula would hand you 3.5275 and 0.4725 and leave you to average them.
This workspace keeps the formula and the meaning together. Decimal results are rounded for display; retain full precision when you continue a calculation.
Match each input to the quantities in the problem and keep units consistent.
The result panel identifies the formula or algorithm and shows the main substitutions.
Use the diagram, plot, or data display to check scale, direction, and plausibility.
Move to targeted questions once you can explain why the method applies.
A calculator confirms an answer. Working the method yourself is what makes the next problem faster.