Quadratic Equation Solver

Solve ax² + bx + c = 0 for its real roots and discriminant, instantly and privately in your browser.

Enter coefficients for ax² + bx + c = 0

Enter the coefficients a, b, and c from any equation in the form ax² + bx + c = 0 and get both roots instantly. Real or complex, with the discriminant shown along the way. Useful for checking homework, working through factoring practice, or solving a physics/engineering equation without digging up the quadratic formula.

How to use it

  1. Enter the values of a, b, and c from your equation
  2. Click solve to compute the discriminant and roots
  3. Read off both x values (real or complex)

Frequently asked questions

What if there's no real solution?
If the discriminant (b² − 4ac) is negative, the equation has no real roots. The solver will show the two complex roots instead (in the form p ± qi).
What happens if a = 0?
Then it's not actually quadratic. The tool will either solve it as a linear equation (bx + c = 0) or flag that a can't be zero, depending on what you enter.
Does it show the steps, or just the answer?
It shows the discriminant and both roots computed via the quadratic formula, so you can check your own by-hand work or see where you went wrong.