Calculator Need
Categories

Math Calculators

Cubic Equation Solver

Solve any cubic equation ax³ + bx² + cx + d = 0 and see every real root, with the working shown.

Formula: a cubic ax³ + bx² + cx + d = 0 has up to three real roots. This solver finds them numerically from the turning points of the curve; a cubic with one real root has a pair of complex roots, which are not shown here.

How to use the cubic equation

  1. Enter the coefficients a, b, c and d of ax³ + bx² + cx + d = 0.
  2. Press “Solve equation”.
  3. Read the real roots below, with the check that each root makes the equation equal zero.

Cubic equation example

x³ − 6x² + 11x − 6 = 0 has three real roots: x = 1, 2 and 3. You can check by multiplying out (x − 1)(x − 2)(x − 3).

Tips for using the cubic equation

  • Every cubic has at least one real root; the other two are either real or a complex pair.
  • If the coefficients are whole numbers, try small factors of the constant term first (±1, ±2, ±3, ±6 here).
  • Enter 0 for missing terms: x³ − 8 = 0 is a = 1, b = 0, c = 0, d = −8.

Cubic equation: common questions

What is a cubic equation?
An equation with x³ as its highest power: ax³ + bx² + cx + d = 0, where a is not zero. Its graph is a curve with up to two turning points.
How many roots can a cubic have?
Up to three real roots. If only one real root is found, the other two are a complex conjugate pair.
How does the solver find the roots?
It locates the turning points from the derivative 3ax² + 2bx + c, then uses bisection on each interval where the curve crosses zero.
Is my input stored?
No. The calculation runs in your browser.
How does the solver find the roots?
It uses Cardano's method (or the trigonometric form when there are three real roots), which gives exact roots to the displayed precision.