The mixed air formula calculates the average concentration of a gas (or the average partial pressure) when two or more gas streams with different compositions are combined. You enter the flow rates and gas concentrations of each stream, and the calculator returns the resulting mixed concentration, typically expressed as a percentage or partial pressure. This is essential for designing ventilation systems, predicting indoor CO₂ levels, and understanding respiratory gas exchange.
Formula
The mixed concentration is the flow-weighted average of the individual concentrations:
Cmixed = (F1 × C1 + F2 × C2) / (F1 + F2)
- F1, F2 = volumetric flow rates of each stream (same unit, e.g., L/min or m³/h)
- C1, C2 = concentrations of the gas of interest in each stream (same unit, e.g., % or ppm)
If you know the total pressure, the partial pressure of the gas in the mixture is simply the mixed concentration (as a decimal) multiplied by the total pressure. At standard atmospheric pressure (760 mmHg), the partial pressure in mmHg equals the percentage × 7.6.
Worked Example
Suppose a ventilation system supplies 40 L/min of fresh air containing 0.04% CO₂ (typical outdoor air) and recirculates 10 L/min of room air containing 5% CO₂ (a poorly ventilated space). What is the mixed CO₂ concentration?
Using the formula:
Cmixed = (40 × 0.04 + 10 × 5) / (40 + 10) = (1.6 + 50) / 50 = 51.6 / 50 = 1.032%
So the mixed air contains about 1.03% CO₂. At 1 atm, the partial pressure is 1.032/100 × 760 = 7.84 mmHg.
This matches the calculator’s output for the default values.
Assumptions
- Flow rates are volumetric and measured under the same temperature and pressure (or already corrected to standard conditions).
- Gases behave ideally; the mixture follows Dalton’s law of partial pressures.
- No chemical reaction occurs between the gas and the air (e.g., CO₂ is inert in this context).
- Concentrations are expressed on the same basis (e.g., both as % by volume or both as ppm).
Background: Why Mixed Air Matters
In respiratory physiology, the term “mixed air” appears in two contexts. First, in mechanical ventilation, expired gas from a patient is collected in a mixing chamber to obtain a representative sample of mixed expired air (often called “mixed expired gas”), which is used to calculate oxygen consumption and CO₂ production via the Haldane transformation. Second, in indoor air quality and HVAC design, mixed air refers to the blend of outdoor fresh air and recirculated return air that is supplied to a building. The formula above applies to both: it is simply a conservation of mass for the gas of interest.
For example, to estimate the CO₂ concentration in a room, you can treat the supply air as a mix of outdoor air (low CO₂) and room air (high CO₂ due to occupants). The mixed air formula gives the concentration entering the room, which then evolves as occupants add CO₂.
How to Choose the Right Inputs
To get a meaningful result, you need to match the units of flow and concentration. The formula works with any consistent units: L/min, m³/h, cfm, as long as both flows use the same unit. Similarly, concentrations must both be in % or both in ppm—do not mix them. If you have one stream in ppm and another in %, convert first (1% = 10,000 ppm).
For respiratory gas exchange, the concentrations are typically measured with a gas analyzer (e.g., O₂ and CO₂ sensors). The flow rates can be obtained from a spirometer or a flow meter. In HVAC, flow rates are often measured with pitot tubes or anemometers.
Common Mistakes and Misconceptions
- Mixing units: Using L/min for one flow and m³/h for another without conversion leads to a wrong answer. Always convert to the same unit.
- Concentration basis: Percent by volume and percent by mass are different. The formula assumes volume percent (or mole fraction, which is equivalent for ideal gases).
- Forgetting the flow weighting: Simply averaging the concentrations (e.g., (0.04+5)/2 = 2.52%) ignores the fact that the larger flow dominates. Always weight by flow.
- Assuming constant pressure: If the streams are at different pressures, the volumetric flows must be corrected to a common pressure before mixing. In practice, HVAC systems mix at nearly the same pressure.
Practical Applications in Gas Exchange
In respiratory physiology, the mixed expired gas is collected over several breaths to average out variations. The fractional concentration of O₂ and CO₂ in mixed expired gas, along with the expired volume, allows calculation of oxygen consumption (VO₂) and carbon dioxide production (VCO₂) using the Haldane transformation, which accounts for the fact that inspired and expired volumes differ.
For example, if a subject breathes room air (20.93% O₂, 0.03% CO₂) and the mixed expired gas contains 16% O₂ and 4% CO₂, the respiratory exchange ratio (RER) can be estimated. The formula is more complex because nitrogen is assumed to be unchanged, but the mixing principle is the same.
In building ventilation, the mixed air formula helps determine the required outdoor air flow to keep CO₂ below a threshold (e.g., 1000 ppm). By rearranging the formula, you can solve for the fresh air fraction needed given the occupancy CO₂ generation rate.
Limitations of the Formula
The formula assumes instantaneous and complete mixing. In reality, mixing may be imperfect, and concentration gradients can exist. It also assumes no gas is absorbed or produced during mixing, which is true for CO₂ and O₂ in air at room temperature. For reactive gases (e.g., NO₂), chemical reactions could alter concentrations, so the formula would not apply.
Additionally, the formula gives the concentration at the mixing point. Downstream, diffusion and mixing with other air streams can change the concentration. In respiratory applications, the mixed expired gas must be collected in a baffled chamber to ensure homogeneous mixing.
Frequently Asked Questions
What is the difference between mixed air and alveolar air?
Mixed expired air is a sample of all gas leaving the lungs, including air from the anatomical dead space (trachea and bronchi) that did not participate in gas exchange. Alveolar air is the gas in the alveoli, which is in equilibrium with blood and has higher CO₂ and lower O₂ than mixed expired air. Mixed expired air is a dilution of alveolar air with dead-space air.
Can I use this formula for O₂ and CO₂ simultaneously?
Yes, you can apply the formula separately for each gas. For O₂, use the O₂ concentrations; for CO₂, use the CO₂ concentrations. The flow rates are the same. However, if you are calculating oxygen consumption, you must account for the fact that the total flow changes because CO₂ is produced and O₂ is consumed—the Haldane transformation is needed.
How do I convert ppm to percent?
Divide the ppm value by 10,000. For example, 5000 ppm CO₂ = 0.5%. Conversely, multiply percent by 10,000 to get ppm. The calculator accepts any consistent unit, so you can enter both concentrations in ppm if you prefer.
What if I have more than two streams?
The formula extends naturally: multiply each flow by its concentration, sum those products, and divide by the total flow. For three streams, Cmixed = (F1C1 + F2C2 + F3C3) / (F1+F2+F3). The calculator currently handles two streams, but you can combine two at a time iteratively.
Does temperature affect the result?
Volumetric flow rates change with temperature because gases expand. If the two streams are at different temperatures, you should either correct the flows to a common temperature (e.g., using the ideal gas law) or use mass flow rates. For most HVAC applications, the temperature difference is small enough to ignore, but for precise respiratory measurements, flows are often corrected to BTPS (body temperature, pressure, saturated) conditions.