Mean Free Path Calculator – How Far Gas Molecules Travel Between Collisions
The mean free path (λ) is the average distance a gas molecule flies in a straight line before it hits another molecule. It decides whether a gas behaves like a continuous fluid or like a spray of independent particles, which is why it matters in vacuum engineering (sputtering, evaporation, mass spectrometers, electron microscopes), aerosol science, microfluidics and every physical-chemistry course on kinetic theory. This calculator gives λ from temperature, pressure and molecular diameter, solves the same equation for the pressure, temperature or diameter instead, and reports the Knudsen number for a length you choose.
The mean free path formula
Picture one molecule of diameter d moving through the gas. It hits any molecule whose centre comes within d of its path, so as it moves it sweeps out a collision cylinder of cross-section σ = πd². With n = P / (k_B·T) molecules per cubic metre, the average distance between hits is:
λ = 1 / (√2 · n · σ) = k_B·T / (√2 · π · d² · P)Here k_B = 1.380649 × 10⁻²³ J/K is the Boltzmann constant. The mean free path rises in proportion to temperature and falls in inverse proportion to pressure, so on a log–log plot of λ against P every gas is a straight line of slope −1. Molar mass does not appear at all: a heavy molecule moves more slowly, but it also meets its neighbours more slowly, and the two effects cancel.
Where the √2 comes from
Clausius's original derivation assumed the other molecules stand still, which gives λ = 1/(nσ). In a real gas all molecules move, and the quantity that sets the collision rate is the mean relative speed between two molecules. For a Maxwell–Boltzmann distribution this is v̄_rel = √2 · v̄, so collisions happen √2 times as often and λ is √2 times shorter. The older form without √2 overestimates the mean free path by about 41 %.
Related quantities in the results
- Collision frequency
z = v̄ / λ, with the mean speedv̄ = √(8RT/πM). This is where the molar mass is needed. - Mean time between collisions
τ = 1/z: about 140 ps for nitrogen at room conditions. - Mean intermolecular spacing
n^(−1/3): about 3.4 nm at 1 atm, so a molecule passes many neighbours for every one it hits. - λ/d: how many of its own diameters a molecule travels between collisions.
Worked example: nitrogen at room conditions
For N₂ at 300 K and 1 atm with d = 0.375 nm: n = 101325 / (1.380649 × 10⁻²³ × 300) = 2.446 × 10²⁵ m⁻³, σ = π × (0.375 nm)² = 0.4418 nm², and λ = 1 / (√2 × 2.446 × 10²⁵ × 4.418 × 10⁻¹⁹) = 65.4 nm. At a mean speed of 476 m/s each molecule collides about 7.3 × 10⁹ times per second. Pump the same gas down to high vacuum at 10⁻⁶ Torr and λ grows to tens of metres, longer than any chamber, so molecules travel from source to wall without meeting each other. To find the pressure that gives a chosen λ, switch "Solve for" to P.
Getting λ from viscosity instead
Gas viscosity is caused by molecules carrying momentum across a distance of about one mean free path, so a measured viscosity μ gives λ without choosing a diameter: λ = (μ/P) · √(π·k_B·T / 2m), where m = M/N_A is the mass of one molecule. This route is common in aerosol science. For air, the calculator can fill in μ from Sutherland's law. At 20 °C and 1 atm both methods give about 65 nm.
Knudsen number and flow regimes
Whether λ is "long" depends on the size of the system. The Knudsen number Kn = λ / L compares it with a characteristic length L such as a pipe diameter, MEMS channel, pore or particle size. Below Kn ≈ 0.01 the gas is a continuum and the Navier–Stokes equations apply. From 0.01 to 0.1 is slip flow, from 0.1 to 10 is transition flow, and above 10 the flow is free molecular, with molecules hitting walls far more often than each other. Vacuum technology often puts the start of molecular flow at Kn ≈ 1 instead.