The mechanisms by which the disturbances of gas exchange develop in human pulmonary embolism are unknown. We investigated whether the inequality of ventilation-perfusion ratio is associated with the abnormalities of pulmonary gas exchange as evaluated by two different computerized techniques. We measured the alveolar to arterial gradients of oxygen and carbon dioxide by means of a computer based system with a mass spectrometer and the ventilation-perfusion distributions by the multiple inert gas technique in 5 patients with acute pulmonary embolism. In these subjects there was a marked ventilation-perfusion inhomogeneity, as detected from inert gases and this finding was in agreement with the impairment of the alveolar to arterial gradients and of their derived indexes. Consideration on the responsible mechanisms for the disturbances of gas exchange are also reported. In conclusion these two computerized techniques provide a useful assessment of the ventilation-perfusion relationships in order to explain the disturbances of gas exchange in critically ill patients.