Boltzmann Factor Calculator

Created by Miłosz Panfil, PhD
Last updated: Mar 24, 2020

You can use this Boltzmann factor calculator to compute a relative probability of two states of a system at thermal equilibrium. If you want to learn more on the thermal equilibrium and on the Boltzmann distribution (some people call it also Gibbs distribution), keep on reading.

Boltzmann distribution (Gibbs distribution)

The Boltzmann distribution specifies a probability with which an individual state of a system appears at thermal equilibrium characterized by the temperature T. The equation is

P = 1/Z * exp(- E/(kB * T)),


  • Z is the normalization constant,
  • E is the energy of the state (in joules),
  • kB = 1.38065 * 10^(-23) J/K is the Boltzmann constant,
  • T is the temperature (in kelvins).
  • P is the probability that this state occurs.

An essential feature of the Boltzmann distribution is that the probability P depends only on the energy E of the state. Boltzmann distribution is central to our understanding of condensed matter. You can check our particles velocity calculator to learn about its close relative, the Boltzmann-Maxwell distribution.

Boltzmann factor

The Boltzmann factor tells us the relative probability with which two states of energies E₁ and E₂ occur. Dividing the Boltzmann distribution for these two states, we find

P₁/P₂ = exp(- (E₁ - E₂)/(kB * T)),

Here it is important to note that the relative probability depends only on the difference of energies. For example, two states of the same energy are equally probable. The other factor that plays a role in the Gibbs factor is the temperature. The lower the temperature, the more probable is the state of the lower energy.

Boltzmann factor calculator

With our Boltzmann factor calculator, you can test the above predictions. You can also use it to get a quantitative answer. The suitable energy scale is electronvolt (1 eV = 1.60217 * 10^(−19) J) because the Boltzmann constant is a very small number. For example we can ask how much more probable is a state with energy E₁ = 0.1 eV comparing to a state with energy E₂ = 0.2 eV at temperature T = 0 ºC. It turns out that it is around 70 times more probable.

In the Boltzmann factor equation, we have to use temperature scale in kelvins. However, in our Boltzmann factor calculator you can use any temperature scale you want, and we will transform it to Kelvins for you.

The Boltzmann factor calculator brings us to the micro-world and tiny energy scales. You can check the hydrogen energy levels calculator to get more intuition on the energy scales in that world.

Miłosz Panfil, PhD
Boltzmann Factor
People also viewed…

Car heat

The hot car calculator shows you how fast the interior of a car heats up during a summers day.

Circular motion

Use the circular motion calculator to determine the parameters like frequency, speed, angular velocity, and centripetal acceleration.

Pipe flow

Use the pipe flow calculator to find the velocity and discharge of water in a gravity-fed pipe flow.
main background