Altitude & Hypoxia · Guide · glidepathscience.org
GuideAltitude & Hypoxia
Contents
This Guide explains the ideas and equations behind every Walkthrough step, Concept Challenge question and Predict round. Part 1 prepares the Intro track: why the air thins as you climb, what that does to the oxygen in your lungs and blood, why hypoxia is dangerous, what happens to trapped gas, and why airliners pressurize their cabins. Part 2 prepares the Advanced track: the barometric formula, the alveolar gas equation, the hemoglobin curve and oxygen content, equivalent altitude, wet gas, decompression and the Armstrong limit. Each part takes about twelve minutes to read. This sim is for learning, not for flight training or medical use: its airliner is generic and its physiological numbers are typical values.
Part 1 · The essentials
Math you’ll need: algebra, percentages and ratios; pressure as force per area; no calculus is required.
The weight of the air
We live at the bottom of an ocean of air. The air above every square meter of the ground has a weight, and that weight, spread over the square meter, is the air pressure. At sea level it is about 101.3 kilopascals (kPa): 101,300 newtons on every square meter, the weight of about ten tonnes. We do not feel it because the air inside our bodies and our lungs pushes back equally.
Climb a mountain and you leave some of that air below you. Less air lies above, so less weight presses down, and the pressure falls. It does not fall in a straight line, though. Air is compressible: the air near the ground is squeezed by everything above it and is dense, while the air higher up is squeezed less and is thin. A kilometer of thin air weighs less than a kilometer of dense air, so each kilometer you climb removes a smaller amount of pressure than the one before. The result is close to an exponential: the pressure halves about every 5.5 km.
| place | altitude | pressure |
|---|---|---|
| sea level | 0 m | 101.3 kPa (760 mmHg) |
| Denver | 1,609 m (5,280 ft) | 83.4 kPa |
| half of sea level’s | 5,477 m (17,970 ft) | 50.7 kPa |
| summit of Everest | 8,849 m (29,032 ft) | 31.4 kPa |
| airliner cruise | 11,000 m (36,089 ft) | 22.6 kPa |
A common slip is to extend the first halving in a straight line: “half gone in 5.5 km, so all gone in 11 km.” In fact at 11 km about a quarter is left: half of a half. These values come from the standard atmosphere, an agreed average used by aviation and science, which the sim uses everywhere. Physiology often measures pressure in millimeters of mercury: 1 kPa = 7.50 mmHg, so sea level is 760 mmHg.
Oxygen’s share, and what the lung gets
Dry air is 78 % nitrogen, 20.95 % oxygen and about 1 % argon, with a trace of carbon dioxide. Wind and weather keep the lower atmosphere so well mixed that these fractions are the same on the summit of Everest as at sea level. A breath on the summit is still 21 % oxygen; it just holds about a third as many molecules.
What matters to the body is not the fraction but the partial pressure: the part of the total pressure that the oxygen contributes. By Dalton’s law each gas in a mixture contributes in proportion to its share, so
$p_{O₂} = 0.2095\,p$
At sea level that is 21.2 kPa (159 mmHg). Oxygen moves from the lung into the blood because its partial pressure is higher in the lung than in the blood, so a lower partial pressure means a weaker push.
The lung does not receive even that. Breathed air is warmed to 37 °C and saturated with water vapor in the nose and airways. Water vapor at body temperature has a partial pressure of 6.27 kPa (47 mmHg), fixed by the temperature, not by the altitude. It takes its share of the total first, so the inspired oxygen is
$p_I = 0.2095\,(p − 6.27\unit{kPa})$
Deep in the lung, in the tiny air sacs called alveoli, the blood has also added carbon dioxide, which takes roughly another 6.4 kPa. So oxygen loses ground at every step, and the losses are fixed amounts that matter more as the total shrinks.
Hemoglobin, hypoxia and the time you have
Almost all the oxygen in blood rides on hemoglobin, the protein that fills red blood cells. Each hemoglobin molecule can carry four oxygen molecules, and the saturation $S$ says what fraction of the sites are filled. Plotted against the oxygen partial pressure, saturation follows an S-shaped curve, the oxygen–hemoglobin dissociation curve.
Its shape is the key to altitude. Above about 8 kPa (60 mmHg) the curve is a plateau: alveolar oxygen can fall from 13.5 kPa at sea level to 8 kPa and the saturation only drops from 97 % to 90 %. That is a safety margin; it is why most people feel fine up to about 3,000 m. Below 8 kPa the curve is a cliff: the saturation falls fast, to 75 % at 5.3 kPa and 50 % at 3.6 kPa. Saturation does not follow the partial pressure in proportion, and a student who expects a 40 % drop in pressure to cost 40 % of the oxygen is reading a straight line where the curve is flat.
Hypoxia is too little oxygen reaching the tissues, and the brain feels it first: judgment goes, then night vision, then coordination, then consciousness. Its danger is that it is hard to notice in yourself. The urge to breathe comes mostly from carbon dioxide, which you keep breathing out normally, so nothing feels wrong; and the brain that would notice is the organ being starved. Some people feel cheerful, tingly or warm; many feel nothing. That is why pilots learn their own symptoms in altitude chambers.
The time of useful consciousness (TUC) is how long a person can still act sensibly, for instance put on an oxygen mask, after losing their oxygen supply at altitude. It is measured for people at rest and published as ranges:
| altitude | TUC (published range, at rest) |
|---|---|
| 18,000 ft (5,500 m) | 20–30 min |
| 22,000 ft (6,700 m) | 5–10 min |
| 25,000 ft (7,600 m) | 3–5 min |
| 30,000 ft (9,100 m) | 1–2 min |
| 35,000 ft (10,700 m) | 30–60 s |
| 40,000 ft (12,200 m) | 15–20 s |
Exertion, a rapid decompression, fatigue or illness can halve these times. The sim draws a smooth curve through the middles of the ranges; it is a teaching model, never a prediction for a person.
Trapped gas expands
A gas sealed in a container pushes outward as hard as the surroundings push in. When the outside pressure falls, the gas expands until its own pressure matches. At constant temperature its pressure and volume keep the same product, Boyle’s law:
$p_1V_1 = p_2V_2$, so $V_2 = V_1\,p_1/p_2$
That is why a bag of chips sealed at the factory puffs up on an airplane and a water bottle closed on a summit crumples on the way down. Lower pressure means a larger volume; it is a common slip to multiply by $p_2/p_1$ instead and shrink the bag.
Gas trapped in the body does the same. The middle ear vents through a narrow tube to the throat; on a climb it vents easily (the ears pop), but on a descent the outside pressure squeezes the eardrum until you swallow or yawn. Gas in the sinuses, the gut or under a filling expands too, which is why a cold can make flying painful.
Oxygen masks, cabins and decompression
There are two ways to give the lung more oxygen at altitude: breathe a gas richer in oxygen, or raise the pressure around you. An oxygen mask raises the fraction $F$, so the inspired oxygen becomes $p_I = F(p − 6.27\unit{kPa})$. To restore sea level’s 19.91 kPa you need $F = 19.91/(p − 6.27)$.
Airliners do the other thing: they pressurize the cabin by pumping in compressed outside air. The cabin is usually held at a cabin altitude of no more than 8,000 ft (2,438 m), where the pressure is 75.3 kPa, rather than at sea level. The fuselage must hold the difference between inside and outside,
$Δp = p_{cabin} − p_{outside}$
and a smaller difference allows a lighter fuselage and less fatigue from the stretch and release of every flight. At 2,438 m healthy passengers’ saturation stays near 90 %, still on the plateau. Since pressure is force per area, $Δp$ pushes outward on every window and door: $F = Δp\,A$.
In a decompression a hole lets the cabin’s air rush out until the cabin is at the outside pressure, in seconds for a window-sized hole. The masks drop automatically, and the rule is to put on your own mask first, at once, then help others: with under a minute of useful consciousness, someone who passes out helping helps no one. The pilots then descend quickly to about 3,000 m, where the air can sustain everyone without masks.
Part 2 · Going further
Math you’ll need: the ideal gas law, logarithms and exponentials, and one separable differential equation, solved where it is used.
The barometric formula
A thin slab of air of thickness $dz$ and area $A$ is held up by the difference between the pressure below and above it: $A\,dp = −ρgA\,dz$, so $dp/dz = −ρg$. For an ideal gas of molar mass $M$, $ρ = pM/(RT)$, and
$\dfrac{dp}{dz} = −\dfrac{Mg}{RT}\,p$
The rate of change is proportional to $p$ itself. Where $T$ is constant this integrates to $p = p_0e^{−z/H}$ with the scale height $H = RT/(Mg)$: in each $H$ of height the pressure falls by a factor of $e$. Colder air has a smaller $H$, since it is denser.
Below 11 km the standard atmosphere’s temperature falls linearly, $T = T_0 − Lz$ with $L$ = 6.5 K/km, and the same equation integrates to a power law, $p = p_0(1 − Lz/T_0)^{Mg/(RL)}$ with exponent 5.256. Above 11 km the isothermal layer’s exponential takes over. The sim’s atmosphere joins the two.
Climb high enough and the pressure falls to the vapor pressure of water at body temperature, 6.27 kPa. There water in the body boils: saliva, tears and the moisture in the lungs. This is the Armstrong limit, at about 19 km (62,800 ft); in the isothermal layer, $z = 11\unit{km} + H\ln(22.632/6.27)$ = 19,144 m. Above it only a pressure suit or a sealed cabin keeps a person alive, and even pure oxygen would leave no room in the lung for oxygen: $p_I = F(p − 6.27) = 0$.
The alveolar gas equation
Inspired gas reaches the alveoli with $p_I = F(p − p_{H₂O})$. There oxygen leaves for the blood and carbon dioxide arrives. The body’s respiratory quotient $RQ$, the CO₂ made per O₂ used, is about 0.8 on a mixed diet, so slightly less gas returns than leaves, which concentrates the remaining gas. Keeping track of the nitrogen, which is not exchanged, gives the alveolar gas equation:
$p_A = p_I − p_{ACO₂}\left(F + \dfrac{1 − F}{RQ}\right)$
For air the factor is 0.2095 + 0.7905/0.8 = 1.198. A simplified form, $p_A ≈ p_I − p_{ACO₂}/RQ$, is often taught; it differs by a few percent.
Alveolar CO₂ is set by how fast the lungs are ventilated: at a steady CO₂ production it is inversely proportional to the alveolar ventilation (the alveolar ventilation equation). Breathing twice as hard halves $p_{ACO₂}$, and $p_A$ rises by 1.2 times the fall. Low oxygen does make the body breathe harder, through sensors in the carotid arteries; the sim models this response, illustratively, as a 2 % rise in ventilation per mmHg that $p_A$ falls under 60 mmHg. The response is limited at first because the lower CO₂ makes the blood alkaline, which damps the drive; over days, the kidneys excrete bicarbonate and the drive can stay high. That is part of acclimatization, with more red blood cells over weeks.
The Hill curve, its shifts and oxygen content
Hemoglobin’s four binding sites cooperate: binding one oxygen changes the molecule’s shape and makes the next binding easier. A compact description is the Hill equation,
$S = \dfrac{p^n}{p^n + p_{50}^n}$
with $p_{50}$ = 3.57 kPa (26.8 mmHg), the pressure at half saturation, and the Hill coefficient $n ≈ 2.7$. With $n$ = 1 the curve would be a gentle hyperbola; $n > 1$ makes it S-shaped.
The curve shifts. Warmer and more acidic blood, as in working muscle, raises $p_{50}$ and shifts the curve right (the Bohr effect, with temperature): at the tissue’s low pressure, hemoglobin lets go of more oxygen. Cooler, alkaline blood shifts it left. The sim raises $\log_{10}p_{50}$ by 0.024 per °C and lowers it by 0.48 per pH unit; at 38 °C and pH 7.3, $p_{50}$ becomes 4.22 kPa.
The oxygen content of blood counts the bound and the dissolved oxygen:
$C = 1.34\,\text{Hb}\,S + 0.225\,p$ (mL/L, Hb in g/L, $p$ in kPa)
Oxygen reaches the blood by diffusion across the alveolar membrane. Fick’s law makes the flow proportional to the membrane’s area and the partial-pressure difference and inversely proportional to its thickness; for the lung these combine into a diffusing capacity, $\dot V_{O₂} = D_L\,Δp$, with $D_L$ ≈ 160 mL/(min·kPa) at rest. A mean difference of 1.0 kPa drives 160 mL/min. At altitude the alveolar pressure is lower while the blood arrives with about the same low pressure, so the driving difference shrinks, and in exercise the blood can leave the lung before it is fully loaded.
Equivalent altitude and wet gas
A mask that supplies a fraction $F$ at pressure $p$ gives the inspired oxygen that air gives at a pressure $p_{eq}$ where $0.2095(p_{eq} − 6.27) = F(p − 6.27)$:
$p_{eq} = 6.27 + F(p − 6.27)/0.2095$
Its altitude in the standard atmosphere is the equivalent altitude. The sim’s time-of-useful-consciousness clock uses it, so a mask slows or stops the clock.
Gas in the body is at 37 °C and saturated with water vapor. As it expands, more water evaporates and keeps the vapor’s 6.27 kPa, so only the dry part obeys Boyle’s law:
$\dfrac{V_2}{V_1} = \dfrac{p_1 − 6.27}{p_2 − 6.27}$
Decompression dynamics
A cabin of volume $V$ vents through a hole of area $A$. While the cabin pressure is more than 1.89 times the outside’s, the flow in the hole is choked: it reaches the speed of sound and the mass flow no longer depends on the outside pressure, only on the cabin’s, $\dot m = C_dA\,p_c\sqrt{γ/(RT)}\,Γ$, with $Γ = (2/(γ + 1))^{(γ+1)/(2(γ−1))}$ = 0.5787 for air and $C_d$ ≈ 0.6 a discharge coefficient. Holding the cabin air’s temperature fixed (the sim’s isothermal model), the air left in the cabin is proportional to $p_c$ (its mass is $p_cV/(RT)$), so
$\dfrac{dp_c}{dt} = −\dfrac{p_c}{τ}$, $τ = \dfrac{V}{C_dA\sqrt{γRT}\,Γ}$
an exponential decay. Once the ratio falls under 1.89 the flow is subsonic and slows as the two pressures meet.
A hole the size of a door makes $τ$ a fraction of a second: an explosive decompression, in which air in the lungs must escape faster than it can, which is why holding a breath is dangerous. The real cabin air also cools as it expands, and the sudden cooling fills the cabin with fog; the sim leaves that out. The fuselage itself is a thin-walled cylinder, whose skin carries a hoop stress $σ = Δp\,r/t$: at 55 kPa, a radius of 1.88 m and a 1.6 mm skin, 65 MPa on every flight, which is why fatigue governs its design.
Reference
Common mistakes
Part 1
- Thinking the air has less oxygen in it at altitude: the fraction is the same 20.95 %; the pressure is lower.
- Extending the first halving of pressure in a straight line: the pressure halves about every 5.5 km.
- Forgetting the water vapor: $p_I = 0.2095(p − 6.27)$, not $0.2095\,p$.
- Expecting saturation to fall in proportion to $p_{O₂}$: the curve has a plateau and a cliff.
- Expecting hypoxia to feel bad: it often feels like nothing, or even like well-being.
- Turning Boyle’s law upside down: lower pressure means a larger volume, $V_2 = V_1p_1/p_2$.
- Helping others before putting on your own mask.
Part 2
- Using sea level’s scale height above 11 km, or one exponential from sea level through the troposphere.
- Subtracting $p_{ACO₂}$ without the factor $F + (1 − F)/RQ$.
- Using $n$ = 1 in the Hill equation.
- Giving oxygen content per deciliter where per liter is asked.
- Treating body gas as dry: its vapor pressure stays 6.27 kPa.
- Leaving out $Γ$ or $C_d$ in the decompression’s time constant.
The equation sheet
| Part 1 | |
|---|---|
| partial pressure | $p_{O₂} = 0.2095\,p$ |
| inspired oxygen | $p_I = 0.2095\,(p − 6.27\unit{kPa})$ |
| trapped gas | $V_2 = V_1p_1/p_2$ |
| the cabin | $Δp = p_{cabin} − p_{outside}$; $F = Δp\,A$ |
| an oxygen mask | restore: $F = 19.91\unit{kPa}/(p − 6.27\unit{kPa})$ |
| Part 2 | |
|---|---|
| barometric | $H = RT/(Mg)$; $p = p_0e^{−z/H}$ |
| alveolar gas | $p_A = p_I − p_{ACO₂}(F + (1 − F)/RQ)$ |
| Hill curve | $S = p^n/(p^n + p_{50}^n)$, $n$ = 2.7, $p_{50}$ = 3.57 kPa |
| content | $C = 1.34\,\text{Hb}\,S + 0.225\,p$ |
| Fick | $\dot V_{O₂} = D_L\,Δp$ |
| equivalent | $p_{eq} = 6.27 + F(p − 6.27)/0.2095$ |
| wet gas | wet: $V_2/V_1 = (p_1 − 6.27)/(p_2 − 6.27)$ |
| decompression | $τ = V/(C_dA\sqrt{γRT}\,Γ)$; $σ = Δp\,r/t$ |
Symbols: $p$ pressure (kPa; 1 kPa = 7.50 mmHg); $p_{O₂}$ oxygen’s partial pressure; $F$ (or $F_{O₂}$) the oxygen fraction; $p_I$ inspired, $p_A$ alveolar oxygen; $p_{ACO₂}$ alveolar CO₂; $RQ$ the respiratory quotient (0.8); $S$ saturation; $p_{50}$ the half-saturation pressure; $n$ the Hill coefficient; Hb hemoglobin (g/L); $C$ oxygen content (mL/L); $D_L$ diffusing capacity; $V$ volume; $H$ scale height; $M$, $R$, $T$, $g$ molar mass, gas constant, temperature and gravity; $τ$ a time constant; $A$ an area; $C_d$ a discharge coefficient; $γ$ = 1.4; $Γ$ = 0.5787; $σ$ hoop stress, $r$ radius, $t$ skin thickness. Water vapor at 37 °C: 6.27 kPa (47 mmHg).
Sources and further reading
- U.S. Standard Atmosphere 1976 (NOAA, NASA and USAF): the standard atmosphere’s tables and formulas.
- OpenStax, Anatomy and Physiology 2e, Chapter 22, “The Respiratory System,” sections 22.4 “Gas Exchange” and 22.5 “Transport of Gases” (the oxygen–hemoglobin dissociation curve), openstax.org.
- Federal Aviation Administration, Pilot’s Handbook of Aeronautical Knowledge (FAA-H-8083-25), aeromedical factors; FAA Advisory Circular 61-107, the table of time of useful consciousness.
- This sim’s Field Manual (H) for the model, its typical values and its limits; Kinetic Theory & Gas Laws for the gas laws, Pressure & Buoyancy for hydrostatics and the atmosphere, and G-Force & G-LOC Centrifuge for the other way to lose consciousness in a cockpit.
Altitude & Hypoxia v1.1 · © 2026 Dr. David Meier · CC BY-NC-SA 4.0 · glidepathscience.org