Quadratic Equation Solver - ax² + bx + c = 0

Results
—
—

Solve any quadratic equation of the form ax² + bx + c = 0. Enter the three coefficients to get both roots instantly, including complex roots when the discriminant is negative. The calculator also shows the discriminant, the vertex of the parabola, and its axis of symmetry for a complete picture of the function.

Formula
x = (−b ± √(b² − 4ac)) ÷ 2a; discriminant D = b² − 4ac determines the root type

FAQ

What does the discriminant tell me?
The discriminant D = b² − 4ac determines how many real roots exist: D > 0 gives two distinct real roots, D = 0 gives one repeated root, and D < 0 gives two complex conjugate roots with no real solutions.
What if coefficient a is zero?
If a = 0 the equation is linear (bx + c = 0), not quadratic, and the quadratic formula does not apply. Enter a non-zero value for a — the single solution of the linear equation would be x = −c ÷ b.

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. About MateCalc.

Related Calculators