Gas molecules are in constant, chaotic motion, colliding with each other billions of times per second. The mean free path is the average distance a molecule covers between those collisions — a foundational quantity in kinetic theory that explains everything from why gases diffuse the way they do to how vacuum systems are designed. This calculator computes it from temperature, pressure, and molecular size, or from number density directly, plus the resulting collision frequency.

How the Mean Free Path Calculator works

The calculator uses the standard kinetic-theory-of-gases result for a dilute gas of hard, spherical molecules: λ = kT/(√2·π·d²·P). The √2 factor accounts for the fact that both the target molecule and the molecules it collides with are moving — using the relative speed between two moving molecules rather than treating targets as stationary. Boltzmann's constant k converts temperature into the energy scale, while pressure P and diameter d set how crowded and how "big" the molecules are.

The equivalent density form, λ = 1/(√2·n·π·d²), swaps pressure and temperature for number density n directly — useful if you already know how many molecules occupy a given volume rather than the macroscopic P and T. The two forms agree exactly because n = P/(kT) via the ideal gas law, which the calculator uses internally to cross-check both tabs.

Inputs and what they mean

Temperature (K) and pressure (Pa) describe the bulk state of the gas — both must be in absolute units (kelvin, not Celsius; pascals, not psi or atmospheres) for the formula to hold. The molecule presets convert common pressures (1 atm = 101,325 Pa) and molecular diameters automatically so you don't need to look up unit conversions.

Molecular diameter is the trickiest input to intuit: it's not a molecule's "size" in a strict sense but its effective collision cross-section — the center-to-center distance at closest approach during a collision. It's typically 200-400 picometers for common gases and has an outsized effect on the result since it appears squared in the denominator; doubling the diameter cuts the mean free path to a quarter.

On the Collision Rate tab, the mean molecular speed should be an average speed (not the peak of the Maxwell-Boltzmann distribution) — use the RMS Velocity calculator to derive one from temperature and molar mass if you don't already have a value.

Limits and edge cases

This formula assumes a dilute, ideal gas where molecules interact only through brief, elastic hard-sphere collisions — it breaks down at very high pressures or very low temperatures where intermolecular forces and molecular volume become significant (i.e. where the ideal gas law itself starts to fail). It also treats all molecules as identical spheres of a single diameter; for a mixture of different gases, the calculation would need to account for each species' partial pressure and diameter separately.

At extremely low pressures (high vacuum), the mean free path can exceed the physical dimensions of the container itself — at that point, molecule-to-wall collisions dominate over molecule-to-molecule collisions, and the gas is better described as being in the free-molecular flow regime rather than by continuum kinetic theory.