So to calculate the number of molecules exchanged by the lungs every single minute we have to calculate the number of moles of air that is exchanged and to calculate the moles we can use the ideal gas law.