Enter the coefficients
Type in a, b and c from your equation in the form ax² + bx + c = 0.
Enter the coefficients a, b and c and get both roots instantly, with the discriminant and full step-by-step work shown.
Type in a, b and c from your equation in the form ax² + bx + c = 0.
The tool computes b² − 4ac, which decides whether the roots are real or complex.
Get both solutions instantly, plus every step of the quadratic formula worked out.
A negative discriminant means the equation has no real roots. The two solutions are complex conjugates, shown in the form p ± qi.
If a is 0 the equation is no longer quadratic — it becomes the linear equation bx + c = 0, which this tool solves directly for x when b is not also 0.
The discriminant, b² − 4ac, tells you the nature of the roots before you even compute them: positive gives two real roots, zero gives one repeated real root, and negative gives two complex roots.