Gas Exchange in the Lungs

Every breath ends with a diffusion problem. Oxygen has to cross a barrier thinner than a soap bubble to reach your blood, and carbon dioxide has to cross it the other way. Fick's law explains why the lung is built the way it is, and what goes wrong in disease.

Updated 28 November 2026

Quick answer: Gas exchange happens by passive diffusion across the walls of the alveoli, the tiny air sacs at the ends of the airways. Oxygen moves from alveolar air (partial pressure about 100 mmHg) into blood arriving from the body (about 40 mmHg). Carbon dioxide moves the other way. The rate follows Fick's law: it is proportional to the surface area and the partial-pressure difference, and inversely proportional to the thickness of the barrier.

The structure of the exchange surface

Air enters through the trachea, which divides again and again into smaller and smaller tubes: bronchi, then bronchioles. After about 23 generations of branching, the airways end in clusters of alveoli. A careful study using microscopy and statistical sampling found that an adult human lung contains about 480 million of them.

Each alveolus is wrapped in a dense mesh of capillaries, the smallest blood vessels. Air and blood are separated by the blood–gas barrier, made of three layers: the thin alveolar lining cell, a shared basement membrane, and the wall of the capillary. Over much of its area it is only about 0.2–0.3 µm thick. That is roughly a hundredth of the thickness of a sheet of paper. The total area of this barrier in an adult is around 50–100 m², about the size of a badminton court.

Cross-section of the blood–gas barrier. On the left is alveolar air with an oxygen partial pressure of about 100 mmHg and carbon dioxide about 40 mmHg. In the middle is a thin barrier made of the alveolar cell, the basement membrane and the capillary wall. On the right a red blood cell flows through the capillary, arriving with oxygen at about 40 mmHg and carbon dioxide at about 46 mmHg. An arrow shows oxygen diffusing from air into blood, and another shows carbon dioxide diffusing from blood into air. Alveolar airO₂ ≈ 100 mmHgCO₂ ≈ 40 mmHg Capillary bloodO₂ ≈ 40 mmHg inCO₂ ≈ 46 mmHg in barrier ≈ 0.3 µm O₂CO₂red cell
The blood–gas barrier (not to scale). Oxygen and carbon dioxide each diffuse down their own partial-pressure gradient. No energy is used to move them.

Fick's law applied to the lung

Fick's first law says the flux of a diffusing substance is proportional to its concentration gradient. For gases crossing a tissue barrier, physiologists usually write it in terms of partial pressure:

V̇gas ∝ A × D × (P1 − P2)T
  • V̇gas is the volume of gas transferred per minute.
  • A is the surface area of the barrier.
  • T is its thickness.
  • P₁ − P₂ is the partial-pressure difference across it.
  • D is a diffusion constant for that gas in tissue. It is proportional to the gas's solubility and inversely proportional to the square root of its molar mass.

Partial pressure takes the place of concentration because gas dissolved in a liquid is in equilibrium with a partial pressure, as Henry's law describes. Working in partial pressures lets physiologists compare air and blood directly.

Every feature of the lung's design pushes this equation towards a large transfer rate:

Term in Fick's lawHow the lung maximises it
Large area AHundreds of millions of alveoli give 50–100 m² of exchange surface inside the chest
Small thickness TThe blood–gas barrier is about 0.2–0.3 µm thick over most of its area
Large gradient P₁ − P₂Breathing keeps refreshing alveolar air, and blood flow keeps carrying oxygenated blood away

How oxygen gets into the blood

Blood returning from the body to the lungs has an oxygen partial pressure of about 40 mmHg (5.3 kPa). Alveolar air sits at about 100 mmHg (13.3 kPa). That 60 mmHg difference drives oxygen across the barrier and into the plasma. From the plasma it moves into red blood cells, where it binds to haemoglobin.

The process is fast. At rest, a red blood cell spends about 0.75 seconds in a lung capillary. Its oxygen level rises almost to the alveolar value within the first third of that time, about 0.25 s. So a healthy lung has a large safety margin. Even during heavy exercise, when the transit time can shorten to about 0.25 s, oxygen transfer is usually still nearly complete.

You can check the timescale with the diffusion length rule, t ≈ L²/(2D). Oxygen in water-like tissue has D of roughly 2 × 10⁻⁹ m²/s. Across 0.3 µm, that gives t ≈ (3 × 10⁻⁷)² / (4 × 10⁻⁹) ≈ 2 × 10⁻⁵ s, tens of microseconds. The barrier itself is crossed almost instantly. Most of the 0.25 s goes on loading the large store of haemoglobin in the red cell, which soaks up oxygen and keeps the plasma's partial pressure low until it is nearly full.

How carbon dioxide gets out

Carbon dioxide travels the opposite way. Blood arrives at about 46 mmHg, and alveolar air holds about 40 mmHg. The difference is only about 6 mmHg, a tenth of the oxygen gradient, yet carbon dioxide is cleared just as effectively. The reason is solubility. CO₂ is about 20–25 times more soluble in water than O₂, while its higher molar mass (44 versus 32 g/mol) slows it only slightly, by a factor of √(44/32) ≈ 1.17 (the same square-root rule as Graham's law). Overall, CO₂ diffuses through tissue roughly 20 times faster than O₂ for the same partial-pressure difference.

Worked example: what happens when the barrier thickens

In pulmonary fibrosis, scar tissue builds up in the lung and thickens the blood–gas barrier. Suppose a region of lung has its barrier thickened from 0.3 µm to 1.5 µm, while area and partial pressures stay the same.

  1. By Fick's law, transfer rate ∝ 1/T. The thickness has increased by a factor of 1.5/0.3 = 5.
  2. So the oxygen transfer rate across that region falls to one fifth of normal for the same gradient.
  3. The time to equilibrate scales roughly with thickness for a steady flux, so oxygen now takes much longer to load. At rest there may still be enough time. During exercise, when transit time shortens, blood leaves the lung before it is fully oxygenated. This is why people with fibrosis often find their oxygen levels fall when they exert themselves.

Now suppose a patient with emphysema has lost 40% of their alveolar surface, as alveolar walls are destroyed and small sacs merge into larger ones. Area falls to 0.6 of normal, so the maximum transfer rate falls to 60%, even if the remaining barrier is a normal thickness.

Altitude and exercise

At altitude, air contains the same 21% oxygen, but at a lower total pressure. On the summit of Mount Everest, atmospheric pressure is about a third of sea level. The partial pressure of inspired oxygen is only about 43 mmHg, compared with about 150 mmHg at sea level. The gradient driving oxygen into the blood collapses. Transfer becomes limited by diffusion, and blood no longer fully loads with oxygen even at rest. Climbers adapt over weeks by breathing faster and making more red blood cells, and many use bottled oxygen.

During exercise, the body needs up to ten or more times as much oxygen. The lung responds on every term of Fick's law. Deeper, faster breathing keeps alveolar oxygen high. Extra capillaries open up, increasing the area in use. More blood flows through, maintaining the gradient. The measured diffusing capacity of the lung can roughly double.

How doctors measure diffusion in the lung

The main clinical test is the diffusing capacity for carbon monoxide, written DLCO (or TLCO in Europe). The patient breathes in a tiny, harmless concentration of carbon monoxide and holds their breath for about 10 seconds. The analyser then measures how much CO was taken up. Carbon monoxide is used because haemoglobin binds it so strongly that the blood acts as a near-perfect "sink". The uptake rate therefore depends almost entirely on the area and thickness of the barrier, which is exactly what doctors want to know.

A low DLCO points to problems such as fibrosis, emphysema or loss of lung blood vessels. Standardised procedures for the test are published jointly by the European Respiratory Society and the American Thoracic Society.

Other ways of solving the same problem

Every animal faces the same Fick's-law constraints. Insects run tiny air tubes, called tracheae, directly to their tissues, so oxygen diffuses through air (about 10 000 times faster than through water) for most of the journey. This is one reason insects stay small. Fish gills use countercurrent exchange: water flows across the gill plates in the opposite direction to the blood. Blood always meets water with a slightly higher oxygen level, so the gradient is kept up along the whole length of the gill. This lets fish extract a large fraction of the oxygen from water that holds very little of it.

This guide is for education. It is not medical advice. If you have concerns about your breathing or lung health, see a qualified health professional.

Frequently asked questions

Is gas exchange in the lungs active or passive?

Passive. Oxygen and carbon dioxide move by simple diffusion down their partial-pressure gradients. No ATP is used to move the gases themselves, although energy is used by the breathing muscles and the heart to maintain those gradients.

Why are alveoli so small and numerous?

Dividing the lung into hundreds of millions of tiny sacs gives an enormous total surface area, about 50–100 m², inside a small chest. By Fick's law, the diffusion rate is proportional to surface area.

Why does carbon dioxide diffuse faster than oxygen?

CO₂ is about 20–25 times more soluble in water than O₂. Its larger molar mass slows it only slightly. Overall it diffuses about 20 times faster through tissue for the same partial-pressure difference, so a small gradient of about 6 mmHg is enough.

How thick is the alveolar wall?

The blood–gas barrier is about 0.2–0.3 µm thick over most of its area and under about 0.5 µm almost everywhere. It consists of the alveolar epithelial cell, a fused basement membrane and the capillary endothelial cell.

What does a low DLCO mean?

It means the lungs transfer gas less efficiently than expected. This can be due to a thickened barrier (for example pulmonary fibrosis), loss of surface area (for example emphysema), reduced blood volume in the lung capillaries, or anaemia. A doctor interprets it alongside other tests.

Why is it harder to breathe at high altitude?

The proportion of oxygen in air is the same, but total pressure is lower, so the partial pressure of oxygen is lower. This shrinks the gradient that drives oxygen into the blood, so less oxygen is transferred with each breath.

Sources and further reading

  1. West, J. B., & Luks, A. M. (2020). West's Respiratory Physiology: The Essentials (11th ed.). Wolters Kluwer. Chapter 3, Diffusion.
  2. Weibel, E. R. (1963). Morphometry of the Human Lung. Springer.
  3. Ochs, M., et al. (2004). The number of alveoli in the human lung. American Journal of Respiratory and Critical Care Medicine, 169(1), 120–124.
  4. Graham, B. L., et al. (2017). 2017 ERS/ATS standards for single-breath carbon monoxide uptake in the lung. European Respiratory Journal, 49(1), 1600016.
  5. Hall, J. E., & Hall, M. E. (2020). Guyton and Hall Textbook of Medical Physiology (14th ed.). Elsevier. Chapters on pulmonary ventilation and gas diffusion.