The formula
Rest energy equals mass times the speed of light squared: E = mc². With c = 299,792,458 m/s exactly, c² is about 8.9876 × 10¹⁶ m²/s², so 1 kg of mass corresponds to about 9 × 10¹⁶ J.
Rearranged, m = E ÷ c². Particle physicists quote masses in MeV/c² using 1 eV = 1.602176634 × 10⁻¹⁹ J, which is exact.
Worked examples
One gram: E = 0.001 × 299,792,458² = 8.99 × 10¹³ J, about 25 million kWh or 21.5 kilotons of TNT (at the conventional 4.184 × 10¹² J per kiloton).
A proton's rest energy of 938.272 MeV converts to 938.272 × 10⁶ × 1.602176634 × 10⁻¹⁹ ÷ c² = 1.6726 × 10⁻²⁷ kg, matching its measured mass.
What the number means
E = mc² is the total rest energy, not what a reactor or engine can extract. Fission of uranium converts under 0.1% of the fuel's mass to energy and hydrogen fusion about 0.7%; only matter–antimatter annihilation converts all of it.