Skip to main content
Reviewed for accuracy by Manoj Kumar, Mathematics Educator

Cubic Equation Calculator

Calculator

Adjust values & calculate

Enter your values below. Every result is computed in your browser โ€” no data is sent to any server.

Formula: x = cbrt(-q/2 + sqrt(q^2/4 + p^3/27)) + cbrt(-q/2 - sqrt(q^2/4 + p^3/27))

Your Result

Worked example โ€” Roots: x = 1, x = 2, x = 3

Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy