Quadratic Formula Calculator
Solve quadratic equations with the quadratic formula. Get real or complex roots, the discriminant and the vertex. Free calculator with formulas.
FreeNo signupUpdated Nov 14, 2026By CalculatorBase Editorial Team
Quadratic Formula Calculator
How the quadratic formula works
A quadratic equation has the form ax² + bx + c = 0, with a not equal to zero. The quadratic formula gives its solutions directly from the three coefficients. The part under the square root, called the discriminant, tells you what kind of roots to expect.
The formulas
x = (-b ± √(b² – 4ac)) / 2aDiscriminant D = b² – 4ac
Vertex x = -b / 2a
What the discriminant tells you
| Discriminant | Roots |
|---|---|
| D greater than 0 | Two different real roots |
| D equal to 0 | One repeated real root |
| D less than 0 | Two complex roots (conjugates) |
When roots are complex, they are shown as a real part plus or minus an imaginary part. The graph of such an equation does not cross the x-axis.
Frequently asked questions
What is the quadratic formula?
x equals negative b, plus or minus the square root of b squared minus 4ac, all divided by 2a.
What is the discriminant?
The value b squared minus 4ac. It decides whether the equation has two real roots, one repeated root or two complex roots.
Why can a not be zero?
If a is zero, the x squared term disappears and the equation becomes linear, not quadratic.
What does the vertex mean?
It is the turning point of the parabola. For a positive a it is the lowest point, for a negative a the highest.
Can the calculator handle complex roots?
Yes. When the discriminant is negative, it shows the roots in the form p plus or minus qi.
About this calculator
- Written by
- CalculatorBase Editorial Team
- Last reviewed
- November 14, 2026
- Method
- Standard formulas applied to your inputs, with no data stored.
Results are calculated from the values you enter using standard published formulas. They are estimates for general information. Read the full disclaimer.