Advertisement
Advertisement
PHYSICS

Boltzmann Factor Calculator — state populations at a temperature

Enter an energy gap and a temperature to get the Boltzmann factor, the population ratio between two states including their degeneracies, and the thermal energy scale the comparison is made against.

The gap between the upper and lower state. Spectroscopists usually work in wavenumbers, chemists in kilojoules per mole, and solid-state physicists in electronvolts. A negative value simply reverses which state you are calling upper.
Absolute temperature is what enters the exponent. The tool converts for you, but the physics only makes sense above absolute zero, and the result becomes extremely sensitive to temperature when the gap is much larger than kT.
How many distinct states share each energy. Leave both at one for a simple two-level comparison. Degeneracy multiplies the population ratio directly and can outweigh a modest energy penalty, which is why excited states are sometimes more populated than the exponent alone suggests.
Population ratio N₂ / N₁
 
 
0
Boltzmann factor
0
Thermal energy kT
0
ΔE divided by kT
0
Fraction in upper state
Tip: the only thing that matters is the ratio of the energy gap to kT. A gap of one electronvolt at room temperature and a gap of two electronvolts at twice the temperature give exactly the same answer, which is why kT is quoted as an energy in its own right.
Advertisement

The Boltzmann factor calculator above evaluates exp(−ΔE/kT), the single most reused expression in statistical physics, and turns it into the population ratio between two states. It is the quantity behind reaction rates, semiconductor carrier densities, spectral line intensities, magnetic susceptibility and the barometric formula, all of which are the same exponential wearing different clothes.

Arb Digital builds free physics calculators that own one job properly rather than burying it inside a larger tool. Several tools on this site contain this exponential internally — the Arrhenius relation is a Boltzmann factor with an activation energy in the numerator — but none of them exposes it as the answer or lets you set the degeneracies. This page does both.

What This Boltzmann Factor Calculator Does

Statistical mechanics says that when a system is in thermal equilibrium at temperature T, the probability of finding it in a particular state of energy E is proportional to exp(−E/kT). That proportionality constant cancels when you take a ratio, which is why comparing two states is so much easier than computing an absolute probability: you never need the partition function, only the energy difference.

So the ratio of the number of particles in an upper state to the number in a lower one is N2/N1 = (g2/g1) exp(−ΔE/kT), where the two g values count how many distinct states share each energy. The tool reports both the bare exponential and the full ratio, because the two are often confused and the degeneracy term can dominate for atomic and rotational levels.

The grid also reports kT in your chosen energy unit, which is the number worth carrying in your head, and the dimensionless ratio ΔE/kT, which is the only thing the answer actually depends on. Six input units are supported because different fields quote energy gaps differently, and converting by hand between wavenumbers and kilojoules per mole is a routine source of error.

How to Use It

  1. Enter the energy gap in whatever unit your source uses. Wavenumbers for spectroscopy, kilojoules per mole for chemistry, electronvolts for solid state. The tool converts internally.
  2. Set the temperature. Absolute temperature is what enters the exponent, and the conversion from Celsius or Fahrenheit is done for you.
  3. Set the degeneracies if they are not one. They multiply the ratio directly and can lift a sparsely populated level above what the exponential alone implies.
  4. Read ΔE divided by kT first. If it is much less than one the states are nearly equally populated; if it is much more than about 20 the upper state is empty for practical purposes.
  5. Use the fraction in the upper state for a genuine two-level system. It is the ratio expressed as a share of the total rather than as a comparison, which is what an occupancy question usually wants.

The Formula: How the Boltzmann Factor Is Calculated

The Boltzmann factor is exp(−ΔE ÷ kT), where k is the Boltzmann constant, fixed by definition since the 2019 revision of the SI at exactly 1.380649 × 10−23 joules per kelvin, as published in the NIST CODATA value for the Boltzmann constant. The population ratio multiplies that factor by the degeneracy ratio g2/g1.

The origin of the exponential is set out in OpenStax University Physics Volume 2, section 2.4 on the distribution of molecular speeds, which derives the Maxwell-Boltzmann distribution and then identifies the recurring term as exp(−K/kT), noting that Boltzmann's more general result replaces kinetic energy with total energy to give exp(−E/kT) throughout classical and quantum statistical mechanics.

The unit conversions the tool applies are: one electronvolt is 1.602176634 × 10−19 joules; one kilojoule per mole is 1,000 divided by the Avogadro constant of 6.02214076 × 1023, giving 1.66054 × 10−21 joules per particle; one kilocalorie per mole is 4.184 times that; one wavenumber is hc × 100, or 1.98645 × 10−23 joules; and an energy quoted in kelvin is multiplied by k directly.

Work the defaults. At 300 K, kT = 1.380649 × 10−23 × 300 = 4.14195 × 10−21 J, which divided by the elementary charge is 0.025852 eV. A gap of 0.1 eV gives ΔE/kT = 0.1 ÷ 0.025852 = 3.8682, and exp(−3.8682) = 0.020897. With both degeneracies at one, the population ratio is the same 0.020897, and the fraction of particles in the upper state is 0.020897 ÷ 1.020897 = 0.020469, or 2.05 per cent.

Advertisement

Why kT at Room Temperature Is Worth Memorising

The figure 0.0259 electronvolts, or about 25 millielectronvolts, is one of the most useful numbers in physics. It is the thermal energy scale at 300 kelvin, and almost every question about whether something happens spontaneously at room temperature reduces to comparing an energy against it.

Hydrogen bonds run around 0.2 eV, so they break and reform constantly at room temperature. Covalent bonds run several electronvolts, so they do not. Silicon's band gap is 1.12 eV, roughly 43 times kT, which is why intrinsic silicon conducts so poorly and why doping matters so much. Molecular vibrations often sit at a few tenths of an electronvolt, which places them awkwardly in between and makes their populations strongly temperature dependent.

The same number in other units is worth carrying too: about 200 cm−1 in wavenumbers, and about 2.5 kJ/mol per particle-equivalent, or roughly 2.5 kilojoules per mole. Rotational transitions in small molecules sit at a few wavenumbers, far below kT, which is why rotational levels are heavily populated at room temperature and rotational spectra show many lines.

How Steeply the Answer Falls, and Why That Matters

The exponential is unforgiving. At ΔE/kT = 1 the upper state holds 37 per cent as many particles as the lower. At 5 it holds 0.67 per cent. At 10 it holds 45 parts per million. At 20 it holds two parts per billion, and at 40 it holds 4 parts in 1018. Nothing in between behaves gently.

This steepness is why chemical reaction rates are so temperature sensitive. The Arrhenius relation is a Boltzmann factor with an activation energy in the exponent, and a rule of thumb that reaction rates double for every ten-degree rise near room temperature comes straight from it: for an activation energy of about 50 kJ/mol, going from 300 to 310 K raises the factor by about 1.9. The activation energy calculator and the reaction rate constant calculator work that relation directly.

It also means the answer is far more sensitive to your energy gap than to anything else. A 10 per cent error in ΔE at ΔE/kT = 20 changes the population ratio by a factor of about seven. If your gap comes from a fit or an estimate rather than a measurement, the ratio it implies should be quoted as an order of magnitude, not as a number.

Where the Simple Two-Level Picture Stops Working

Three assumptions sit behind everything on this page, and each fails in real situations worth knowing about. The first is thermal equilibrium. A laser gain medium, a fluorescent molecule under illumination or a semiconductor under bias is not in equilibrium, and its level populations are set by pumping and relaxation rates rather than by temperature. A population inversion — more particles in the upper state than the lower — is impossible in equilibrium at any positive temperature, which the exponential makes obvious.

The second is that the particles are distinguishable and non-interacting, so Boltzmann statistics apply rather than Fermi-Dirac or Bose-Einstein. For electrons in a metal near the Fermi level this fails badly, and the Fermi-Dirac occupancy replaces the plain exponential. The Boltzmann form survives as the high-energy tail of both quantum distributions, which is why it remains a good approximation for carriers in a lightly doped semiconductor.

The third is that you have identified the states correctly. Degeneracy is where this usually goes wrong: an atomic level of total angular momentum J carries 2J+1 states, and forgetting the multiplicity understates the upper population by that factor. When comparing a level pair from a spectroscopic table, the degeneracies are as much a part of the answer as the energies.

Where This Sits Next to the Other Thermal Tools

This page reports a population ratio from an energy gap and a temperature. The ideal gas law calculator and the combined gas law calculator work with bulk state variables and never look at individual levels. The kinetic energy calculator gives the energy of one particle at a known speed rather than the distribution across many.

On the chemistry side, the Gibbs free energy calculator and the equilibrium constant calculator use the same exponential at the level of free energies rather than single-particle energies, and the entropy change calculator handles the other half of that relationship. For converting a gap quoted as a wavelength, use the photon energy calculator, and for temperatures the temperature converter.

Need a website that loads fast and actually works?

Arb Digital builds free tools like this one because useful pages earn attention. If you want tools, calculators or content built for your own audience, we can help.

Browse All Free Tools Talk to Arb Digital

Common Mistakes to Avoid

  • Using Celsius in the exponent — the relation needs absolute temperature. At 27 degrees Celsius the exponent uses 300 kelvin, not 27.
  • Mixing per-particle and per-mole energies — kilojoules per mole must be divided by the Avogadro constant before meeting a per-particle kT, a factor of 6 × 1023.
  • Ignoring degeneracy — an atomic level with total angular momentum J carries 2J+1 states, and leaving that out understates the upper population by exactly that factor.
  • Applying it out of equilibrium — a pumped laser medium or a biased device has populations set by rates, not by temperature, and can hold an inversion that equilibrium forbids.
  • Quoting a precise ratio from an estimated gap — at large exponents a small error in the energy becomes an order-of-magnitude error in the population.

Related Free Tools From Arb Digital

The activation energy calculator and the reaction rate constant calculator apply this same exponential to reaction kinetics. The Gibbs free energy calculator and the equilibrium constant calculator apply it to chemical equilibrium, and the entropy change calculator covers the entropy side. For bulk gas behaviour use the ideal gas law calculator and the combined gas law calculator, and for single-particle energies the kinetic energy calculator and the photon energy calculator. The temperature converter handles the temperature units. Everything Arb Digital publishes is listed on the free online tools hub.

Frequently Asked Questions

What is the Boltzmann factor?

It is the exponential of minus the energy difference divided by kT, and it gives the relative probability of finding a system in a higher-energy state compared with a lower one at thermal equilibrium. The proportionality constant cancels in the ratio, so no partition function is needed.

What is kT at room temperature?

About 0.0259 electronvolts at 300 kelvin, which is roughly 25 millielectronvolts, 200 wavenumbers or 2.5 kilojoules per mole. It is the thermal energy scale everything else is compared against, and it is worth memorising in whichever unit your field uses.

How does degeneracy change the answer?

It multiplies the ratio directly. If the upper state has three times as many distinct states at the same energy, three times as many particles occupy it for the same exponential factor. An atomic level of total angular momentum J carries 2J+1 states, so degeneracy is often the larger term.

Can the population ratio exceed one?

Only through degeneracy. At any positive temperature the exponential is always less than one for a positive energy gap, so an upper state can only be more populated if it has enough extra degenerate states to compensate. A true inversion of a single state pair is impossible in equilibrium.

How is this related to the Arrhenius equation?

The Arrhenius rate constant is a pre-exponential factor multiplied by exactly this Boltzmann factor, with the activation energy in place of the level gap. The steep temperature dependence of reaction rates is the exponential doing the work, which is why a ten-degree rise near room temperature can nearly double a rate.

When does the Boltzmann factor stop applying?

When the system is not in thermal equilibrium, or when quantum statistics take over. Electrons near the Fermi level in a metal follow Fermi-Dirac statistics instead, and identical bosons follow Bose-Einstein. The Boltzmann form survives as the high-energy tail of both.

Why does the answer only depend on the ratio of energy to temperature?

Because the exponent is dimensionless. Only the number of thermal energy units the gap spans enters the calculation, so doubling both the gap and the temperature leaves the answer unchanged. That is what makes kT useful as an energy in its own right.

This tool is provided for educational and study use. It evaluates an equilibrium statistical relation from the values you supply and assumes classical Boltzmann statistics, so treat its output as a physics result rather than a measurement of a real system, particularly for pumped, biased or degenerate systems where equilibrium does not hold.

Advertisement
Advertisement

Take it further

Need something more advanced? Try the free AI Website Audit & Keyword Research tools, or browse our free WordPress plugins.