Completing the Square Calculator

Free Completing the Square Calculator: convert ax² + bx + c to vertex form instantly, with vertex coordinates, discriminant, and real or complex roots shown step by step.

877.8K usesUpdated · 2026-04-29Runs locally · zero upload

How to Use Completing the Square Calculator

The Completing the Square Calculator transforms any quadratic expression into vertex form and computes all related properties instantly. To use the Completing the Square Calculator:

  1. Enter Coefficient a — The leading coefficient of x². Must be non-zero.
  2. Enter Coefficient b — The coefficient of the linear x term.
  3. Enter Coefficient c — The constant term. The Completing the Square Calculator updates all results immediately after each change.

The output includes the vertex form of the expression, vertex coordinates (h, k), the discriminant, and the solutions to ax² + bx + c = 0 — whether real or complex.

Formula & Theory — Completing the Square Calculator

The Completing the Square Calculator applies the following algebraic identity:

ax² + bx + c  =  a(x − h)² + k

Where:

h = −b / (2a)
k = c − b² / (4a)
Symbol Meaning
a, b, c Coefficients of the quadratic expression
h x-coordinate of the vertex; axis of symmetry is x = h
k y-coordinate of the vertex; minimum value when a > 0, maximum when a < 0

The discriminant Δ = b² − 4ac determines the nature of the roots:

  • Δ > 0 → two distinct real roots
  • Δ = 0 → one repeated real root
  • Δ < 0 → two complex conjugate roots

The Completing the Square Calculator handles all three cases and clearly labels the result type.

Step-by-Step Derivation

Starting from ax² + bx + c:

  1. Factor out a from the quadratic and linear terms: a(x² + (b/a)x) + c
  2. Add and subtract (b/2a)² inside the parentheses: a[(x + b/2a)² − (b/2a)²] + c
  3. Distribute and simplify: a(x + b/2a)² + (c − b²/4a)

This is the vertex form produced by the Completing the Square Calculator, where h = −b/(2a) and k = c − b²/(4a).

Use Cases for Completing the Square Calculator

The Completing the Square Calculator is useful in a variety of situations:

  • Algebra Homework — Verify your manual completing-the-square steps against the calculator results to catch errors instantly.
  • Graphing Parabolas — The vertex coordinates provided by the Completing the Square Calculator let you plot the parabola precisely without guessing.
  • Solving Quadratic Equations — When factoring is not obvious, the completing-the-square method from the calculator gives a systematic path to both real and complex solutions.
  • Physics & Engineering — Quadratic models for projectile motion, optimization problems, and circuit analysis all benefit from the vertex form the Completing the Square Calculator produces.
  • Exam Preparation — Use the Completing the Square Calculator to check practice problems for algebra, pre-calculus, or standardized test preparation.

The Completing the Square Calculator turns a standard quadratic expression into its most informative form, supporting both learning and real-world problem solving.

Frequently asked questions about Completing the Square Calculator

What does completing the square mean?

Completing the square is an algebraic technique that rewrites a quadratic expression ax² + bx + c in vertex form a(x - h)² + k, revealing the parabola's vertex and simplifying root finding.

How does the Completing the Square Calculator find the vertex?

The Completing the Square Calculator computes h = -b/(2a) and k = c - b²/(4a), which are the x and y coordinates of the parabola vertex respectively.

Can the Completing the Square Calculator handle complex roots?

Yes. When the discriminant is negative, the Completing the Square Calculator displays the two complex conjugate roots in the form a + bi and a - bi.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.