A consequence of Maxwell's theory of electromagnetism is that light carries energy and momentum, and that their ratio is a constant: ⁠ E / p = c ⁠. Rearranging, ⁠ E / c = p ⁠, and since for photons, the space and time components are equal, E / c must therefore be equated with the time component of the spacetime momentum vector.