Math & Statistics

Quadratic Equation Calculator

Updated Sep 3, 2026 Reviewed Sep 3, 2026
Solve ax² + bx + c = 0 with stable real or complex roots, then inspect the discriminant, vertex, symmetry axis, intercepts, opening direction, factors, and graph.

Polynomial solver

Enter coefficients a, b, and c

1x² − 5x + 6 = 0

Result

Calculation summary

Enter values to see the result

Your result, breakdown, assumptions, and warnings will appear here.

Function preview

Parabola graph

The adaptive graph shows the curve shape; use the result values for exact roots and vertex.

How to use this calculator

  1. 1Enter non-zero a and coefficients b and c.
  2. 2Choose display precision.
  3. 3Solve to inspect roots, vertex, factors, and graph.

Formula

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

The discriminant determines whether roots are distinct real, repeated, or complex.

Calculation steps

  • Compute b² − 4ac.
  • Use a cancellation-resistant real-root calculation.
  • Evaluate the vertex at x = −b/(2a).

Worked example

For x² − 5x + 6 = 0, the roots are 2 and 3.

Assumptions

  • Coefficient a is non-zero.
  • Complex roots use i.
  • The graph is explanatory, while values are numeric.

Sources

Frequently asked questions

What does the discriminant show?

Its sign identifies the type and count of roots.

Why must a be non-zero?

Otherwise the equation is linear.

Why use a stable method?

It limits digit loss from subtracting similar large values.

When are factors shown?

When real roots exist.

Scientific Calculator
Evaluate arithmetic and scientific expressions with trigonometry, inverse functions, logarithms, powers, roots, constants, factorials, percent, history, and DEG or RAD modes.
Triangle Solver Calculator
Solve SSS, SAS, ASA, AAS, or SSA triangles for every side and angle plus perimeter, area, altitudes, inradius, circumradius, and ambiguous solutions.
Mean, Median, Mode & Range Calculator
Paste a numeric data set to calculate count, sum, mean, median, modes, minimum, maximum, range, quartiles, interquartile range, and sorted observations.
Handwriting Math Calculator
Write a complete expression with a mouse, touchscreen or stylus, automatically segment common mathematical symbols, review candidates and calculate safely.