Quadratic Formula and Discriminant

Real or complex roots, discriminant sign, and vertex of the parabola for ax^2 + bx + c = 0.

Run the calculator

Example

You enter

You get

Details, formula, and sources

ax^2 + bx + c = 0 => x = (-b +/- sqrt(b^2 - 4ac)) / (2a). Discriminant D = b^2 - 4ac signs the root type: D > 0 two real, D = 0 one real double, D < 0 complex conjugate pair. Vertex at x = -b/(2a).

Classical algebra; mathematical fact. The closed form is attributed to Indian, Greek, and later Persian / European mathematicians; the modern algebraic form is universal.

No code citation required.

Estimate only. Readability formulas and similar metrics are derived from a representative population and have known edge-case noise. The classroom teacher governs final text selection, grade placement, and assessment decisions.

Field names used by the API: a, b, c, kind, discriminant, vertex_x, vertex_y

Related tools