Quadratic Formula Calculator
Solve ax² + bx + c = 0 and report the discriminant, root type and vertex.
Coefficient a must not be zero. Complex conjugate roots are shown when the discriminant is negative.
How to use this calculator
Enter the coefficients from ax² + bx + c = 0, including zero or negative values where needed. The discriminant determines whether the roots are distinct real, repeated real or complex.
Formula
x = (−b ± √(b² − 4ac)) ÷ 2a. Discriminant D = b² − 4ac. Vertex = (−b/2a, f(−b/2a)).
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Expert reviewIfrahMSc Mathematics
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
What does the discriminant show?
A positive discriminant gives two real roots, zero gives one repeated real root, and a negative value gives two complex conjugate roots.
What if a equals zero?
The equation is linear rather than quadratic, so this calculator rejects it.
Does the calculator show complex roots?
Yes. It displays the real component plus or minus the imaginary component followed by i.
What are other ways to solve a quadratic equation?
Besides the quadratic formula, you can factor the expression, complete the square or graph the parabola to find where it crosses the x-axis.
What does the vertex of a parabola tell me?
The vertex is the highest or lowest point of the parabola. It gives the maximum or minimum value of the quadratic, which is useful in optimisation problems.
How do I solve x² − 5x + 6 = 0?
Here a = 1, b = −5 and c = 6. The discriminant is 25 − 24 = 1, so x = (5 ± 1) ÷ 2, giving x = 3 and x = 2. You can check by factoring: (x − 2)(x − 3) = 0.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Marecek, L., Anthony-Smith, M., & Honeycutt Mathis, A. (2020). Intermediate algebra 2e. OpenStax. View source
- Abramson, J. (2021). College algebra 2e. OpenStax. View source
- Olver, F. W. J., Lozier, D. W., Boisvert, R. F., & Clark, C. W. (Eds.). (2024). NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. View source
- International Organization for Standardization. (2019). ISO 80000-2: Quantities and units—Part 2: Mathematics. View source
- Abramson, J. (2021). Precalculus 2e. OpenStax. View source