Spirometry measures the volume or the amount of air passing in and out of the person's lungs while breathing. It also measures the speed that the air moves during breathing.