The quadratic formula is useful for when you cannot factor a quadratic equation into it's roots (since they are decimals or fractions).
A standard quadratic equation is in this form; ax²+bx+c=0
The quadratic function is

Insert the values of a, b and c into this equation to find out the roots.
Hope I helped :)