Home › Calculators › Quadratic Equation Solver

📐 Quadratic Equation Solver

Solve ax² + bx + c = 0 and get both roots — real or complex — plus the discriminant.

Solve ax² + bx + c = 0

About this Quadratic Equation Solver

This quadratic solver applies the quadratic formula to ax² + bx + c = 0 and reports the discriminant along with both roots. A positive discriminant means two real roots, zero means one repeated root, and a negative one means the roots are complex numbers — all three cases are handled here.

How to use it

  1. Read the coefficients a, b and c from your equation (watch the signs).
  2. Type them in and click Solve equation.
  3. Read the discriminant and the two roots, real or complex.

Example

For x² − 3x + 2 = 0 (a = 1, b = −3, c = 2), the discriminant is 1 and the roots are x = 2 and x = 1.

Frequently asked questions

What is the discriminant?

It is b² − 4ac, the part under the square root in the quadratic formula. Its sign tells you the kind of roots before you finish solving.

What if a is 0?

Then the equation is not quadratic at all — it is linear, and the tool solves it that way instead.

More Calculators