Quadratic Equation Solver
Solve ax² + bx + c = 0. Returns both roots (real or complex), the discriminant, the vertex of the parabola, and — in Customize — factored form, Vieta's relations, y-intercept, and a sample evaluation table.
Solve ax² + bx + c = 0
Details
Parabola sketch
Related tools
How to use
- 1
Enter the three coefficients a, b, c from ax² + bx + c = 0.
- 2
The solver returns both roots, the discriminant (which tells you the nature of the roots), and the vertex of the parabola.
- 3
Switch to Customize for factored form, Vieta's relations, y-intercept, sample evaluation table, step-by-step working, and a parabola sketch.
- 4
If a = 0 the equation is linear — not solvable as quadratic. The calculator catches this.
Frequently asked questions
The discriminant b² − 4ac determines the number and type of roots. Positive → two distinct real roots. Zero → one repeated real root (the parabola just touches the x-axis). Negative → two complex conjugate roots (the parabola doesn't cross the x-axis).
The vertex is the highest or lowest point of the parabola y = ax² + bx + c. Its x-coordinate is −b / (2a) — the axis of symmetry. The y-coordinate is the value of the function at that x. If a > 0 the vertex is a minimum; if a < 0 it's a maximum.
Vieta's relations connect the roots to the coefficients without solving. For ax² + bx + c = 0: sum of roots = −b/a, product of roots = c/a. Useful for quick sanity checks: if a=1, b=−5, c=6, the roots must sum to 5 and multiply to 6 (they're 2 and 3).
When the discriminant is non-negative, you can write the equation as a × (x − r₁) × (x − r₂) = 0, where r₁ and r₂ are the roots. This form makes the roots obvious by inspection. Customize mode displays it when real roots exist.
Complex roots take the form p ± qi, where p is the real part and qi is the imaginary part. For ax² + bx + c = 0 with negative discriminant: p = −b / (2a), q = √(4ac − b²) / (2a). The calculator displays both parts separately.
If a = 0, the x² term vanishes and the equation becomes bx + c = 0 — a linear equation with at most one solution. The quadratic formula divides by 2a, so a = 0 makes the formula undefined.
The y-intercept is the value of f(x) at x = 0 — i.e. y = c. It's where the parabola crosses the y-axis. Combined with the vertex and any real roots, it's enough to sketch the parabola accurately by hand.
Help us improve this calculator
What's missing or wrong? What would make this more useful for you? Every suggestion lands in our inbox.
Source: Quadratic formula, Vieta's formulas · Last verified 2026-06. This tool provides estimates only and is not legal, tax or financial advice. Always verify your specific situation with the relevant UAE authority or a licensed advisor before taking action.