Quadratic Equation Solver

Solve any quadratic equation ax² + bx + c = 0 — real or complex roots, discriminant, vertex and sum/product of roots.

Calculated in your browser. No data sent to servers.

Formula reviewed Nov 2026

Try an example

Solve ax² + bx + c = 0

Roots

-

-

Discriminant

-

Vertex

-

Sum of roots

-

Product of roots

-

How to use this calculator

Enter the coefficients a, b and c of the equation ax² + bx + c = 0. The calculator returns both roots (real or complex), the discriminant, the vertex of the parabola, and the sum and product of the roots.

The formula behind this result

Quadratic formula: x = (−b ± √(b² − 4ac)) / 2a. Discriminant Δ = b² − 4ac. If Δ > 0: two real roots; Δ = 0: one double root; Δ < 0: two complex conjugate roots. Vertex: x = −b/2a, y = a(x)² + bx + c. Sum of roots = −b/a. Product of roots = c/a.

Frequently asked questions

What does the discriminant tell me?

Δ > 0: two distinct real roots. Δ = 0: one real (double) root. Δ < 0: two complex conjugate roots (no real solutions).

What if a = 0?

Then it's not a quadratic — it's a linear equation bx + c = 0 with solution x = −c/b. The calculator handles this case.

Explore more