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
Next step
Vertex and Axis of Symmetry CalculatorQuadratic Formula Calculator
Same situation
Function GrapherParabola Calculator
More tools
Literal Equation SolverRadical Equation SolverSystem of Nonlinear Equations SolverLinear Equation Solver
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.

3 free uses dailyNo sign-up requiredInstant Results
Completing the Square CalculatorTry it now — free ▼
⚡ Quick Examples:
x²
+
x
+
= 0
Any arrangement works. Equations with y² (circles, ellipses) are completed in x and y. Up to 20 lines: the first gets the full steps, all of them a summary table.

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\).

How do I find the maximum or minimum of a quadratic by completing the square?

Rewrite the quadratic in vertex form a(x-h)^2+k. Its vertex is (h,k); if a is positive, the vertex gives the minimum, and if a is negative, it gives the maximum. For example, x^2 - 6x + 11 becomes (x - 3)^2 + 2, so the minimum value is 2 at x=3. This describes the quadratic’s turning point, not necessarily a solution to an equation.

Why do I divide by the leading coefficient before completing the square?

The basic completing-square pattern assumes the coefficient of x squared is 1. For 2x^2 + 8x + 3, divide the x terms and constant by 2 first to get x^2 + 4x + 3/2. Half of 4 is 2, and its square is 4, which is the amount used to form (x+2)^2. Keep track of multiplying the completed expression back by 2.

Can completing the square give non-real roots?

Yes. Completing the square can reveal that a quadratic has no real roots. For example, x^2 + 4x + 8 = 0 becomes (x + 2)^2 = -4, which has no real number whose square is -4. Over the complex numbers, the roots are x = -2 ± 2i. A positive square cannot equal a negative real value, which is the key signal in the real-number case.

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 ListSquare Root (√) CalculatorView all →
Home Page > Math > Algebra Calculators > Completing the Square Calculator