A cubic equation has the form ax3 + bx2 + cx + d = 0. It must have the term in x3 or it would not be cubic but any or all of b, c and d can be zero. Free online cubic equation calculation, used to find the roots of the cubic equation using this calculator.

Code to add this calci to your website

discriminant(Δ) = q

q = (3c- b^{2})/9
r = -27d + b(9c-2b^{2})
s = r + √(discriminant)
t = r - √(discriminant)
term1 = √(3.0)*((-t + s)/2)
r_{13}= 2 * √(q)
x_{1}=(- term1 + r_{13}*cos(q^{3}/3) )
x_{2}=(- term1 + r_{13}*cos(q^{3}+(2*∏)/3) )
x_{3}=(- term1 + r_{13}*cos(q^{3}+(4*∏)/3) )

This calculator will help you dynamically to calculate the roots of the cubic equation. Easy to understand and use.