Quadratic Equation Solver with Steps
Enter a quadratic in any form. The solver rearranges it to ax² + bx + c = 0, picks a suitable method, and shows real or complex roots with the working.
How to do it by hand
Write it in standard form
Rearrange so one side is zero: ax² + bx + c = 0, and read off a, b and c.
Compute the discriminant
D = b² − 4ac. Positive gives two real roots, zero gives one repeated root, negative gives two complex roots.
Choose a method
Factor when the roots are rational; otherwise use the quadratic formula x = (−b ± √D) / 2a or complete the square.
Simplify and check
Simplify any surds and substitute each root back into the original equation.
Common mistakes
- Reading b or c with the wrong sign when the equation is not in standard form.
- Dividing only part of the numerator by 2a in the quadratic formula.
- Dropping the ± and reporting a single root.
Questions about quadratic equations
When should I factor instead of using the formula?
Factor when you can quickly find two numbers that multiply to ac and add to b. The formula always works and is safer when the numbers are awkward.
What does a negative discriminant mean?
The parabola does not cross the x-axis, so there are no real roots. The two roots are complex conjugates.