Quadratic Equation Solver

Enter a, b and c to solve the equation.

🔒 Your numbers stay in your browser.

How to use the quadratic equation solver

  1. Enter a, b and c.
  2. Read the discriminant and the roots.

The formula

x = (-b ยฑ sqrt(b squared – 4ac)) / 2a.

The discriminant

If it is positive there are two real roots, zero gives one root and negative gives two complex roots.

Frequently asked questions

Can a be zero?

No, then it is not a quadratic.

What are complex roots?

Roots that involve the square root of a negative number.

Guides

Related free tools

See all 225 free tools →