Cubic Equation Calculator

Solve a cubic equation ax³ + bx² + cx + d = 0. Find three real roots or a real root and a complex conjugate pair.

Result
—

How to calculate

The sign of the cubic discriminant identifies how many roots are real. For distinct roots, the solver brackets roots using the cubic’s turning points and narrows each interval. When only one is real, the coefficient identities give the other two. Repeated roots are computed exactly.

Worked example

Use Coefficient a 1 · Coefficient b -6 · Coefficient c 11 · Coefficient d -6. The result is ≈ 1, 2, 3.

Input and result notes

Enter integers, fractions, or decimals. Coefficient a must be nonzero. Repeated roots are listed with multiplicity. Distinct solutions may be displayed as approximations.

OpenStax zeros of polynomial functions

Related calculators