Quadratic Equation Solver
Solve ax² + bx + c = 0 for real, repeated or complex roots. Handles linear and degenerate equations explicitly.
Set your values
Adjust the values, then calculate your result.
How to use Quadratic Equation Solver
- Load the included example or provide your own input and settings.
- Choose the operation and review the supported format below.
- Run the tool, inspect the result, and copy or download it.
Identify the kind of equation first
Supply the coefficients of ax squared plus bx plus c equals zero. A nonzero quadratic coefficient leads to two real roots, one repeated root or a complex conjugate pair according to the discriminant. If the quadratic coefficient is zero, the calculator handles the remaining linear equation separately. The all-zero identity and an inconsistent constant equation also receive explicit results rather than division errors.
Reduce avoidable floating-point cancellation
Coefficients are scaled before evaluating the discriminant, and distinct real roots use a cancellation-resistant formulation with the second root derived from their product. This improves ordinary numerical results but does not create symbolic exactness. Very unequal coefficients, near-zero discriminants and extreme roots can still lose precision or exceed the supported range. Check sensitive results by substituting them into the original equation using an appropriate numerical tolerance.
Does Quadratic Equation Solver upload my input?
No. This tool processes input locally in your browser without calling a conversion API.
Is input uploaded?
Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.