DLCO is measured using a pulmonary function test. The patient inhales a small amount of carbon monoxide mixed with a tracer gas, holds their breath for about 10 seconds, and then exhales. The concentration of carbon monoxide in the exhaled air is measured to determine how much of it was absorbed by the blood. This gives an indication of the lung's ability to transfer gases.