Quadratic Equation Calculator
Solve a quadratic equation ax² + bx + c = 0. Get a clear result with the inputs shown on the page.
How It Works
Solve a quadratic equation ax² + bx + c = 0. Get a clear result with the inputs shown on the page. Use Quadratic Equation Calculator to apply the displayed mathematical method to your values and see the result immediately.
The result is most useful when the inputs match the definitions used by this calculator. For this tool, the underlying method is: x = (−b ± √(b²−4ac)) / 2a. Compare the output with the worked example, then change one meaningful input at a time to see how the result responds.
Understanding Quadratic Equation
Quadratic Equation describes a mathematical relationship between the values entered in the calculator. Understanding the reference values and formula helps you interpret the result correctly. Check units, signs, reference values, and rounding conventions when using the result for an important calculation. Review the quadratic equation inputs and units before relying on the result.
The discriminant predicts the real-root case
For ax² + bx + c = 0, calculate D = b² − 4ac. If D is positive, two distinct real roots exist; if D is zero, the repeated real root is −b/(2a); if D is negative, the equation has no real roots, which this calculator reports rather than displaying complex roots.
The leading coefficient cannot be zero
The quadratic formula divides by 2a, so a must not equal zero. If a is zero, the equation is linear (or degenerates further) and requires a different method. Check signs carefully, particularly when b or c is negative, because squaring and subtracting are common sources of mistakes.
Verify roots by substitution
After calculating candidate roots, substitute each value into ax² + bx + c and check that the expression is approximately zero. Displayed decimals may create a tiny rounding residual. Substitution provides an independent check without relying only on the result shown by the calculator.
When to Use This Calculator
Use Quadratic Equation Calculator to apply the displayed mathematical method to your values and see the result immediately.
Practical tip: For this Quadratic Equation Calculator, identify the reference values and units first, then change one meaningful input at a time so the effect on the result is clear.
Formula
x = (−b ± √(b²−4ac)) / 2a
Example
For x² − 5x + 6 = 0, the discriminant is b² − 4ac = 25 − 24 = 1. The roots are (5 ± 1) ÷ 2, giving x = 3 and x = 2; substituting either value makes the original expression zero.
Frequently Asked Questions
Practical Article for This Calculator
Learn what the discriminant says about quadratic roots and how to check solutions by substitution.
How to Interpret the Roots of a Quadratic Equation