🔍

🧮 Quadratic Equation Solver

Enter the coefficients a, b, and c from your equation ax^2 + bx + c = 0 to find its roots using the quadratic formula.

What this calculator does

This tool solves any quadratic equation written in standard form, ax^2 + bx + c = 0, using the quadratic formula. Enter the three coefficients and it returns the discriminant plus both roots.

The quadratic formula

The roots are found with x = (-b ± √(b^2 – 4ac)) ÷ 2a. The value under the square root, b^2 – 4ac, is called the discriminant. When it is zero or positive, the equation has one or two real roots. When it is negative, the equation has two complex (imaginary) roots, which this calculator reports as a real part and an imaginary part.

Good to know

If coefficient a is 0, the equation is actually linear (bx + c = 0), and the calculator solves it as such automatically. This tool is intended for general educational and homework-checking purposes.

Last reviewed August 2026