The partial pressure of oxygen in the alveoli is lower than in room air because inspired air is humidified in the upper airway, oxygen is taken up while carbon dioxide is added, and the body consumes more oxygen molecules than it produces carbon dioxide molecules, typically 1.25 times.
Carbon monoxide diffusing capacity is calculated by subtracting the carbon monoxide uptake in the alveolar region from the carbon monoxide uptake in the pulmonary capillary region.