Quadratic Equation Calculator
Other root: 2
x = (−b ± √(b² − 4ac)) ÷ (2a)
Solve a quadratic equation for its real roots.
Formula
x = (−b ± √(b² − 4ac)) ÷ (2a)
Worked example
Coefficient a: 1
Coefficient b: -5
Coefficient c: 6
With these inputs, the result is **3 **. Other root: 2
How to use this calculator
- Identify the quantity you want to calculate.
- Enter your measurements in the units shown on each field.
- Read the result, which updates as you change the inputs.
- Check the assumptions below before applying the result.
Assumptions and limits
Reports real roots only. Very large or nearly cancelling coefficients can reduce floating-point accuracy.
Precision and checking
Results are rounded for display. Use the most accurate measurements available, and avoid rounding your inputs unnecessarily. Extra decimal places in a result do not make an estimate more reliable.
To check a result, substitute the same input values into the formula shown above. Change one value at a time to understand how the quantity responds.
Frequently asked questions
What assumptions does this calculation use?
Reports real roots only. Very large or nearly cancelling coefficients can reduce floating-point accuracy.
Are my inputs sent to a server?
No. The calculation runs locally in your browser. The result updates as you edit the inputs.
