Physiology

How will you calculate that how much inspired air actually ventilates the alveoli ?