DataToolsLab
Algebra Calculators

Completing the Square Calculator

Rewrite ax² + bx + c in vertex form a(x − h)² + k, with the steps shown.

Loading tool…

What is Complete the Square?

Completing the square rewrites a quadratic as a perfect square plus a constant, which exposes the vertex of the parabola and is the technique behind the quadratic formula itself.

How it works

The tool computes h = −b/2a and k = c − b²/4a, then builds a(x − h)² + k, printing each substitution so the algebra can be followed rather than only the answer copied.

  1. Enter your input. Type or paste your input into the field above — the tool responds instantly.
  2. Review the result. Output updates live as you type. Everything runs entirely in your browser.
  3. Copy or download. Use the Copy button to grab the result, or Download to save it as a file.

Examples

Realistic sample

Type or paste any realistic input — the tool computes the result locally and instantly.

Common mistakes

Expecting a server round-trip

Nothing is uploaded — every tool in this category runs entirely in your browser.

Online