Mean Free Path Calculator

Calculate the average distance a gas molecule travels between collisions from its temperature, pressure, and molecular (collision) diameter.

Quick Facts

Mean free path formula
λ = k_BT / (√2πd²P)
Average distance a molecule travels between collisions in an ideal gas.
Boltzmann constant
k_B = 1.380649 × 10⁻²³ J/K
Fixed physical constant linking temperature to molecular kinetic energy.
Number density
n = P / (k_BT)
Molecules per unit volume, from the ideal gas law.
Air at sea level
λ ≈ 68 nm
Typical order of magnitude for N₂/O₂ molecules at room temperature and 1 atm.

Your Results

Calculated
Mean Free Path
-
λ = k_BT / (√2πd²P), in nanometers
Mean Free Path (SI)
-
Same value in meters, scientific notation
Number Density
-
n = P / (k_BT), molecules per m³
Collision Cross-Section
-
σ = πd², in square nanometers

Ready

Enter temperature, pressure, and molecular diameter, then press Calculate.

Formula and Method for the Mean Free Path Calculator

The mean free path (λ) is the average distance a molecule in a gas travels before it collides with another molecule. It comes from the kinetic theory of gases and depends on three things: how densely packed the molecules are (set by temperature and pressure through the ideal gas law), and how big a target each molecule presents to its neighbors (the collision cross-section, set by the molecular diameter). The standard result is λ = k_BT / (√2πd²P), where k_B is the Boltzmann constant, T is absolute temperature, d is the molecular diameter, and P is pressure.

How the calculation works

The calculator first converts your temperature, pressure, and diameter to SI units (kelvin, pascals, meters). It then computes the number density n = P / (k_BT) — the molecules per cubic meter predicted by the ideal gas law — and the collision cross-section σ = πd², the circular area swept out by a molecule's center as it travels. The mean free path is λ = 1 / (√2·σ·n), which is algebraically the same as λ = k_BT / (√2πd²P). The √2 factor is a correction Maxwell introduced because every molecule in the gas is moving, not just the one being tracked; using the average relative speed between two moving molecules (instead of treating collision partners as stationary) scales the result by √2.

Choosing a molecular diameter

There is no single "molecular diameter" tabulated the way atomic radius is — the value that belongs in this formula is the kinetic (collision) diameter, measured experimentally from gas viscosity and diffusion data. Representative values: helium ≈ 260 pm, hydrogen ≈ 289 pm, nitrogen ≈ 364 pm, oxygen ≈ 358 pm, argon ≈ 340 pm, and carbon dioxide ≈ 330-400 pm depending on the source. Air is usually modeled using nitrogen's diameter since N₂ makes up about 78% of the atmosphere.

Limits of the ideal-gas mean free path model

This formula assumes a dilute, ideal gas of hard spheres colliding randomly — it breaks down at very high pressure or density, where molecules are close enough that real intermolecular forces (not simple hard-sphere collisions) dominate. At very low pressure, the calculated mean free path can exceed the size of the container itself; in that free-molecular (Knudsen) regime, molecules collide with the walls far more often than with each other, and the bulk kinetic-theory picture no longer applies. The model also does not account for quantum effects that appear at very low temperatures.

Frequently Asked Questions

What is the mean free path in physics?
The mean free path (λ) is the average distance a gas molecule travels between successive collisions with other molecules. It depends on temperature, pressure, and the molecular diameter (collision cross-section), following λ = k_BT / (√2πd²P) from the kinetic theory of gases.
Why does the formula include a factor of √2?
The √2 corrects for the fact that every molecule is moving, not just the one being tracked. Using the average relative speed between two moving molecules instead of treating targets as stationary introduces a factor of √2 into the denominator, a correction first derived by Maxwell.
How do pressure and temperature change the mean free path?
Mean free path is inversely proportional to pressure at constant temperature — doubling the pressure halves λ because molecules are packed twice as densely. At constant pressure, raising the temperature increases λ, since the gas expands and its number density (molecules per unit volume) drops.
What molecular diameter should I use?
Use the gas's kinetic (collision) diameter, not its atomic radius. Common values: helium ≈ 260 pm, nitrogen ≈ 364 pm, oxygen ≈ 358 pm, argon ≈ 340 pm, and carbon dioxide ≈ 330-400 pm. These are measured experimentally from gas viscosity and diffusion data.