Quadratic Equation Solver
Real and complex roots of ax² + bx + c.
ax² + bx + c = 0
x = (−b ± √(b² − 4ac)) ÷ 2a
Results
Rootsx = 2, 1
Discriminant1
Everything runs locally in this browser tab. Nothing is uploaded.
How to use Quadratic Equation Solver
Enter coefficients a, b, and c for ax² + bx + c = 0.
Read real roots, repeated roots, or complex conjugate roots when the discriminant is negative.
Copy the roots string or discriminant.
Frequently asked questions
What happens if a = 0?
The solver falls back cleanly to linear equation bx + c = 0.