➗ Quadratic Equation Solver — ax² + bx + c

Enter a, b and c to see the discriminant, real roots when they exist, and the vertex of the parabola.

Math Free · no sign-up Added 2026-10-08
Input
Result
Summary

Private by design. This tool runs entirely in your browser — nothing you enter or add is uploaded to any server.

How it works

  1. Enter the coefficients of ax² + bx + c = 0. a must not be zero.
  2. Press Solve. The discriminant is b² − 4ac.
  3. Copy the real roots, or the note that the roots are complex when the discriminant is negative.

Examples

  • 1, -3, 2 gives roots 1 and 2.
  • 1, 0, -4 gives roots -2 and 2.
  • 1, 0, 1 has a negative discriminant, so no real roots.

Frequently asked questions

What if a is zero?

The equation is linear, not quadratic. The tool asks you to enter a non-zero a instead of silently switching formulas.

Are complex roots calculated?

No. A negative discriminant is reported as no real roots. Only real roots are printed.

Is any coefficient uploaded?

No. The quadratic formula runs in the page.

More Math tools →