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.

Try

How to do it by hand

  1. Write it in standard form

    Rearrange so one side is zero: ax² + bx + c = 0, and read off a, b and c.

  2. Compute the discriminant

    D = b² − 4ac. Positive gives two real roots, zero gives one repeated root, negative gives two complex roots.

  3. Choose a method

    Factor when the roots are rational; otherwise use the quadratic formula x = (−b ± √D) / 2a or complete the square.

  4. Simplify and check

    Simplify any surds and substitute each root back into the original equation.

Common mistakes

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.

More calculators