Enter a, b and c to solve the equation.
🔒 Your numbers stay in your browser.
How to use the quadratic equation solver
- Enter a, b and c.
- 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.