Quadratic Equation Solver

Solve ax² + bx + c = 0 for real or complex roots, with the discriminant and vertex.

How to use the Quadratic Equation Solver

  1. Enter or choose the a.
  2. Enter or choose the b.
  3. Enter or choose the c.
  4. Results update instantly as you type — press Calculate any time to refresh.

Formula

x = [−b ± √(b² − 4ac)] ÷ 2a.

About this calculator

Solve any quadratic equation of the form ax² + bx + c = 0. The solver returns both roots (real or complex), the discriminant, the vertex of the parabola, and the sum and product of the roots.

Frequently asked questions

What does the discriminant mean?

If b² − 4ac is positive there are two real roots, zero gives one repeated root, and negative gives two complex roots.

What if a = 0?

Then the equation is linear (bx + c = 0), not quadratic.