The total energy per unit volume stored by the electromagnetic field is u EM = ε ε 2 | E | 2 + 1 2 μ μ | B | 2 where ε is the permittivity of the medium in which the field exists, μ μ its magnetic permeability, and E and B are the electric and magnetic field vectors.