The energy of a single photon is given by E = hv, where h is Planck's constant and v is the frequency of the electromagnetic radiation. This is a fundamental equation in quantum physics, first proposed by Einstein to explain the photoelectric effect.