The mixed air formula in respiratory physiology calculates the average concentration of a gas (usually oxygen or carbon dioxide) in a mixture of expired gas from different lung regions or from different breaths. You enter the gas concentrations and the corresponding volumes (or flow rates) of the contributing components, and the calculator returns the volume-weighted mean concentration.
Formula
The mixed concentration is the volume-weighted arithmetic mean of the individual concentrations:
Cmixed = (C₁ × V₁ + C₂ × V₂ + … + Cₙ × Vₙ) / (V₁ + V₂ + … + Vₙ)
- Ci = concentration of gas in component i (in %, fraction, or any consistent unit)
- Vi = volume of component i (in L, mL, or any consistent unit)
The units of concentration and volume must be consistent across all components. The result has the same concentration unit as the inputs.
Worked Example
Suppose a subject’s expired gas is collected in two bags: one bag (2.0 L) contains 16% oxygen (from alveolar gas), and a second bag (0.5 L) contains 5% oxygen (from dead space gas). What is the mixed oxygen concentration?
- Multiply each concentration by its volume: 16% × 2.0 L = 32 %·L; 5% × 0.5 L = 2.5 %·L
- Sum the products: 32 + 2.5 = 34.5 %·L
- Sum the volumes: 2.0 + 0.5 = 2.5 L
- Divide: 34.5 / 2.5 = 13.8%
The mixed oxygen concentration is 13.8%. The calculator gives the same result (13.80%) for the default inputs.
Assumptions
- All gas volumes are measured under the same conditions (usually BTPS – body temperature, ambient pressure, saturated with water vapor – or STPD – standard temperature, pressure, dry). Mixing volumes measured under different conditions is invalid.
- The gas behaves ideally (true for respiratory gases at normal pressures).
- Concentrations are expressed on the same basis (dry gas fraction vs. wet gas fraction).
- There is no chemical reaction or absorption during mixing.
Why the Mixed Air Formula Matters
In respiratory physiology, the mixed air formula is used to compute the average composition of gas leaving the lung. Because different parts of the lung have different ventilation-perfusion ratios, the expired gas is not uniform. The formula lets you combine gas from fast and slow compartments, from dead space and alveoli, or from multiple breaths collected in a mixing chamber. It is the basis for calculating oxygen consumption (V̇O₂), carbon dioxide production (V̇CO₂), and the respiratory exchange ratio (RER) in indirect calorimetry. For example, when a subject breathes into a Douglas bag, the bag collects mixed expired gas; the formula is used to find the average O₂ and CO₂ fractions before computing V̇O₂ and V̇CO₂.
How to Choose the Components
The formula is only as good as the components you feed into it. In practice, you must decide which compartments to include:
- Alveolar gas – sampled at the end of expiration (end-tidal) or estimated from arterial PCO₂.
- Dead space gas – from the conducting airways, with composition close to inspired air.
- Mixed expired gas – collected over a full breath or several breaths.
When using the formula to reconstruct mixed expired gas from alveolar and dead space components, the volumes must be the actual tidal volumes contributed by each compartment. For a single breath, Valv + Vdead = tidal volume. For multiple breaths, sum all breaths.
If you are mixing gases from different breaths (e.g., breath 1 and breath 2), use the total expired volume of each breath. The formula is linear, so the order of components does not matter.
Common Mistakes and Pitfalls
- Unit mismatch: mixing mL and L, or % and fraction. Convert everything to the same units before using the formula. For example, 0.16 fraction is the same as 16% – but do not mix 0.16 with 5% without converting.
- Using flow rates instead of volumes: The formula works with volumes. If you have flow rates (L/min), you must multiply by time to get volume, or use a time-weighted average only if flow is constant.
- Ignoring BTPS vs. STPD: Gas volumes change with temperature, pressure, and water vapor. Always correct volumes to the same condition before mixing. In respiratory physiology, BTPS is used for lung volumes, but STPD is used for metabolic calculations. Mixing a BTPS volume with an STPD volume gives a meaningless result.
- Assuming equal volumes: The formula is weighted by volume. If you have two gases with equal concentrations but different volumes, the mixed concentration is not simply the average – it is the volume-weighted average.
- Rounding too early: Keep at least 5 significant figures during intermediate steps to avoid rounding errors, especially when one component is much larger than the other.
Comparison with Simple Average
A common misconception is that the mixed concentration is the arithmetic mean of the concentrations. That is only true when all component volumes are equal. For example, mixing 16% O₂ (2 L) with 5% O₂ (2 L) gives a simple average of (16+5)/2 = 10.5%, but the volume-weighted average is (16×2 + 5×2)/(2+2) = 10.5% – coincidentally the same because volumes are equal. However, if the volumes differ (as in the worked example), the simple average (10.5%) is far from the correct 13.8%. Always use the volume-weighted formula.
Frequently Asked Questions
What is the difference between mixed expired gas and alveolar gas?
Alveolar gas is the gas in the alveoli, which participates in gas exchange. Mixed expired gas is the gas that actually leaves the mouth, which includes alveolar gas plus dead space gas from the airways. Because dead space gas has not undergone gas exchange, its composition is close to inspired air. The mixed expired concentration is therefore a dilution of alveolar gas by dead space gas. The mixed air formula can quantify that dilution if you know the dead space volume and alveolar concentration.
Can I use the formula for inspired gas mixing (e.g., oxygen therapy)?
Yes. The same volume-weighted average applies when mixing two gas streams, such as oxygen and air, to achieve a desired FiO₂. For example, mixing 2 L/min of 100% O₂ with 3 L/min of air (21% O₂) gives (100×2 + 21×3)/(2+3) = 52.6% O₂. However, in clinical practice, the actual delivered FiO₂ depends on the patient’s breathing pattern and the device; this formula gives the theoretical mixed concentration in the tubing.
Why do I need to correct to BTPS or STPD?
Gas volumes expand and contract with temperature and pressure. If you collect expired gas at room temperature and then measure it at body temperature, the volume changes. For respiratory calculations, lung volumes are usually expressed at BTPS (body temperature, ambient pressure, saturated) to reflect in-vivo conditions, while metabolic rates (V̇O₂, V̇CO₂) are expressed at STPD (standard temperature 273.15 K, pressure 101.325 kPa, dry) to allow comparison across conditions. Mixing volumes without correcting to the same condition introduces errors that can exceed 10%.
What if I have more than two components?
The formula extends naturally. Add each concentration multiplied by its volume in the numerator, and add all volumes in the denominator. The calculator above handles two components, but you can combine them in pairs iteratively: mix component 1 and 2, then mix the result with component 3, and so on. Because the formula is associative, the final result is the same regardless of order.
Is the formula the same as the dilution equation?
Yes, it is the same mathematical principle. The dilution equation (C₁V₁ = C₂V₂) is a special case where you are finding the concentration after adding solvent (or diluent) to a solution. In gas mixing, you are combining two or more gases with different concentrations. The general formula is simply the weighted average, which is the same as the dilution equation when one component has a concentration of zero (e.g., adding pure nitrogen to dilute oxygen).
Limitations and Practical Notes
The mixed air formula assumes perfect mixing and no gas exchange during mixing. In real respiratory systems, mixing is not instantaneous, and there may be stratification in the airways. However, for most physiological calculations, the formula is accurate within a few percent. Always follow your lab method, the safety data sheet (SDS) and your supervisor when performing gas analysis. For clinical applications, this formula is for educational and laboratory planning purposes only – it is not a substitute for direct measurement of blood gases or expired gas analysis with calibrated equipment.
Related
Formula used
in c1 | Concentration of component 1 | % | 16 | 0 | 100 in v1 | Volume of component 1 | L | 2.0 | 0 | 20 in c2 | Concentration of component 2 | % | 5 | 0 | 100 in v2 | Volume of component 2 | L | 0.5 | 0 | 20 out cmix | Mixed concentration | % | (c1 * v1 + c2 * v2) / (v1 + v2) | 2 out vtot | Total volume | L | v1 + v2 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Normality to g/L Converter & Formula29.220 g/L
- Normality to meq/mL Conversion Calculator1.0000 meq/mL
- Normality Test Q-Q Plot: How to Read It
- Normality Test Results: How to Analyze Them
- Normality Slay the Spire?
- Normality Test for Paired t Test: How to Check