Relativistic energy is conserved as long as we define it to include the possibility of mass changing to energy. Total Energy is defined as: E = γmc2, where γ=1√1−v2c2 γ = 1 1 − v 2 c 2 . Rest energy is E0 = mc2, meaning that mass is a form of energy. If energy is stored in an object, its mass increases.