About this tool: Quadratic Equation Solver
Solve ax² + bx + c = 0, including complex roots. The coefficient a must be nonzero.
Enter the coefficients of ax²+bx+c=0 with a different from zero. A positive discriminant gives two real roots, zero gives one repeated root and a negative value gives a complex conjugate pair. A numerically stable formula preserves the smaller root when b is large.
How the calculation works
Worked example
| a | 1 |
| b | -3 |
| c | 2 |
x₁ = 1; x₂ = 2
Questions and answers
What does this tool do?
Solve ax² + bx + c = 0, including complex roots. The coefficient a must be nonzero. Enter the coefficients of ax²+bx+c=0 with a different from zero. A positive discriminant gives two real roots, zero gives one repeated root and a negative value gives a complex conjugate pair. A numerically stable formula preserves the smaller root when b is large.
What affects precision and input format?
Floating-point results are rounded for display. Keep the units shown in the input labels; decimal points and decimal commas are accepted.
Where are the calculations performed?
The calculation runs in your browser. You can use the tool without installing software.
Comments (0)
Share your thoughts — please be polite and stay on topic.
Log in to comment