Several factors influence Knudsen diffusion, including the size of the confining structure, the temperature, and the type of gas. The diffusion coefficient in Knudsen regime is inversely proportional to the square root of the molecular mass of the gas, and directly proportional to the temperature and the characteristic dimension of the nanopore or nanotube.