Summary
Solve ax² + bx + c = 0 for real roots.
Calculation details
Negative discriminants report zero real roots. Calculations retain raw JavaScript number precision; display values are rounded to at most six decimal places.
Formula
x = (−b ± √(b² − 4ac)) / (2a).
Worked example
Quadratic Formula Calculator example
Roots are 2 and 1.
How it works
Enter coefficients a, b, and c (a ≠ 0). Real roots appear when the discriminant is non-negative.
Frequently asked questions
How accurate is the Quadratic Formula Calculator?
The calculation keeps raw numeric precision and rounds only the displayed result to at most six decimal places.
What should I do with an invalid result?
Check that every visible value is finite and that no required divisor is zero.