Completing the Square
Rewrite ax² + bx + c as a(x + h)² + k.
Your numbers
Inside shift h
Use consistent units. The result follows the assumptions you enter.
Scenario comparison
Up to three snapshots in this tab. Loading one replaces the current inputs.
Formula
h=b/(2a); k=c−b²/(4a)
Rewrite ax² + bx + c as a(x + h)² + k.
Worked example
- a, nonzero
- 1
- b
- 6
- c
- 5
- Inside shift h
- 3
- Outside constant k
- -4
Scope and limitations
Use consistent units. The result follows the assumptions you enter.
Inputs are checked for missing values and allowed ranges. A result outside the finite numeric range is not displayed. Rounding affects display, while the calculation uses the model’s numeric precision.
Check your units and assumptions before relying on a result. Changing a label does not convert a currency or physical unit.
Formula version: cebe5909cd02 · Example checked: