Quadratic Equation Solver
Quadratic Equation Solver: Find real or complex roots of ax² + bx + c = 0.
Quadratic Equation Solver
Quadratic Equation Solver: Enter coefficients a, b and c for ax² + bx + c = 0. The solver handles two real, one repeated, or two complex roots.
Loading the tool...
✓ Your inputs stay in this browser
How to use Quadratic Equation Solver
Enter coefficients a, b and c for ax² + bx + c = 0. The solver handles two real, one repeated, or two complex roots.
How Quadratic Equation Solver calculates the result
For ax² + bx + c = 0 with a ≠ 0, discriminant D = b² − 4ac. The roots are (−b ± √D) ÷ (2a). D > 0 gives two real roots, D = 0 one repeated root, and D < 0 complex roots.
Example
For a=1, b=-3, c=2 the roots are 2 and 1.
What to know
Coefficient a cannot be zero. Very large coefficients can exceed floating-point precision. Answers are rounded for readability.