Calculate Now
What is Quadratic Equation Solver?
A quadratic equation is any equation written in the form ax² + bx + c = 0, and solving it means finding the value or values of x that make it true. These equations turn up constantly in physics problems, geometry, and competitive exam mathematics. Rather than working through the formula by hand and risking an arithmetic slip, this solver takes your three coefficients and returns the roots — real or complex — immediately.
The Quadratic Formula
For any equation ax² + bx + c = 0, the roots are found using:
The expression under the square root, b² - 4ac, is called the discriminant. Its sign tells you what kind of roots to expect:
- Discriminant > 0 → two distinct real roots
- Discriminant = 0 → one repeated real root
- Discriminant < 0 → two complex (imaginary) roots
Worked Example
Take x² - 5x + 6 = 0, where a = 1, b = -5, c = 6.
Since the discriminant is positive, there are two real roots:
You can verify this by factoring: x² - 5x + 6 = (x - 3)(x - 2), confirming the roots are 3 and 2.
Now consider x² + 2x + 5 = 0, where a = 1, b = 2, c = 5. Here the discriminant = 2² - 4(1)(5) = 4 - 20 = -16, which is negative, so the roots are complex: x = -1 ± 2i.
How to Use This Calculator
- Enter the coefficient of x² in the a field.
- Enter the coefficient of x in the b field.
- Enter the constant term in the c field.
- Click Calculate to see both roots at once.
Need to double-check a root by raising it to a power? Our Power Calculator can help with that step.
📅 Last reviewed: July 2026 · Formulas verified against RBI/SEBI/IT Dept guidelines.