Quadratic Equation Solver
Solve ax² + bx + c = 0 with real or complex roots and full steps.
Tool
Was this tool useful?
About this tool
About Quadratic Equation Solver
Enter the coefficients to get the roots, discriminant and vertex, with each step shown.
How it works
x = (−b ± √(b² − 4ac)) ÷ 2a. The discriminant D = b² − 4ac decides the type of roots.
Example
x² − 5x + 6 = 0 → D = 1 → x = 3 or x = 2.
How to use this tool
- Enter a, b and c.
- Click Solve.
- Read the roots and the working.
Frequently asked questions
What if D is negative?
The roots are complex numbers, shown as p ± qi.
What if a = 0?
Then it is a linear equation bx + c = 0, which the tool also solves.
Can I use the Quadratic Equation Solver for homework?
Yes. The Quadratic Equation Solver shows the answer and, where possible, the method, so you can check your own working. Teachers usually want to see the steps, so use it to learn the method rather than only copying the answer.