Fermi-Dirac Distribution Calculator

JJ Ben-Joseph headshot JJ Ben-Joseph

Introduction: Fermi-Dirac Occupancy in Solids

The Fermi-Dirac distribution gives the occupancy probability for a single fermionic energy level, which is why it appears whenever you model electrons in metals, semiconductors, or other degenerate systems. Because fermions obey the Pauli exclusion principle, each quantum state can hold at most one particle of a given spin, so the occupation curve falls from nearly 1 to nearly 0 instead of following a classical Boltzmann tail. The Fermi-Dirac equation for the occupancy probability f that a state of energy E is occupied is

Formula: f = 1 / (1 + e^(E-E_F)/(kT))

f = 1 1 + e E - E F k T

In this formula, EF is the Fermi energy, T is the absolute temperature, and k is Boltzmann's constant expressed in electronvolts per kelvin. At absolute zero, every state with E below EF is filled and every state above it is empty, so the curve becomes a sharp step. As temperature rises, that step softens and the transition region spreads over a wider energy range.

The Role of the Fermi Level in Occupancy

The Fermi level is the reference point that makes the occupancy calculation meaningful for electron states. In a metal at very low temperature, it nearly matches the highest occupied level, while in a semiconductor it can sit in the band gap and shift as doping changes. Moving EF toward the conduction band raises the electron occupancy there; moving it toward the valence band lowers it. That is why EF is the parameter people watch when they estimate carrier populations or compare different materials.

Deriving the Fermi-Dirac Distribution

The Fermi-Dirac form comes from counting the allowed arrangements of indistinguishable fermions over discrete states, with the restriction that a single state cannot host more than one particle. In the grand canonical treatment, that counting leads to the familiar occupation function used here. For calculator purposes, the key intuition is simpler: the curve behaves like a temperature-broadened step centered near EF, and the width of that transition is set by kT .

Applications in Metals

For metals, the important point is that the relevant electrons are packed into a filled Fermi sea up to EF. Only states close to the Fermi level can be shuffled around by an applied field, so the occupancy there strongly affects conductivity, heat capacity, and magnetic response. This is also why low-temperature heat capacity grows roughly in proportion to T : only a narrow shell of electrons within a few kT of EF can be thermally excited.

Applications in Semiconductors

Semiconductors add the band gap to the picture, so the Fermi level can sit between regions with very different numbers of available states. Doping shifts EF and therefore changes the occupancy of conduction-band and valence-band states. At ordinary temperatures, a state far above EF has a very small occupation probability, but moving EF closer to that band edge can change the answer by orders of magnitude. That makes the Fermi-Dirac function a fast way to estimate whether a device is behaving more like intrinsic material or a heavily doped one.

Temperature Dependence of the Fermi-Dirac Curve

In the Fermi-Dirac curve, temperature controls how abrupt the transition is around the Fermi level. Higher T gives electrons enough thermal energy to spread into states that were empty at low T , while lower T leaves the curve closer to the zero-temperature step. In metals this only slightly redistributes the electrons near EF, but in semiconductors it can have a much larger effect on carrier populations. Use the calculator to see how the same energy offset gives very different occupancies once T changes.

Practical example: a 300 K occupancy check

If a semiconductor's Fermi level sits 0.2 eV below the conduction-band edge, the probability of occupying a state 0.2 eV above E F at 300 K is obtained by using k = 8.617 × 10 5 eV/K and evaluating the exponent (EEF) / (kT) . That setup gives e ^ 7.73 in the denominator and an occupancy near 4.4×10−4. The calculator does the same arithmetic instantly, which is handy when you want to compare several temperatures or offsets without redoing the exponent by hand.

Connecting Fermi-Dirac Occupancy to Electrical Conductivity

Electrical conduction depends on how many electrons can move into nearby empty states, so the occupancy probability near EF matters directly. Metals have many such nearby states and therefore stay highly conductive, whereas doped semiconductors can change conductivity dramatically as thermal excitation moves carriers across the gap. The Fermi-Dirac distribution gives the first estimate of that thermal availability of states, which is why it is so useful in device physics.

How to use: Calculating Fermi-Dirac Occupancy

To use this Fermi-Dirac calculator, enter the energy level E , the Fermi level EF, and the absolute temperature T . If you also enter a target occupancy, the tool solves the inverse relation and tells you what energy would produce that probability at the same EF and T . The output is a number between 0 and 1, along with the complementary vacancy 1-f , so you can tell at a glance whether a level is mostly filled or mostly empty. Because the exponential changes quickly, small adjustments to E , EF, or T matter most when the energy difference is only a few kT .

Historical Background of the Fermi-Dirac Distribution

The Fermi-Dirac distribution was developed by Enrico Fermi and Paul Dirac in the 1920s, when quantum theory was replacing classical pictures of particle motion. Their work extended statistical mechanics to half-integer-spin particles and gave physicists a practical way to describe electrons in solids without violating exclusion. The same idea later became central to band theory, low-temperature physics, and models of extreme-density astrophysical matter.

Beyond Electrons: Other Fermi-Dirac Systems

Although this calculator is framed around electrons in solids, the same occupancy function applies to any fermion. Proton, neutron, and neutrino systems use the same mathematical form when the particles are dense enough for degeneracy to matter. That is why the Fermi-Dirac curve appears in condensed matter, white dwarf theory, and neutron-star modeling alike.

Integrating Fermi-Dirac Occupancy Over the Density of States

A single level is useful for intuition, but real materials contain many levels, so physicists multiply the Fermi-Dirac factor by a density-of-states function and integrate. For the conduction band, the carrier concentration is

Formula: n = ∫_E_c^∞ D(E) f(E) dE

n = E c D ( E ) f ( E ) dE

where D ( E ) counts how many states exist at each energy. In a simple three-dimensional parabolic band, D ( E ) rises as the square root of energy, which leads to the familiar nondegenerate exponential form. This calculator stops at one level, but the same occupancy function is what you insert into larger semiconductor and solid-state models.

Degenerate Fermi Gases and Low-Temperature Specific Heat

When T is far below the Fermi temperature TF, the fermions in a metal or dense gas become strongly degenerate. Most states below EF remain filled, and thermal activity comes only from a thin layer near the surface of the Fermi sea. That is why the internal energy and heat capacity differ so much from classical expectations, and why low-temperature measurements were so important in confirming quantum behavior in solids.

Worked example: n-type silicon at 300 K

For n-type silicon at 300 K with phosphorus donors around 1016 cm−3, a charge-balance estimate places EF about 0.3 eV below the conduction-band edge. If you want the occupation of a state 0.1 eV below that edge, enter E = Ec - 0.1 eV, EF = Ec - 0.3 eV, and T = 300 K into the calculator. The resulting probability is about 0.88, which matches the intuition that donor-related states are usually filled. It is a good check on whether the material is behaving as a doped semiconductor, and it shows how quickly the answer changes when temperature or doping shifts the Fermi level.

Simulation and Visualization Tips for Fermi-Dirac Curves

To see the Fermi-Dirac curve in action, it helps to plot f(E) against energy for several temperatures. You can copy a series of calculator results into a spreadsheet and draw how the curve steepens at lower T and spreads out at higher T . Pairing that curve with a density-of-states graph makes it easier to spot which energies contribute most to conduction or carrier storage.

Common Pitfalls in Fermi-Dirac Calculations

The biggest numerical issue in Fermi-Dirac calculations is the exponential in the denominator: if E and EF are very far apart, the exponent can overflow or underflow. The script handles that by switching to stable approximations, but you still need to enter energies in electronvolts and temperatures in kelvin for the result to mean anything. Another common mistake is treating EF as a fixed material constant in semiconductors; in reality it moves with doping and temperature, so it often needs to be solved rather than assumed.

Frequently Asked Questions about Fermi-Dirac Occupancy

Can I compute the energy corresponding to a given occupancy? Yes. Enter the desired occupancy in the optional field and the calculator inverts the Fermi-Dirac relation to solve for the energy that would produce that probability at the chosen Fermi level and temperature.

Does the distribution apply to holes? Yes. A hole is the absence of an electron, so the complementary quantity 1-f is the relevant probability when you are thinking in hole language. The calculator shows both the occupancy f and the vacancy 1-f , which makes that interpretation straightforward.

What happens at negative temperatures? For special systems with bounded energy ranges and population inversion, a negative temperature can be defined. The formula still evaluates mathematically, but those cases are unusual, and the usual semiconductor intuition does not carry over directly.

Limitations of the Fermi-Dirac Calculator

This Fermi-Dirac calculator assumes a single, non-interacting level in thermal equilibrium, so it gives the clean textbook occupation probability rather than a full material model. Real solids may need band structure, many-body effects, defects, or nonequilibrium transport to explain measured data. Even so, the distribution remains the first checkpoint for deciding whether a state should be mostly filled or mostly empty, and it is usually the right place to start before moving to more detailed calculations.

Conclusion: What the Fermi-Dirac Calculator Shows

The Fermi-Dirac calculator shows how energy, the Fermi level, and temperature combine to set the occupancy of a quantum state. That simple ratio is central to understanding metals, doped semiconductors, and other fermionic systems, because it tells you whether a level is likely to be filled or available. Adjust the inputs and watch the occupancy sharpen or soften as the energy difference crosses a few kT .

Documenting Fermi-Dirac Occupancy Results

Use the copy button to save occupancy and vacancy results for different energies when you are comparing Fermi-Dirac scenarios or working through class problems.

Keeping those notes makes it easier to see how a shift in temperature or Fermi level changes the same energy level from nearly full to nearly empty.

Formula: how Fermi-Dirac occupancy is calculated

This calculator evaluates the standard Fermi-Dirac occupancy f(E,EF,T) for a single state, using energy, Fermi level, and temperature as the only inputs. If you supply a target occupancy in the optional field, it solves the inverse form and returns the energy that would produce that f at the same EF and T . Enter energy in eV and temperature in K so the exponent (EEF) / (kT) stays dimensionless and the probability remains between 0 and 1.

Arcade Mini-Game: Fermi-Dirac Occupancy Input Check

Use this quick arcade run to practice sorting the energy, Fermi level, and temperature inputs that matter in a Fermi-Dirac calculation from the ones that do not.

Score: 0 Timer: 30s Best: 0

Start the game, then use your pointer or arrow keys to catch useful Fermi-Dirac inputs and avoid bad assumptions.

Enter an energy level, the matching Fermi level, and a temperature to see the occupancy.