Quadratic Equation Solver

Find real or complex roots of ax² + bx + c = 0.

Result

Enter your values to see the result.

How it works

Use the discriminant b² − 4ac to determine the type of roots. If a is zero, solve the remaining linear or constant equation.

x² − 5x + 6 = 0 has roots 2 and 3.

Related calculators