March 26, 20264 min read

Quadratic Equation Solver — Solve ax² + bx + c = 0 Instantly

Solve any quadratic equation ax²+bx+c=0 with step-by-step solutions. Finds real and complex roots using the quadratic formula, factoring, and discriminant.

quadratic equation algebra roots discriminant calchub
Ad 336x280

Every quadratic equation eventually comes down to one question: where does the parabola cross the x-axis? Sometimes twice, sometimes once (just touching it), sometimes not at all. The CalcHub Quadratic Equation Solver finds those roots and explains the process — useful whether you're checking homework or working through an applied problem.

The Standard Form

A quadratic equation looks like this:

ax² + bx + c = 0

where a, b, and c are real numbers and a ≠ 0. If a = 0, it's just a linear equation — nothing to solve quadratically.

How to Use the Solver

  1. Enter coefficients a, b, and c. For example, 2x² − 7x + 3 = 0 means a=2, b=−7, c=3.
  2. Click Solve.
  3. The roots appear along with the discriminant value and the method used.
That's it — the heavy lifting happens in the background.

The Quadratic Formula

The universal solution method:

x = (−b ± √(b² − 4ac)) / 2a

For 2x² − 7x + 3 = 0:


  • Discriminant: (−7)² − 4(2)(3) = 49 − 24 = 25

  • √25 = 5

  • x₁ = (7 + 5) / 4 = 3

  • x₂ = (7 − 5) / 4 = 0.5


Understanding the Discriminant

The discriminant (b² − 4ac) tells you what kind of roots to expect before you compute anything:

DiscriminantRoot TypeGeometric Meaning
> 0Two distinct real rootsParabola crosses x-axis twice
= 0One repeated real rootParabola just touches x-axis
< 0Two complex rootsParabola never touches x-axis
A negative discriminant doesn't mean "no solution" — it means the roots are complex numbers involving i (the imaginary unit). The solver handles these too.

Examples

EquationabcRoots
x² − 5x + 6 = 01−56x = 3, x = 2
x² + 4x + 4 = 0144x = −2 (double root)
x² + x + 1 = 0111x = −0.5 ± 0.866i
3x² − 2x − 8 = 03−2−8x = 2, x = −4/3

Factoring vs. Formula

For "clean" equations, factoring is faster — x² − 5x + 6 = 0 factors as (x−3)(x−2) = 0, giving roots 3 and 2 at a glance. But factoring only works nicely when the roots are rational. The quadratic formula always works, which is why it's the fallback for messy coefficients like 3x² − 2x − 8.

The solver shows both approaches when factoring is possible, so you can see the connection between them.

Vertex Form and Applications

Once you have the roots, the vertex of the parabola sits exactly halfway between them at x = −b/2a. For 2x² − 7x + 3, the vertex is at x = 7/4 = 1.75. Useful for optimization problems where you need the maximum or minimum value.


What if my equation isn't in standard form?

Rearrange it first — move all terms to one side so the right side equals zero. For example, 3x² = 5x − 2 becomes 3x² − 5x + 2 = 0 before entering coefficients.

How does the solver handle complex roots?

If the discriminant is negative, the solver returns roots in the form a ± bi. For instance, x² + 4 = 0 gives roots x = 0 ± 2i, or simply x = ±2i.

Can I solve higher-degree polynomials here?

This tool is specifically for degree-2 (quadratic) equations. For cubic or quartic equations, you'd need a different solver — though many problems that look cubic can be reduced to quadratic form by factoring out an x.


Related calculators: Scientific Calculator · Graphing Calculator · Matrix Calculator
Ad 728x90