Mean free path, $\lambda = \frac{1}{\sqrt{2}\pi d^{2} n}$
where, n = Number of molecules per unit volume
d = Diameter of the molecule
As $PV = k_{B}NT$
$n = \frac{N}{V} = \frac{P}{k_{B}T} \quad\therefore \quad\lambda = \frac{1}{\sqrt{2}\pi d^{2} P}$
where,
$k_{B} =$ Boltzmann constant
$P =$ Pressure of gas
$T =$ Absolute temperature of the gas