A-a Gradient and Alveolar Gas Equation Calculator
Compute alveolar oxygen from the alveolar gas equation, then the A-a gradient, the age adjusted expected value and the P/F ratio, with altitude handled.
Calculator
21 percent is room air, which is an FiO2 of 0.21.
MoreLessabout Inspired oxygen
Nasal cannula at 2 L/min is roughly 28 percent.
From the blood gas. Normal 35 to 45 mmHg, or 4.7 to 6.0 kPa.
From the blood gas, not the pulse oximeter.
MoreLessabout Arterial O2
Normal about 75 to 100 mmHg on room air, lower with age.
760 mmHg at sea level.
MoreLessabout Barometric pressure
Roughly 580 at Shimla and 495 at Leh, and holding 760 at altitude invents a gradient.
CO2 produced over O2 consumed. 0.8 on a mixed diet, 1.0 on pure carbohydrate, 0.7 on pure fat.
Only used for the expected gradient. It does not enter the alveolar gas equation.
- Alveolar oxygen, PAO2 The oxygen tension the alveolus should hold given the inspired mixture and the arterial CO2. Around 100 mmHg on room air at sea level.
- 99.73 mmHg
- Expected for this age By (age + 10) / 4, from StatPearls. The gradient widens with age because ventilation and perfusion match less well.
- 8.75 mmHg
- Expected, other estimate By age over 4 plus 4, from an archived StatPearls chapter. Both estimates are shown rather than one being picked silently.
- 10.3 mmHg
- Gradient reads as A wide gradient points at a shunt, a diffusion defect or ventilation and perfusion mismatch. A normal gradient with a low PaO2 points instead at hypoventilation or altitude.
- Within expected
- P/F ratio PaO2 over FiO2 as a fraction. 300 or below meets the oxygenation criterion for acute respiratory distress syndrome, 200 or below is moderate and 100 or below is severe. More reliable than the A-a gradient once supplemental oxygen is running.
- 452.4
- Inspired oxygen tension PiO2, the humidified inspired tension before any CO2 displaces oxygen. 149.7 mmHg on room air at sea level.
- 149.73 mmHg
Working, with your numbers
- PAO2 = FiO2 × (Patm − PH2O) − PaCO2 / R
- = 0.21 × (760 − 47) − 40 / 0.8
- = 0.21 × 713 − 50
- = 149.73 − 50
- = 99.73 mmHg
- A-a gradient = PAO2 − PaO2
- = 99.73 − 95
- = 4.73 mmHg
Values are converted into the units the equation is worked in before the arithmetic.
Cite this tool
Citing this tool
Last updated . Add the date you accessed it as well, which a citation of a page that can change asks for. If a specific result matters, cite the permalink from the tool’s share row instead of this page: it reproduces the exact parameters.
On the syllabus: MCAT, 3B: Structure and integrative functions of the main organ systems.
The equation
The equation as an image to reuse
What is the alveolar-arterial (A-a) oxygen gradient formula?
The A-a oxygen gradient is alveolar minus arterial oxygen tension: A-a gradient = PAO2 − PaO2. The alveolar gas equation gives the alveolar value: PAO2 = FiO2 × (Patm − PH₂O) − PaCO2 / R. On room air the expected gradient is about (age + 10) / 4 mmHg; a wider one points to shunt, V/Q mismatch or diffusion limitation.
The equation, term by term
PAO₂ = FiO₂ × (Patm − PH₂O) − PaCO₂ / R
- Patm − PH₂O. Inspired gas is fully saturated with
water vapour by the time it reaches the alveolus, and that vapour exerts its own partial
pressure, which dilutes everything else. At body temperature it is 47 mmHg, and it depends
only on temperature, so it does not fall with altitude. At sea level this leaves
760 − 47 = 713 mmHgfor the dry gases. - FiO₂ × that. Oxygen’s share of the humidified inspired gas.
Room air is 20.9 percent oxygen, rounded to 0.21 in the equation, so
0.21 × 713 = 149.73 mmHg. This is the inspired oxygen tension, PiO₂, shown as its own readout above. - − PaCO₂ / R. Carbon dioxide arriving from the blood occupies space in the alveolus and displaces oxygen. Arterial carbon dioxide stands in for alveolar, because carbon dioxide diffuses so readily that the two are essentially equal.
- R, the respiratory quotient. Slightly less carbon dioxide is produced than oxygen consumed, so the gas volumes do not balance exactly. R is the ratio, 0.8 on a mixed diet, about 1.0 on pure carbohydrate and 0.7 on pure fat. Dividing 40 by 0.8 gives 50 rather than 40, so this term alone moves alveolar oxygen by 10 mmHg.
Room air at sea level gives 0.21 × (760 − 47) − 40 / 0.8 = 149.73 − 50 = 99.73 mmHg,
the source of the textbook figure of about 100 mmHg for alveolar oxygen.
The gradient, and what widens it
The gradient is the oxygen that should have reached the blood but did not, a measure of how well the lung transfers gas.
Some gradient is normal: bronchial and coronary venous blood drains into the left heart, and ventilation and perfusion never match perfectly even in a healthy lung. The gradient widens with age as ventilation and perfusion match less well. StatPearls gives two estimates of the expected value, one in its current chapter and one in an archived chapter, so the tool shows both:
expected = (age + 10) / 4expected = age / 4 + 4
The first gives 8.75 mmHg at 25 and 22.5 mmHg at 80; the second gives about 10 and 24. The tool reads the gradient against the first.
The gradient splits the causes of a low arterial oxygen into two groups:
- Wide gradient. The lung is the problem. Shunt, whether intrapulmonary as in consolidation or atelectasis, or intracardiac. Ventilation and perfusion mismatch, as in pulmonary embolism, asthma or chronic obstructive disease. Diffusion impairment, as in interstitial disease.
- Normal gradient with a low arterial oxygen. The lung is transferring gas properly and the problem lies outside it. Either hypoventilation, in which case the carbon dioxide will be high, from opioids, neuromuscular weakness or a central cause; or a low inspired oxygen tension, meaning altitude or a hypoxic gas mixture, in which case the carbon dioxide will be normal or low.
Take an opioid overdose with an arterial oxygen of 55 mmHg and a carbon dioxide of 75. Alveolar
oxygen is 0.21 × 713 − 75 / 0.8 = 149.73 − 93.75 = 56 mmHg, so the gradient is
about 1 mmHg. The lung is fine and the patient is hypoventilating. No amount of examining the
chest will explain the hypoxemia, and the treatment is naloxone and ventilation rather than
oxygen alone.
Why altitude is an input rather than a constant
Barometric pressure is a field in the tool because a fixed 760 mmHg invents disease at altitude. Pressure falls roughly exponentially with height:
- Sea level, about 760 mmHg.
- Shimla at around 2,200 m, about 580 to 590 mmHg.
- Leh at around 3,500 m, about 490 to 505 mmHg.
At 495 mmHg the lower pressure alone takes alveolar oxygen on room air down to
0.21 × (495 − 47) − 50 = 44.1 mmHg. Residents at altitude are also chronically
hyperventilating, so their arterial carbon dioxide is low, say 30 rather than 40 for this
example, and that partly offsets the fall: 0.21 × (495 − 47) − 30 / 0.8 = 56.6 mmHg. A healthy long
term resident of Leh with an arterial oxygen of 50 therefore has a normal gradient of 6.6 mmHg
and no lung disease. Leave the pressure at 760 and the same blood gas gives an alveolar tension
of 112.2 mmHg and a gradient of about 62 mmHg, enough to send you looking for a shunt that does
not exist.
When to use the P/F ratio instead
The A-a gradient is not comparable across different inspired oxygen concentrations. Raising the inspired fraction raises the alveolar tension, and a given shunt fraction then costs more absolute millimetres of mercury, so the gradient widens even though the lung has not changed. Comparing today’s gradient on 40 percent oxygen against yesterday’s on room air tells you very little.
The P/F ratio, arterial oxygen divided by the inspired fraction, is more stable across oxygen
concentrations, and the Berlin definition of acute respiratory distress syndrome uses it: 300
or below meets the oxygenation criterion, 200 or below is moderate and 100 or below is severe.
On room air a normal arterial oxygen of 95 gives 95 / 0.21 = 452. The tool shows
the P/F ratio beside the gradient, so you can compare the two without a second calculation.
Common mistakes
- Dropping the water vapour term. Using 760 instead of 713 raises alveolar oxygen by about 10 mmHg on room air and manufactures a gradient.
- Entering the inspired oxygen as 21 rather than 0.21 in the bare formula. The tool takes a percentage and converts it, but by hand 21 gives an alveolar oxygen of 14,923 mmHg. The same slip in a P/F ratio gives 4.5, which reads as severe respiratory failure in anyone.
- Using a pulse oximeter reading. The equation needs an arterial oxygen tension in mmHg from a blood gas, and a pulse oximeter gives a saturation in percent. The sigmoid oxyhemoglobin dissociation curve links the two, far from linearly: on the standard curve a saturation of 95 percent corresponds to a tension of about 80 mmHg.
- Guessing the inspired fraction on nasal cannula. It varies with the patient’s own inspiratory flow, so the delivered fraction is uncertain. Any gradient computed from an assumed value on low flow oxygen carries that uncertainty. A venturi mask or a stated ventilator setting gives a far more dependable fraction.
- Reading a wide gradient as a diagnosis. It localises the problem to the lung without saying which lung problem. The response to supplemental oxygen separates shunt from mismatch: a true shunt barely improves, and mismatch corrects readily.
Sources
StatPearls, Physiology, Alveolar to Arterial Oxygen Gradient, for the physiological gradient from ventilation and perfusion mismatch and the estimate (age + 10) / 4, and the archived StatPearls chapter Oxygenation Status and Pulse Oximeter Analysis (2023) for age / 4 + 4. Arterial Blood Gas Analysis, for the PaO₂ reference range of 75 to 100 mmHg, and High Altitude Cerebral Edema, for hyperventilation lowering PaCO₂ at altitude. Sharma and Goodwin, Effect of aging on respiratory system physiology and immunology, Clinical Interventions in Aging 2006, for ventilation and perfusion matching less well with age. The ARDS Definition Task Force, Acute respiratory distress syndrome: the Berlin Definition, JAMA 2012, for the P/F ratio bands.
Converting units first? Use the pressure conversion table.
Compare the formulas: A-a gradient by age and altitude.
How to calculate the A-a gradient
- Write down the formula:
A-a = FiO2 · (Patm − 47) − PaCO2 ÷ R − PaO2 -
Gather the values it needs. The calculator above starts with these:
- Inspired oxygen: FiO2 = 21 %
- Arterial CO2: PaCO2 = 40 mmHg
- Arterial O2: PaO2 = 95 mmHg
- Barometric pressure: Patm = 760 mmHg
- Respiratory quotient: R = 0.8
-
Substitute them and work through the arithmetic:
- PAO2 = FiO2 × (Patm − PH2O) − PaCO2 / R
- = 0.21 × (760 − 47) − 40 / 0.8
- = 0.21 × 713 − 50
- = 149.73 − 50
- = 99.73 mmHg
- A-a gradient = PAO2 − PaO2
- = 99.73 − 95
- = 4.73 mmHg
-
To find one of the other values instead, rearrange the formula for it:
- Inspired oxygen:
FiO2 = [PaO2 + (A-a) + PaCO2 ÷ R] ÷ (Patm − 47) - Arterial CO2:
PaCO2 = R · [FiO2 · (Patm − 47) − PaO2 − (A-a)] - Arterial O2:
PaO2 = FiO2 · (Patm − 47) − PaCO2 ÷ R − (A-a) - Barometric pressure:
Patm = [PaO2 + (A-a) + PaCO2 ÷ R] ÷ FiO2 + 47 - Respiratory quotient:
R = PaCO2 ÷ [FiO2 · (Patm − 47) − PaO2 − (A-a)]
- Inspired oxygen:
Worked examples
Each one runs through the calculator above, so the arithmetic here is the arithmetic it does.
What is the A-a gradient in an opioid overdose with a PaCO2 of 75 mmHg?
- PAO2 = FiO2 × (Patm − PH2O) − PaCO2 / R
- = 0.21 × (760 − 47) − 75 / 0.8
- = 0.21 × 713 − 93.75
- = 149.73 − 93.75
- = 55.98 mmHg
- A-a gradient = PAO2 − PaO2
- = 55.98 − 55
- = 0.98 mmHg
About 1 mmHg, which is normal, yet the arterial oxygen is only 55. The lung is transferring gas perfectly and the patient is simply not breathing, so the treatment is naloxone and ventilation rather than oxygen. No amount of examining the chest explains this hypoxemia.
What is the A-a gradient with a PaO2 of 60 and a PaCO2 of 30 on room air?
- PAO2 = FiO2 × (Patm − PH2O) − PaCO2 / R
- = 0.21 × (760 − 47) − 30 / 0.8
- = 0.21 × 713 − 37.5
- = 149.73 − 37.5
- = 112.23 mmHg
- A-a gradient = PAO2 − PaO2
- = 112.23 − 60
- = 52.23 mmHg
Wide, and the exact opposite of the opioid case despite a similar arterial oxygen. The low carbon dioxide shows the patient is hyperventilating and still cannot oxygenate, which localises the problem to the lung and fits a pulmonary embolism or any shunt.
What PaO2 gives a normal A-a gradient of 10 mmHg on 40 percent oxygen?
- PAO2 = FiO2 × (Patm − PH2O) − PaCO2 / R
- = 0.4 × (760 − 47) − 40 / 0.8
- = 0.4 × 713 − 50
- = 285.2 − 50
- = 235.2 mmHg
- PaO2 = PAO2 − (A-a gradient)
- = 235.2 − 10
- = 225.2 mmHg
Over 225 mmHg, which is what a healthy lung should manage on 40 percent oxygen. Seeing an arterial oxygen of 90 on that setting therefore means a gradient of about 145, not a reassuring number, and it is why a saturation of 98 percent on oxygen hides a great deal.
Common questions
Why subtract 47 mmHg before applying the inspired fraction?
Because inspired gas is fully saturated with water vapour by the time it reaches the alveolus, and that vapour exerts its own partial pressure which dilutes everything else. At body temperature the pressure is 47 mmHg and it does not change with altitude, since it depends only on temperature. So the pressure available to the dry gases at sea level is 760 minus 47, which is 713 mmHg, and room air contributes 0.21 of that, giving an inspired oxygen tension of 149.73 mmHg. Forgetting the 47 is the commonest error here and inflates alveolar oxygen by about 10 mmHg.
What is the respiratory quotient doing in the equation?
Correcting for the fact that slightly less carbon dioxide is produced than oxygen is consumed, so the volume of gas leaving the blood does not quite match the volume entering it. R is the ratio of the two, conventionally 0.8 on a mixed diet, rising towards 1.0 on pure carbohydrate and falling to about 0.7 on pure fat. Dividing arterial carbon dioxide by 0.8 rather than using it directly increases that term from 40 to 50 mmHg, so the choice of R moves alveolar oxygen by a clinically visible amount.
What counts as a normal A-a gradient?
It widens with age, because ventilation and perfusion match less well. StatPearls gives two estimates: age plus 10, divided by four, in its current chapter, and age divided by four plus four in an archived one. For a 25 year old they give about 9 and 10 mmHg, and for an 80 year old about 22.5 and 24. A gradient wider than expected points at a shunt, a diffusion defect or ventilation and perfusion mismatch. A normal gradient with a low arterial oxygen points instead at hypoventilation or at altitude, which is a genuinely different differential.
Why does barometric pressure need to be an input?
Because holding it at 760 mmHg invents a gradient in anyone who is not at sea level. Barometric pressure is roughly 580 to 590 mmHg at Shimla and about 495 mmHg at Leh, so alveolar oxygen at Leh on room air is around 44 mmHg rather than 100, or about 57 mmHg if an acclimatized resident’s carbon dioxide is taken as 30 rather than 40. A healthy resident there has a normal A-a gradient and a low arterial oxygen at the same time. Using the sea level value computes an alveolar tension the lung never sees and reports a wide gradient in a normal lung.
When should I use the P/F ratio instead?
Once supplemental oxygen is running. The A-a gradient itself rises with inspired oxygen even when the lung has not changed, because a higher alveolar tension makes any given shunt fraction cost more, so gradients measured on different oxygen concentrations are not comparable. The P/F ratio, arterial oxygen divided by the inspired fraction, is more stable and is what the ARDS definition uses: 300 or below meets the oxygenation criterion, 200 or below is moderate and 100 or below is severe. Both are shown here so the comparison is visible.