Math

Quadratic Formula Calculator

Solve ax² + bx + c = 0 with the discriminant, roots, vertex, and a responsive graph.

Quick guide

How to use the Quadratic Formula Calculator

  1. Enter or choose a, b, c.
  2. Select Solve quadratic.
  3. Review the main result, supporting breakdown, and step-by-step calculation notes.
  4. Copy the output or download the generated file when available.

What this tool does

Solve any quadratic equation ax² + bx + c = 0 with complete discriminant analysis, exact real or complex conjugate roots, vertex coordinates, axis of symmetry, and a live responsive SVG graph of the parabola.

x = (−b ± √(b² − 4ac)) ÷ (2a) · Δ = b² − 4ac · Vertex x = −b ÷ (2a)

Calculation method

  1. Verify coefficient a is nonzero (otherwise the equation is linear, not quadratic).
  2. Compute the discriminant Δ = b² − 4ac to classify the roots as two real roots, one double root, or two complex conjugates.
  3. Solve for the roots, calculate the vertex (h, k) where h = −b / (2a) and k = ah² + bh + c, and plot the parabola centered around its axis of symmetry.

Example: solving x² − 5x + 6 = 0

Input: a = 1; b = -5; c = 6

Result: x₁ = 3, x₂ = 2 · Δ = 1 · Vertex (2.5, −0.25)

The discriminant is (−5)² − 4(1)(6) = 25 − 24 = 1 > 0, giving two real roots: (5 + 1)/2 = 3 and (5 − 1)/2 = 2. Because a > 0, the parabola opens upward with minimum at (2.5, −0.25).

Interpreting the discriminant (Δ = b² − 4ac)

DiscriminantRoot TypeGraph Behavior
Δ > 0Two distinct real rootsParabola crosses the x-axis at two points
Δ = 0One repeated (double) real rootVertex touches the x-axis at exactly one point
Δ < 0Two complex conjugate roots (p ± qi)Parabola never crosses the x-axis

Practical uses

  • Algebra I & II homework verification
  • Projectile motion height and landing times
  • Finding maximum profit or area vertices
  • Checking complex roots in engineering equations

Accuracy tips and common mistakes

  • Rearrange your equation into standard form ax² + bx + c = 0 before entering a, b, and c (watch signs when moving terms across the equals sign).
  • If a = 0, the equation reduces to bx + c = 0, which has linear solution x = −c/b.
  • Negative discriminants are fully supported and displayed in complex form a ± bi.
Frequently Asked

Quadratic Formula Calculator – Frequently Asked Questions

Common questions, edge-cases, and mathematical explanations.

Why can’t coefficient a be zero in a quadratic equation?

If a = 0, the x² term disappears and the quadratic formula would divide by 2a = 0. What remains is a linear equation bx + c = 0.

What does the vertex tell me about the parabola?

The vertex is the turning point of the curve—the minimum value when a > 0 and the maximum value when a < 0. Its x-coordinate is always −b / (2a).

Does this solver handle complex imaginary roots?

Yes. Whenever b² − 4ac is negative, the calculator computes the real part −b/(2a) and imaginary magnitude √(|Δ|)/(2|a|) and displays x = real ± imag·i.

Analytics preferences

Optional Google Analytics cookies help us understand visits and improve our tools. Analytics is off until you allow it. Your tool inputs and files are never included in our analytics events. Read our privacy policy.

Analytics is off.