Bose-Einstein Distribution Calculator

Find the mean number of bosons in a state of a given energy and temperature, or the energy that gives a chosen occupation, and compare it with the classical limit.

🌡️ Bose-Einstein Distribution Calculator
Energy (E)
eV
Chemical potential (mu)
eV
Temperature (T)
K
Target mean occupation (n)
Chemical potential (mu)
eV
Temperature (T)
K
Mean occupation n(E)
—
(E - mu) / kT
—
Thermal energy kT
—
Maxwell-Boltzmann value
—
Fermi-Dirac value
—
Ratio BE / MB
—

Energy E
—
E - mu
—
(E - mu) / kT
—
Thermal energy kT
—
E - mu in joules
—
Frequency (E - mu)/h
—

🌡️ What is the Bose-Einstein Distribution?

The Bose-Einstein distribution gives the average number of identical bosons found in a single quantum state of energy E when a system is in thermal equilibrium at temperature T. Bosons are particles with integer spin, such as photons, phonons and helium-4 atoms. They are not subject to the Pauli exclusion principle, so any number of them can occupy the same state. The mean occupation, n(E) = 1/(exp((E - mu)/kT) - 1), reflects this: it is positive only when E lies above the chemical potential, and it becomes very large as E approaches mu from above.

The formula has many applications. With a chemical potential of zero it gives the Planck occupation of photon modes, which leads directly to the black-body spectrum and the laws of Stefan, Wien and Rayleigh-Jeans. In solids it counts phonons, which determine the lattice heat capacity and thermal conductivity. For ultracold atoms it predicts Bose-Einstein condensation, where a macroscopic number of atoms collapse into the ground state. It also describes the thermal population of vibrational modes in molecules and of magnons in magnets, in each case with the zero chemical potential that comes from non-conserved particle number.

Several points are easy to misread. The distribution gives the occupation of one state, not the number of particles per unit energy, so you must multiply by a density of states to count particles. It requires E above mu, which is why the calculator rejects other inputs. And it is not the same as the Maxwell-Boltzmann distribution: it agrees with it at large (E - mu)/kT but exceeds it for small values, which is the quantum tendency of bosons to bunch. The two charts here show the difference clearly, with the Fermi-Dirac curve for contrast.

The calculator has two modes. Occupation at E returns n together with the Maxwell-Boltzmann and Fermi-Dirac values, their ratios and kT. Energy for n inverts the formula and adds the equivalent photon frequency (E - mu)/h. Both modes draw n(E) at half, equal and double your temperature, and the comparison with the classical and fermionic limits. The inputs in the examples are illustrative values chosen to show the different regimes, not data for a specific material.

📐 Formula

n(E)  =  1 / ( exp( (E − μ) / kBT ) − 1 )    (E > μ)
E = energy of the single-particle state (eV)
μ = chemical potential (eV); μ = 0 for photons and phonons
kB = 8.617333262 × 10−5 eV/K; T = absolute temperature (K)
Invert: E = μ + kBT ln(1 + 1/n)
Classical limit: n ≈ exp(−(E − μ)/kBT) when E − μ >> kBT
Example: E = 0.05 eV, μ = 0, T = 300 K gives (E − μ)/kT = 1.934 and n = 0.1690
n  ≈  kBT / (E − μ)    when (E − μ) << kBT
Meaning: the Rayleigh-Jeans (classical wave) limit, where many bosons share one mode
Comparison: Fermi-Dirac f = 1/(exp(x) + 1) and Maxwell-Boltzmann exp(−x), with x = (E − μ)/kBT

📖 How to Use This Calculator

Two modes

1
Choose a mode - Occupation at E returns the mean number of bosons in a state. Energy for n returns the energy where the occupation equals a value you pick.
2
Enter mu and T - Give the chemical potential in eV (zero for photons and phonons) and the absolute temperature in kelvin.
3
Enter the energy or occupation - Use eV for E, which must exceed mu, or any positive number for n.
4
Read the result and charts - The primary box gives n or E. The first chart shows n(E) at T/2, T and 2T, and the second compares Bose-Einstein with the classical and Fermi-Dirac curves.

💡 Example Calculations

Example 1 - A 50 meV mode at room temperature

E = 0.05 eV, mu = 0, T = 300 K (illustrative values)

1
kT = 8.617333262e-5 × 300 = 25.852 meV, so (E − μ)/kT = 0.05 / 0.025852 = 1.9341.
2
n = 1 / (exp(1.9341) − 1) = 0.1690.
3
The Maxwell-Boltzmann value is 0.1446 and the Fermi-Dirac value is 0.1263, so BE/MB = 1.169.
n = 0.1690, BE/MB = 1.169
Try this example →

Example 2 - A visible photon in sunlight-like radiation

E = 2.48 eV (about 500 nm), mu = 0, T = 5800 K (illustrative surface temperature)

1
kT = 8.617333262e-5 × 5800 = 499.81 meV, so (E − μ)/kT = 2.48 / 0.49981 = 4.9619.
2
n = 1 / (exp(4.9619) − 1) = 0.007049.
3
This is the Planck photon occupation. It is only 0.7 percent above the Maxwell-Boltzmann value 0.006999, so photons at this energy are nearly classical particles.
n = 0.007049 photons per mode
Try this example →

Example 3 - Energy at which a mode holds one boson on average

n = 1, mu = 0, T = 300 K (illustrative)

1
E = mu + kT ln(1 + 1/n) = 0 + 0.025852 × ln 2.
2
ln 2 = 0.69315, so E = 0.017919 eV, which is 2.871e-21 J.
3
The matching frequency (E − μ)/h = 4.333 THz, in the far infrared.
E = 0.01792 eV, frequency = 4.333 THz
Try this example →

Example 4 - A very low energy mode (Rayleigh-Jeans regime)

E = 0.001 eV, mu = 0, T = 300 K (illustrative)

1
(E − μ)/kT = 0.001 / 0.025852 = 0.03868.
2
n = 1 / (exp(0.03868) − 1) = 25.36.
3
The classical estimate kT/(E − μ) = 25.85 is within 2 percent. The Maxwell-Boltzmann value is only 0.9621, so BE/MB = 26.36.
n = 25.36, BE/MB = 26.36
Try this example →

❓ Frequently Asked Questions

What is the Bose-Einstein distribution?+
It gives the mean number of identical bosons in a single-particle state of energy E at thermal equilibrium: n(E) = 1 / (exp((E - mu)/kT) - 1). Bosons have integer spin, and any number of them can share one state, so n can exceed one.
How do you calculate the Bose-Einstein occupation?+
Compute x = (E - mu)/(k T) with k = 8.617333e-5 eV/K, then n = 1/(e^x - 1). For E = 0.05 eV, mu = 0 and T = 300 K, x = 1.934 and n = 0.1690.
Why must E be greater than mu?+
If E were equal to or below mu, the exponential would be 1 or smaller and the denominator would be zero or negative, giving an infinite or negative occupation. Physically the chemical potential of a boson gas must lie below the lowest energy level.
What is the chemical potential of photons?+
It is zero, because photons are created and destroyed freely and their number is not conserved. With mu = 0 the Bose-Einstein formula becomes the Planck occupation 1/(exp(E/kT) - 1) that underlies black-body radiation.
How does Bose-Einstein compare with Maxwell-Boltzmann?+
For large (E - mu)/kT both give the same value exp(-(E - mu)/kT). For small values Bose-Einstein is larger, because bosons prefer to occupy the same state. At (E - mu)/kT = 1.934 the ratio BE/MB is 1.169.
How does it differ from Fermi-Dirac?+
The only change is the sign in the denominator: minus one for bosons, plus one for fermions. Fermi-Dirac is capped at 1 by the exclusion principle, while Bose-Einstein diverges as E approaches mu. Both reduce to Maxwell-Boltzmann at high energy.
What energy gives a chosen occupation?+
Invert the formula: E = mu + kT ln(1 + 1/n). For n = 1, mu = 0 and T = 300 K the energy is kT ln 2 = 17.92 meV, which corresponds to a frequency of 4.333 THz.
What is the Rayleigh-Jeans limit?+
When (E - mu)/kT is much smaller than 1, the exponential expands as 1 + x and n is about kT/(E - mu). A 1 meV mode at 300 K has n = 25.36, close to the classical kT/E = 25.85.
What is Bose-Einstein condensation?+
As a boson gas cools, the chemical potential rises toward the ground-state energy and the ground-state occupation grows very large. Below a critical temperature a macroscopic fraction of the particles sits in that single state. This calculator shows the divergence of n as E approaches mu.
Which particles obey Bose-Einstein statistics?+
Bosons: photons, phonons, helium-4 atoms, W and Z particles, mesons and any composite with integer total spin. Fermions such as electrons and protons follow Fermi-Dirac statistics instead.

📚 Sources and Notes

The distribution follows the Wikipedia article on Bose-Einstein statistics. The classical and fermionic comparisons follow the Maxwell-Boltzmann statistics and Fermi-Dirac statistics articles. The energies and temperatures in the examples are illustrative choices, not data for a specific system.

See also the Fermi-Dirac distribution calculator, the blackbody radiation calculator and the Maxwell-Boltzmann speed distribution calculator.

What is the Bose-Einstein distribution?

It gives the mean number of identical bosons in a single-particle state of energy E at thermal equilibrium: n(E) = 1 / (exp((E - mu)/kT) - 1). Bosons have integer spin, and any number of them can share one state, so n can exceed one.

How do you calculate the Bose-Einstein occupation?

Compute x = (E - mu)/(k T) with k = 8.617333e-5 eV/K, then n = 1/(e^x - 1). For E = 0.05 eV, mu = 0 and T = 300 K, x = 1.934 and n = 0.1690.

Why must E be greater than mu?

If E were equal to or below mu, the exponential would be 1 or smaller and the denominator would be zero or negative, giving an infinite or negative occupation. Physically the chemical potential of a boson gas must lie below the lowest energy level.

What is the chemical potential of photons?

It is zero, because photons are created and destroyed freely and their number is not conserved. With mu = 0 the Bose-Einstein formula becomes the Planck occupation 1/(exp(E/kT) - 1) that underlies black-body radiation.

How does Bose-Einstein compare with Maxwell-Boltzmann?

For large (E - mu)/kT both give the same value exp(-(E - mu)/kT). For small values Bose-Einstein is larger, because bosons prefer to occupy the same state. At (E - mu)/kT = 1.934 the ratio BE/MB is 1.169.

How does it differ from Fermi-Dirac?

The only change is the sign in the denominator: minus one for bosons, plus one for fermions. Fermi-Dirac is capped at 1 by the exclusion principle, while Bose-Einstein diverges as E approaches mu. Both reduce to Maxwell-Boltzmann at high energy.

What energy gives a chosen occupation?

Invert the formula: E = mu + kT ln(1 + 1/n). For n = 1, mu = 0 and T = 300 K the energy is kT ln 2 = 17.92 meV, which corresponds to a frequency of 4.333 THz.

What is the Rayleigh-Jeans limit?

When (E - mu)/kT is much smaller than 1, the exponential expands as 1 + x and n is about kT/(E - mu). A 1 meV mode at 300 K has n = 25.36, close to the classical kT/E = 25.85.

What is Bose-Einstein condensation?

As a boson gas cools, the chemical potential rises toward the ground-state energy and the ground-state occupation grows very large. Below a critical temperature a macroscopic fraction of the particles sits in that single state. This calculator shows the divergence of n as E approaches mu.

Which particles obey Bose-Einstein statistics?

Bosons: photons, phonons, helium-4 atoms, W and Z particles, mesons and any composite with integer total spin. Fermions such as electrons and protons follow Fermi-Dirac statistics instead.