where − e is the charge of an electron, ϕ is the electrostatic potential in the vacuum nearby the surface, and E F is the Fermi level (electrochemical potential of electrons) inside the material. The term − eϕ is the energy of an electron at rest in the vacuum nearby the surface.