Calculate & Convert

Quadratic Solver

Roots of ax² + bx + c = 0, real or complex.

Enter values

The formula

x = (−b ± √(b² − 4ac)) / 2a

The quadratic formula solves any equation of the form ax² + bx + c = 0. The discriminant b² − 4ac decides the shape of the answer before you finish: positive gives two real roots where the parabola crosses the x-axis, zero gives one touching point, and negative means it never crosses, so the roots are complex.

All calculations run locally in your browser and update instantly as you type.

Example calculations

Common questions this calculator answers — select one to load its values.

Related calculators

Frequently asked questions

What does the discriminant tell me?+
If b²−4ac is positive there are two real roots, zero gives one repeated root, and negative gives a complex-conjugate pair.
All calculations run locally in your browser. Nothing you type is sent to a server.