Skip to content
Tutorials Center
My learning

Topics

Lesson 4 of 39 ยท Getting Started

Constants and Units: k_B, N_A, R and the Thermal Energy

Learn the constants of statistical mechanics (Boltzmann, Avogadro, gas constant, Planck) with exact SI values, and how to compute kT in joules, electronvolts and kJ/mol.

Statistical mechanics connects the microscopic world to the macroscopic one, and the constants you use are the connectors. This lesson fixes the values you will need and builds the most useful rule of thumb in the subject: the size of the thermal energy k_B T.

The SI redefinition: exact constants

Since 2019 the SI system defines several constants to have exact values. The ones you will use most:

Constant Symbol Value
Boltzmann constant k_B 1.380649 ร— 10^-23 J/K (exact)
Avogadro constant N_A 6.02214076 ร— 10^23 mol^-1 (exact)
Planck constant h 6.62607015 ร— 10^-34 J s (exact)
Reduced Planck constant ฤง = h / (2ฯ€) about 1.054571817 ร— 10^-34 J s
Elementary charge e 1.602176634 ร— 10^-19 C (exact)
Speed of light c 299 792 458 m/s (exact)

The molar gas constant is the product R = N_A k_B. Because both factors are exact, so is R in principle; its numerical value is about 8.314462618 J/(mol K).

The Boltzmann constant is the conversion factor between temperature and energy. It says that one kelvin corresponds to 1.380649 ร— 10^-23 joules per degree of freedom. We write k_B or just k; this course uses k_B when it could be confused with other symbols and k in short formulas.

Python Constants in code

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Thermal energy kT

The combination k_B T has the units of energy and sets the scale for thermal effects. A system at temperature T can easily borrow energy of order k_B T from its surroundings, but rarely much more than a few multiples of it. This is the single most useful rule of thumb in the subject:

Text
energy gap โ‰ช k_B T :  thermal motion populates both levels freely
energy gap โ‰ซ k_B T :  the upper level is rarely occupied

At room temperature (300 K), k_B T is about 4.14 ร— 10^-21 J, which is roughly 25.9 meV (millielectronvolts). Compare that with the energy gap of typical atomic transitions (electronvolts) and you see why atoms sit in their ground state at room temperature, while molecular rotations (milli-electronvolts) are thermally active.

The molar equivalent is R T, which at 300 K is about 2.49 kJ/mol.

Python kT at different temperatures

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The rows include the boiling point of liquid nitrogen (77 K), the freezing point of water (273.15 K) and a value near the temperature of the Sun's surface (about 5772 K).

Temperature scales and the equivalent forms

You must always use absolute temperature (kelvin) in Boltzmann factors; Celsius will give wrong answers. The conversion is T/K = t/ยฐC + 273.15.

Statistical mechanics writes many formulas using the inverse temperature

Text
ฮฒ = 1 / (k_B T)

which has units of inverse energy. Boltzmann factors become e^(โˆ’ฮฒE). A beneficial habit: treat ฮฒ as the natural variable. When T โ†’ 0, ฮฒ โ†’ โˆž; when T โ†’ โˆž, ฮฒ โ†’ 0.

Moles or molecules?

Two equivalent ways of writing the same physics appear in textbooks:

Per molecule Per mole
k_B R = N_A k_B
N k_B T n R T
PV = N k_B T PV = n R T

Here N is the number of molecules and n = N / N_A the number of moles. The statistical mechanics derivations naturally produce the left column. You convert with N_A.

Python Check the ideal gas law both ways

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The result (about 22.41 litres) is the molar volume of an ideal gas at 273.15 K and 1 atm.

Always check units. Mixing joules, electronvolts and kJ/mol in one formula is the most common source of wrong answers in this subject. Convert everything to joules (or to units of k_B T) before computing exponentials.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is the relationship between R, N_A and k_B?

    The molar gas constant is Avogadro's constant times Boltzmann's constant.
  2. 2. Roughly how big is k_B T at 300 K?

    k_B T at 300 K is about 4.14e-21 J, or about 0.0259 eV (25.9 meV).
  3. 3. Which temperature must you use in a Boltzmann factor e^(-E/(k_B T))?

    The Boltzmann factor depends on absolute temperature. Using Celsius would give wrong results, and negative temperatures there would be meaningless.
  4. 4. The inverse temperature beta is defined as:

    beta = 1/(k_B T), with units of inverse energy.

Summary

  • k_B = 1.380649 ร— 10^-23 J/K, N_A = 6.02214076 ร— 10^23 mol^-1, h = 6.62607015 ร— 10^-34 J s are exact in the SI; R = N_A k_B โ‰ˆ 8.314 J/(mol K).
  • k_B T is the thermal energy scale: about 25.9 meV at 300 K.
  • Use kelvin always; define ฮฒ = 1/(k_B T).
  • Per-molecule formulas use k_B and N; per-mole formulas use R and n.

Next: Microstates and Macrostates