How does height affect lung capacity?

The size of the lungs is based on body size, and to a lesser extent on ethnicity.