The full equation[1] is:
E^2 = (pc)^2 + (m0 c^2)^2
[1] https://en.wikipedia.org/wiki/Mass%E2%80%93energy_equivalenc...