The energy (E) and momentum (p) of a photon are related by the formula E = pc.