This Demonstration shows the variation in density of free electrons as a function of energy (in eV) for some representative metals at different temperatures

. According to the Fermi–Dirac distribution, the number of free electrons per electron volt per cubic meter is given by

, where

is the Fermi energy of the metal and

is the Boltzmann constant.
The dashed orange lines show the density of free electrons as a function of energy. The area under each curve equals the total number of free electrons per cubic meter of the metal.
The blue area shows where electrons have vacated energies in the neighborhood of

. The red area shows the electrons that have acquired energies greater than

as the temperature is increased.
For reference, the distribution of energy of free electrons at 0.001 °K is shown with bold purple lines.