Quadratic Equation Solver

Solve ax² + bx + c = 0 with discriminant and complex roots.

Enter a, b and c to solve any quadratic equation. The solver shows the discriminant, real or complex roots and indicates the root type.

Common use cases

  • Solve quadratic equations in algebra homework
  • Find roots for physics motion problems
  • Identify complex roots when the discriminant is negative
  • Verify factoring or completing-the-square answers

Frequently asked questions

What if a = 0?
Then it's linear, not quadratic. The solver flags this and won't divide by zero.
Discriminant interpretation?
Positive: two distinct real roots. Zero: one repeated real root. Negative: two complex conjugate roots.
Why does it show roots as decimals?
Numerical accuracy is limited to ~6 significant figures. For exact symbolic roots, use a CAS like SymPy.

Related tools