In solid-state physics, the work function (sometimes spelt workfunction) is the minimum thermodynamic work (i.e., energy) needed to remove an electron from a solid to a point in the vacuum immediately outside the solid surface. Here "immediately" means that the final electron position is far from the surface on the atomic scale, but still too close to the solid to be influenced by ambient electric fields in the vacuum. The work function is not a characteristic of a bulk material, but rather a property of the surface of the material (depending on crystal face and contamination).
The work function W for a given surface is defined by the difference
where −e is the charge of an electron, ϕ is the electrostatic potential in the vacuum nearby the surface, and EF 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.
In practice, one directly controls EF by the voltage applied to the material through electrodes, and the work function is generally a fixed characteristic of the surface material. Consequently, this means that when a voltage is applied to a material, the electrostatic potential ϕ produced in the vacuum will be somewhat lower than the applied voltage, the difference depending on the work function of the material surface. Rearranging the above equation, one has
where V = −EF / e is the voltage of the material (as measured by a voltmeter, through an attached electrode), relative to an electrical ground that is defined as having zero Fermi level. The fact that ϕ depends on the material surface means that the space between two dissimilar conductors will have a built-in electric field, when those conductors are in total equilibrium with each other (electrically shorted to each other, and with equal temperatures).
The work function refers to removal of an electron to a position that is far enough from the surface (many nm) that the force between the electron and its image charge in the surface can be neglected. The electron must also be close to the surface compared to the nearest edge of a crystal facet, or to any other change in the surface structure, such as a change in the material composition, surface coating or reconstruction. The built-in electric field that results from these structures, and any other ambient electric field present in the vacuum are excluded in defining the work function.
Certain physical phenomena are highly sensitive to the value of the work function. The observed data from these effects can be fitted to simplified theoretical models, allowing one to extract a value of the work function. These phenomenologically extracted work functions may be slightly different from the thermodynamic definition given above. For inhomogeneous surfaces, the work function varies from place to place, and different methods will yield different values of the typical "work function" as they average or select differently among the microscopic work functions.
Many techniques have been developed based on different physical effects to measure the electronic work function of a sample. One may distinguish between two groups of experimental methods for work function measurements: absolute and relative.
The work function is important in the theory of thermionic emission, where thermal fluctuations provide enough energy to "evaporate" electrons out of a hot material (called the 'emitter') into the vacuum. If these electrons are absorbed by another, cooler material (called the collector) then a measurable electric current will be observed. Thermionic emission can be used to measure the work function of both the hot emitter and cold collector. Generally, these measurements involve fitting to Richardson's law, and so they must be carried out in a low temperature and low current regime where space charge effects are absent.
In order to move from the hot emitter to the vacuum, an electron's energy must exceed the emitter Fermi level by an amount
determined simply by the thermionic work function of the emitter. If an electric field is applied towards the surface of the emitter, then all of the escaping electrons will be accelerated away from the emitter and absorbed into whichever material is applying the electric field. According to Richardson's law the emitted current density (per unit area of emitter), Je (A/m2), is related to the absolute temperature Te of the emitter by the equation:
where k is the Boltzmann constant and the proportionality constant Ae is the Richardson's constant of the emitter. In this case, the dependence of Je on Te can be fitted to yield We.
The same setup can be used to instead measure the work function in the collector, simply by adjusting the applied voltage. If an electric field is applied away from the emitter instead, then most of the electrons coming from the emitter will simply be reflected back to the emitter. Only the highest energy electrons will have enough energy to reach the collector, and the height of the potential barrier in this case depends on the collector's work function, rather than the emitter's.
The current is still governed by Richardson's law. However, in this case the barrier height does not depend on We. The barrier height now depends on the work function of the collector, as well as any additional applied voltages:
where Wc is the collector's thermionic work function, ΔVce is the applied collector–emitter voltage, and ΔVS is the Seebeck voltage in the hot emitter (the influence of ΔVS is often omitted, as it is a small contribution of order 10 mV). The resulting current density Jc through the collector (per unit of collector area) is again given by Richardson's Law, except now
where A is a Richardson-type constant that depends on the collector material but may also depend on the emitter material, and the diode geometry. In this case, the dependence of Jc on Te, or on ΔVce, can be fitted to yield Wc.
This retarding potential method is one of the simplest and oldest methods of measuring work functions, and is advantageous since the measured material (collector) is not required to survive high temperatures.
The photoelectric work function is the minimum photon energy required to liberate an electron from a substance, in the photoelectric effect. If the photon's energy is greater than the substance's work function, photoelectric emission occurs and the electron is liberated from the surface. Similar to the thermionic case described above, the liberated electrons can be extracted into a collector and produce a detectable current, if an electric field is applied into the surface of the emitter. Excess photon energy results in a liberated electron with non-zero kinetic energy. It is expected that the minimum photon energy required to liberate an electron (and generate a current) is
where We is the work function of the emitter.
Photoelectric measurements require a great deal of care, as an incorrectly designed experimental geometry can result in an erroneous measurement of work function. This may be responsible for the large variation in work function values in scientific literature. Moreover, the minimum energy can be misleading in materials where there are no actual electron states at the Fermi level that are available for excitation. For example, in a semiconductor the minimum photon energy would actually correspond to the valence band edge rather than work function.
Of course, the photoelectric effect may be used in the retarding mode, as with the thermionic apparatus described above. In the retarding case, the dark collector's work function is measured instead.
The Kelvin probe technique relies on the detection of an electric field (gradient in ϕ) between a sample material and probe material. The electric field can be varied by the voltage ΔVsp that is applied to the probe relative to the sample. If the voltage is chosen such that the electric field is eliminated (the flat vacuum condition), then
Since the experimenter controls and knows ΔVsp, then finding the flat vacuum condition gives directly the work function difference between the two materials. The only question is, how to detect the flat vacuum condition? Typically, the electric field is detected by varying the distance between the sample and probe. When the distance is changed but ΔVsp is held constant, a current will flow due to the change in capacitance. This current is proportional to the vacuum electric field, and so when the electric field is neutralized no current will flow.
Although the Kelvin probe technique only measures a work function difference, it is possible to obtain an absolute work function by first calibrating the probe against a reference material (with known work function) and then using the same probe to measure a desired sample. The Kelvin probe technique can be used to obtain work function maps of a surface with extremely high spatial resolution, by using a sharp tip for the probe (see Kelvin probe force microscope).
The work function depends on the configurations of atoms at the surface of the material. For example, on polycrystalline silver the work function is 4.26 eV, but on silver crystals it varies for different crystal faces as (100) face: 4.64 eV, (110) face: 4.52 eV, (111) face: 4.74 eV. Ranges for typical surfaces are shown in the table below.
|Ag||4.26 – 4.74||Al||4.06 – 4.26||As||3.75|
|Au||5.10 – 5.47||B||~4.45||Ba||2.52 – 2.70|
|Cu||4.53 – 5.10||Eu||2.5||Fe:||4.67 – 4.81|
|Hg||4.475||In||4.09||Ir||5.00 – 5.67|
|Mo||4.36 – 4.95||Na||2.36||Nb||3.95 – 4.87|
|Nd||3.2||Ni||5.04 – 5.35||Os||5.93|
|Pb||4.25||Pd||5.22 – 5.60||Pt||5.12 – 5.93|
|Ru||4.71||Sb||4.55 – 4.70||Sc||3.5|
|Se||5.9||Si||4.60 – 4.85||Sm||2.7|
|Sn||4.42||Sr||~2.59||Ta||4.00 – 4.80|
|Ti||4.33||Tl||~3.84||U||3.63 – 3.90|
|V||4.3||W||4.32 – 4.55||Y||3.1|
|Yb||2.60||Zn||3.63 – 4.9||Zr||4.05|
Due to the complications described in the modelling section below, it is difficult to theoretically predict the work function with accuracy. Various trends have, however, been identified. The work function tends to be smaller for metals with an open lattice,[clarification needed] and larger for metals in which the atoms are closely packed. It is somewhat higher on dense crystal faces than open crystal faces, also depending on surface reconstructions for the given crystal face.
The work function is not simply dependent on the "internal vacuum level" inside the material (i.e., its average electrostatic potential), because of the formation of an atomic-scale electric double layer at the surface. This surface electric dipole gives a jump in the electrostatic potential between the material and the vacuum.
A variety of factors are responsible for the surface electric dipole. Even with a completely clean surface, the electrons can spread slightly into the vacuum, leaving behind a slightly positively charged layer of material. This primarily occurs in metals, where the bound electrons do not encounter a hard wall potential at the surface but rather a gradual ramping potential due to image charge attraction. The amount of surface dipole depends on the detailed layout of the atoms at the surface of the material, leading to the variation in work function for different crystal faces.
In a semiconductor, the work function is sensitive to the doping level at the surface of the semiconductor. Since the doping near the surface can also be controlled by electric fields, the work function of a semiconductor is also sensitive to the electric field in the vacuum.
The reason for the dependence is that, typically, the vacuum level and the conduction band edge retain a fixed spacing independent of doping. This spacing is called the electron affinity (note that this has a different meaning than the electron affinity of chemistry); in silicon for example the electron affinity is 4.05 eV. If the electron affinity EEA and the surface's band-referenced Fermi level EF-EC are known, then the work function is given by
where EC is taken at the surface.
From this one might expect that by doping the bulk of the semiconductor, the work function can be tuned. In reality, however, the energies of the bands near the surface are often pinned to the Fermi level, due to the influence of surface states. If there is a large density of surface states, then the work function of the semiconductor will show a very weak dependence on doping or electric field.
Theoretical modeling of the work function is difficult, as an accurate model requires a careful treatment of both electronic many body effects and surface chemistry; both of these topics are already complex in their own right.
One of the earliest successful models for metal work function trends was the jellium model, which allowed for oscillations in electronic density nearby the abrupt surface (these are similar to Friedel oscillations) as well as the tail of electron density extending outside the surface. This model showed why the density of conduction electrons (as represented by the Wigner–Seitz radius rs) is an important parameter in determining work function.
The jellium model is only a partial explanation, as its predictions still show significant deviation from real work functions. More recent models have focused on including more accurate forms of electron exchange and correlation effects, as well as including the crystal face dependence (this requires the inclusion of the actual atomic lattice, something that is neglected in the jellium model).
The electron behavior in metals varies with temperature and is largely reflected by the electron work function. A theoretical model for predicting the temperature dependence of the electron work function, developed by Rahemi et al.  explains the underlying mechanism and predicts this temperature dependence for various crystal structures via calculable and measurable parameters. In general, as the temperature increases, the EWF decreases via and is a calculable material property which is dependent on the crystal structure (for example, BCC, FCC). is the electron work function at T=0 and is constant throughout the change.
For a quick reference to values of work function of the elements: