Energy and mass are related by the formula
E = mc².
m is the mass of the object
c is the speed of light
Solve the equation for the mass of the object, m.