Mean Free Path Calculator: Gas Molecule Collisions, Mean Speed and Knudsen Number
By FindMySum · Last reviewed
Molecules in a gas are always moving and constantly bumping into one another. The mean free path is the average distance one of them travels between collisions. It is tiny at everyday pressures, tens of nanometres in air, but grows enormously in a vacuum, and it decides whether a gas behaves like a smooth fluid or like a crowd of independent particles. This calculator works it out from the temperature, the pressure and the size of the molecules, and adds the average molecular speed, how often each molecule collides, and the Knudsen number for the size of your system. The opening example is air at 20 °C and one standard atmosphere.
The formula
Picture a molecule as a hard sphere of diameter d moving through a gas with n molecules per cubic metre. As it moves it sweeps out a cylinder; any other molecule whose centre lies within a distance d of its path will be hit. The cross-section of that cylinder is π d². On average the molecule has one collision after it has swept a volume 1 ÷ n, so the path length is 1 ÷ (π d² n). Allowing for the fact that the other molecules are moving too adds a factor of √2:
λ = 1 ÷ (√2 × π × d² × n)
For an ideal gas the number density is n = p ÷ (k_B × T), where k_B = 1.380649 × 10⁻²³ J/K is the Boltzmann constant, so:
λ = k_B × T ÷ (√2 × π × d² × p)
with T in kelvin and p in pascals.
Worked example: air at room conditions
Air is mostly nitrogen, so the calculator uses nitrogen's kinetic diameter of 0.364 nm. At 20 °C (293.15 K) and 1 atm (101,325 Pa):
- n = 101,325 ÷ (1.380649 × 10⁻²³ × 293.15) = 2.50 × 10²⁵ molecules per m³
- λ = 1.380649 × 10⁻²³ × 293.15 ÷ (1.4142 × 3.1416 × (0.364 × 10⁻⁹)² × 101,325) = 67.9 nm
That matches the figure of about 68 nm usually quoted for air. It is roughly 190 molecular diameters, and about 20 times the average spacing between molecules, because gas molecules are small compared with the space around them.
Mean speed and collision frequency
Molecules in a gas have a spread of speeds described by the Maxwell–Boltzmann distribution. Its mean is:
v̄ = √(8 × k_B × T ÷ (π × m))
where m is the mass of one molecule, the molar mass divided by Avogadro's number. For air (28.96 g/mol) at 20 °C, v̄ = 463 m/s, faster than the speed of sound (343 m/s), which is always a little slower than the mean molecular speed. Lighter molecules move faster: hydrogen averages about 1,750 m/s at the same temperature.
Dividing the speed by the path gives the collision frequency z = v̄ ÷ λ. In air that is about 6.8 × 10⁹ collisions per second for every molecule, one every 0.15 nanoseconds.
How pressure and temperature change it
Because λ is proportional to T ÷ p:
- Lower pressure, longer path. Halve the pressure and the path doubles. At 1 Pa, a rough vacuum, air molecules travel about 6.8 mm between collisions; at 10⁻⁶ Pa, in ultra-high vacuum, about 7 km, so molecules only ever hit the chamber walls.
- Higher temperature at the same pressure, longer path. The gas expands and becomes less dense.
- Bigger molecules, shorter path. The path goes with 1 ÷ d², so helium, with a kinetic diameter of 0.26 nm, has a path almost twice as long as nitrogen's at the same conditions.
The chart on the calculator page shows the path across thirteen decades of pressure on logarithmic axes, where the relationship is a straight line.
The Knudsen number
The mean free path matters most when you compare it with the size of the thing the gas is flowing through or around. The Knudsen number is the ratio:
Kn = λ ÷ L
where L is a characteristic length such as a pipe diameter, a pore size, the gap in a bearing or the diameter of a particle. Conventional bands are:
| Knudsen number | Regime | What happens |
|---|---|---|
| below 0.01 | Continuum | Ordinary fluid mechanics (Navier–Stokes) works |
| 0.01 to 0.1 | Slip flow | Gas slips at walls; corrected boundary conditions needed |
| 0.1 to 10 | Transitional | Neither fluid nor free-molecule models are exact |
| above 10 | Free-molecular | Molecules hit walls far more often than each other |
For the default example, air in a 1 µm channel has Kn ≈ 0.068: slip flow, which is why microfluidic gas devices need special treatment. A 10 cm vacuum pipe at 0.1 Pa is in the transitional regime; at 10⁻⁴ Pa it is free-molecular.
Choosing the molecular diameter
There is no single "true" size for a molecule; it depends on how you measure it. The calculator uses kinetic diameters from D. W. Breck's work on zeolite molecular sieves (the smallest pore a molecule can pass through), as tabulated in standard references: 0.364 nm for nitrogen, 0.346 nm for oxygen, 0.340 nm for argon, 0.260 nm for helium and 0.289 nm for hydrogen. Collision diameters derived from gas viscosity, as tabulated by Hirschfelder, Curtiss and Bird, are somewhat larger (around 0.37 nm for nitrogen) and give mean free paths a few percent shorter. For precise work, pick the diameter that matches your application and enter it as a custom gas.
Assumptions
The calculation treats the gas as ideal and its molecules as hard spheres with a fixed size. Real molecules attract and repel each other in ways that depend on temperature, and the effective diameter shrinks slightly as the gas gets hotter. Gas mixtures need a weighted calculation, and charged particles in plasmas follow different physics. For most engineering estimates in vacuum, aerosols and microflows, though, the hard-sphere mean free path is the standard starting point.
More questions
Is the mean free path the same as the distance between molecules?
No. In air at room conditions the average spacing between neighbouring molecules is about 3.4 nm (the cube root of 1 ÷ n), but a molecule travels about 68 nm before it actually hits another one, because molecules are small compared with the gaps between them. The mean free path is always much longer than the spacing in a gas.
What is the mean free path in outer space?
Interplanetary space near Earth holds only a few particles per cubic centimetre, so mean free paths are comparable to the distance from Earth to the Sun or more. The concept stays the same, but the gas there is a plasma of protons and electrons, which interact through electric forces rather than hard-sphere collisions, so this calculator's formula does not apply directly.
How is mean free path used in vacuum engineering?
It tells you which flow regime a pump line or chamber is in. When the mean free path is much smaller than the pipe diameter, gas flows viscously like a fluid and conductance depends on pressure; when it is much larger, molecules bounce from wall to wall and the conductance becomes independent of pressure. Many vacuum design formulas switch at a Knudsen number around 0.01 to 1.
Why do small aerosol particles fall more slowly than Stokes' law predicts?
For particles not much bigger than the mean free path of air (about 0.07 µm), the air no longer acts as a continuous fluid around them: molecules slip past and drag is lower. The Cunningham slip correction, which depends on the Knudsen number of the particle, raises their settling speed and diffusion rate.
What is the mean free path of electrons in a metal?
Conduction electrons in copper at room temperature travel about 40 nm between scattering events, set by lattice vibrations and impurities rather than by collisions with other electrons. That is a solid-state quantity calculated from conductivity; this calculator is for neutral gas molecules.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.