kg
m/s
J

Formula

Energy:
E = mc2

Mass:
m = E/c2

Speed of Light in a Vacuum:
c = √E/m

Where,
E = Energy,
m = Mass,
c = Speed of Light in a Vacuum.