Skip to calculators
calcmintly

Completing the Square

Rewrite ax² + bx + c as a(x + h)² + k.

Add to workspace

Your numbers

Local calculations. Results are estimates, not professional advice.

Inside shift h

—

Use consistent units. The result follows the assumptions you enter.

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:

Methodology

Related tools