Math

Quadratic Equation Solver

Solve ax² + bx + c quadratic equations, calculate discriminants, and return real or complex roots.

Free to use No sign-up Runs in your browser

Tool workspace

Solve a quadratic equation and report its roots.

About Quadratic Equation Solver

A quadratic equation solver helps you evaluate equations in the form ax² + bx + c by calculating the discriminant and the corresponding real or complex roots. It is useful for algebra practice, physics formulas, spreadsheet checks, and code debugging when you need the full solution path without recalculating the same polynomial by hand.

How to Use Quadratic Equation Solver

  1. 1Enter the coefficients for a, b, and c exactly as they appear in the quadratic equation you want to solve.
  2. 2Run the solver so the page can calculate the discriminant and determine whether the roots are distinct, repeated, or complex.
  3. 3Review the resulting roots and supporting values before you reuse them in homework, a simulation, or a verification note.

Common Use Cases for Quadratic Equation Solver

Algebra homework checks

Confirm the roots and discriminant of an equation before you submit a worksheet or explain the solving process to someone else.

Physics and engineering formulas

Solve quadratic relationships that appear in motion, geometry, or optimization problems while keeping the coefficients visible for review.

Code and spreadsheet validation

Cross-check an implementation that solves quadratics so you can compare the expected roots with the values produced by your own script.

Frequently asked questions

What happens if a is zero?

If a is zero, the expression is no longer quadratic. Treat it as a different type of equation and follow the validation guidance on the page before you rely on the result.

Can the solver show complex roots?

Yes, when the discriminant is negative the page can report the complex result form instead of forcing a real-number answer. That makes it easier to review equations that do not intersect the real axis.