Levels, microstates and temperature
The sum must include the same state set as the probabilities. If every microstate is listed separately, do not multiply its degeneracy again.[1]
The canonical model describes a system in thermal contact with a large reservoir at fixed T; the standard canonical partition function holds particle number and volume fixed. Energies label possible states, not the instantaneous measured energy of every individual system. A level with a larger g may be substantially populated despite higher energy because it groups more microstates.[1][2]
Normalization, energy units and energy zero
The common weight factor cancels under normalization. Z itself depends on the chosen energy zero.[1]
The exponent must be dimensionless. Energies in J per particle use kB in J/K, while J/mol use R in J/(mol·K). Electronvolts also express energy per particle and require consistent conversion. The calculator covers only two levels with zero ground energy and a specified positive molar gap. An infinite partition function, such as that of the quantum harmonic oscillator, requires the complete level sequence.[1]
Model limits and thermodynamic connections
For two levels with E0=0 and a positive gap, the excited fraction tends to zero as positive temperature falls. At very high temperature it tends to g1/(g0+g1), not always one half. Read the main graphic with its own stated parameters; its values are not universal occupation ratios. The Boltzmann equation also does not replace Fermi–Dirac and Bose–Einstein occupations of single-particle states in degenerate quantum gases.[1][2]
The partition function connects state weights with thermodynamic averages. For example, canonical free energy −kBT lnZ is Helmholtz free energy; Gibbs energy concerns fixed-pressure conditions and cannot simply be equated without the appropriate transformation. A level probability is an ensemble fraction, not a claim that every system simultaneously has a fractional count of that state.[1]
Calculate populations and an energy shift
Two levels with unequal degeneracy
- Given
- Molar gap ΔE=2 kJ/mol, T=300 K, g0=1,g1=3,E0=0.
- Find
- Find Z and both level probabilities.
Use R for molar energies.
Count the three degenerate microstates of the upper level once.
Normalize both weights together.
Result: Approximately 42.6341% in the ground level and 57.3659% in the excited level.
Check: The probabilities sum to 1. The upper level can exceed one half because its degeneracy is three.
A different energy zero changes Z
- Given
- Two nondegenerate levels have E0=0 and E1=kBT ln2. Both are then shifted upwards by C=kBT ln3.
- Find
- Compare Z and probabilities before and after the shift.
Original weights are 1 and 1/2.
The energy shift multiplies every weight by 1/3.
Normalization recovers the same probabilities.
Result: Z scales from 3/2 to 1/2, while probabilities remain 2/3 and 1/3.
Check: Only energy differences affect these normalized probabilities.
Recall the method later with the formula’s flashcards.
11 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five exercises on weights and degeneracy
Calculate · Foundation
Two nondegenerate levels have E0=0 and ΔE=kBT ln4. Find p1.
Show hint
The upper weight is exp(−ln4).
Learning goal: Normalize a Boltzmann weight.
Rearrange · Application
Two nondegenerate levels have p1/p0=1/3. What positive temperature follows from a specified per-particle gap ΔE?
Show hint
Take the logarithm of the ratio equation.
Learning goal: Rearrange a population ratio for temperature.
Interpret · Application
What is the high-temperature limit of p1 for g0=2,g1=4 and a finite positive gap?
Show hint
Every Boltzmann factor tends to 1.
Learning goal: Include level degeneracy in the limit.
Error analysis · Application
A molar gap of 2000 J/mol is divided directly by kBT. What is wrong?
Show hint
Check the exponent units.
Learning goal: Connect molar and microscopic energies consistently.
Show solution and calculation
kBT is energy per particle.
A molar energy requires RT, or division by NA first.
Otherwise the exponent is neither consistently dimensionless nor numerically meaningful.
Transfer · Challenge
A triply degenerate upper level has total probability p1=0.60. What is the probability of one of its equally weighted microstates?
Show hint
The level probability already includes all three states.
Learning goal: Resolve a grouped level probability.
Show solution and calculation
0.60/3=0.20.
Degeneracy must neither be multiplied again per microstate nor ignored when summing the level.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 8, 2026
- EPFL LCBC: Statistical Thermodynamics and the Boltzmann Distribution, canonical ensemble equations 14–16
- University of Minnesota: Boltzmann factor and partition functions, M3.D1
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Normalized Boltzmann weights, distinguished level degeneracy and the energy zero, and added two examples and five exercises on partition functions in both languages.
Cite this reference page
Quanta. Boltzmann Distribution and Partition Function. Updated November 8, 2026. https://quanta-study.de/en/formula-sheet/boltzmann-verteilung-zustandssumme
When citing a specific scientific statement, also cite the specialist source linked to that statement.