Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Literal Equation SolverRadical Equation SolverSystem of Nonlinear Equations SolverLinear Equation SolverVertex and Axis of Symmetry CalculatorFunction GrapherQuadratic Formula Calculator
Home Page > Math > Algebra Calculators

Completing the Square Calculator

Enter quadratic coefficients a, b, and c to solve quadratic equations by completing the square, find the vertex form, and view step-by-step algebra.

Free to useNo sign-up requiredUpdated Mar 2026
Completing the Square CalculatorTry it now — free ▼
⚡ Quick Examples:
+
x
+
= 0

Embed Completing the Square Calculator Widget

About Completing the Square Calculator

The Completing the Square Calculator solves any quadratic equation \(ax^2 + bx + c = 0\) using the completing the square method. It provides a detailed, step-by-step algebraic walkthrough, converts the equation to vertex form \(a(x - h)^2 + k\), classifies the roots, and displays an interactive parabola graph with the vertex and solutions highlighted.

What is Completing the Square?

Completing the square is a fundamental algebraic technique that transforms a quadratic expression into a perfect square trinomial plus a constant. Given \(ax^2 + bx + c\), the method produces the equivalent form \(a(x - h)^2 + k\), known as vertex form.

The name comes from a geometric interpretation: the expression \(x^2 + bx\) can be visualized as a square of side \(x\) plus a rectangle of area \(bx\). By splitting the rectangle and rearranging, you can almost form a larger square — the missing corner piece is \((b/2)^2\), which literally "completes" the square.

$$x^2 + bx + \left(\frac{b}{2}\right)^2 = \left(x + \frac{b}{2}\right)^2$$

How to Complete the Square

Follow these steps to solve \(ax^2 + bx + c = 0\) by completing the square:

  1. Divide by a: If the leading coefficient \(a \neq 1\), divide every term by \(a\) to get \(x^2 + \frac{b}{a}x + \frac{c}{a} = 0\).
  2. Move the constant: Rearrange to \(x^2 + \frac{b}{a}x = -\frac{c}{a}\).
  3. Find the completing value: Take half of the coefficient of \(x\), which is \(\frac{b}{2a}\), and square it to get \(\left(\frac{b}{2a}\right)^2\).
  4. Add to both sides: Add \(\left(\frac{b}{2a}\right)^2\) to both sides of the equation.
  5. Factor the left side: The left side becomes the perfect square \(\left(x + \frac{b}{2a}\right)^2\).
  6. Solve: Take the square root of both sides and solve for \(x\).

Completing the Square Formula

For any quadratic equation \(ax^2 + bx + c = 0\), completing the square yields:

$$a\left(x + \frac{b}{2a}\right)^2 + c - \frac{b^2}{4a} = 0$$

The vertex is at \(\left(-\frac{b}{2a},\; c - \frac{b^2}{4a}\right)\), and the solutions are:

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

This is the quadratic formula, which is in fact derived by completing the square on the general quadratic equation.

When to Use Completing the Square

While the quadratic formula can solve any quadratic equation, completing the square is preferred when you need to:

Completing the Square vs. Quadratic Formula

FeatureCompleting the SquareQuadratic Formula
Gives vertex form?Yes, directlyNo
Finds roots?YesYes
Shows algebraic process?Detailed stepsPlug-and-solve
Useful for graphing?Very usefulOnly gives x-intercepts
Used in calculus?EssentialRarely used
ComplexityMore stepsOne formula

Frequently Asked Questions

What is completing the square?

Completing the square is an algebraic technique that rewrites a quadratic expression \(ax^2 + bx + c\) into vertex form \(a(x - h)^2 + k\). You do this by adding and subtracting \((b/2a)^2\) to create a perfect square trinomial on one side of the equation.

Why use completing the square instead of the quadratic formula?

Completing the square gives you the vertex form directly, revealing the parabola's vertex \((h, k)\), axis of symmetry, and minimum or maximum value. The quadratic formula only gives roots. Completing the square also helps derive the quadratic formula itself and is essential for conic sections and calculus.

Can you complete the square when a is not 1?

Yes. First divide every term by \(a\) to make the leading coefficient 1, then complete the square on the resulting monic quadratic. At the end, multiply back by \(a\) to get the vertex form \(a(x - h)^2 + k\).

What does the discriminant tell you about the roots?

The discriminant is \(b^2 - 4ac\). If it is positive, the equation has two distinct real roots. If it equals zero, there is exactly one repeated real root. If it is negative, the roots are complex conjugates with no real solutions.

How does completing the square relate to the vertex of a parabola?

Completing the square converts \(y = ax^2 + bx + c\) to \(y = a(x - h)^2 + k\), where \((h, k)\) is the vertex. The vertex is the minimum point when \(a > 0\) or the maximum point when \(a < 0\). The axis of symmetry is \(x = h\).

Reference this content, page, or tool as:

"Completing the Square Calculator" at https://MiniWebtool.com/completing-the-square-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Mar 20, 2026

Algebra Calculators:

Math SolverWhat would you like to solve?

Math Solver

Try
Browse expression examples

Choose an example to fill the input, edit its numbers, then Solve. log uses base 10; use ln for the natural logarithm.

Numbers & factors

Fractions & division

Powers, roots & logs

Algebra & equations

Calculus

Geometry & trigonometry

Top & Updated:

Square CalculatorSquare Numbers ListChi-Square Test CalculatorView all →
Home Page > Math > Algebra Calculators > Completing the Square Calculator