Cubic Equation Solver — Free Online Tool

Solve ax³+bx²+cx+d=0 for all three roots (real and complex) using the discriminant and Cardano/trigonometric method.. Cubic Equation Solver is a free online tool from the ToolsRift Math Calculators collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.

Loading Cubic Equation Solver

How to use Cubic Equation Solver

Enter the coefficients a, b, c and d and the solver returns all three roots along with the discriminant.

Frequently asked questions

What does a cubic solver find?

All three roots of ax³ + bx² + cx + d = 0, which may be three real roots or one real and two complex roots.

What method does it use?

The discriminant determines the root type, then Cardano's formula or the trigonometric method computes the roots.

Can a cubic have complex roots?

Yes — when the discriminant is negative, two of the roots form a complex-conjugate pair.

More Math Calculators

Proportion Solver
Solve a/b = c/d for the missing term via cross multiplication. Leave one box blank to find x.
Percent Error Calculator
Percent error between a measured/experimental value and the true/theoretical value, with absolute error.
GCD & LCM Calculator
Compute GCD/LCM for 2–5 numbers with steps.
Factorial Calculator
Factorial up to 20! with expansion.
Fibonacci Calculator
Generate sequence or nth term.
Prime Checker
Check primality and nearest primes.

← View all Math Calculators