The mixed air formula calculates the temperature and humidity of air after two or more airstreams are combined, a key step in designing and troubleshooting respiratory support systems. You enter the flow, temperature, and relative humidity of each incoming gas stream, and the calculator returns the resulting temperature and absolute humidity of the blended mixture.
Formula
The mixed air temperature is a flow-weighted average:
Tmix = (F1 × T1 + F2 × T2) / (F1 + F2)
where F1 and F2 are the gas flows in L/min, and T1 and T2 are the temperatures in °C. This assumes no heat is lost to the tubing or the environment.
For absolute humidity, each stream’s water content is first calculated from its relative humidity and temperature using the Magnus formula for saturation vapor pressure:
AH = (RH/100) × 19.4 × exp(17.62 × T / (243.12 + T)) / (0.08314 × (T + 273.15))
where AH is absolute humidity in mg/L, RH is relative humidity in %, T is temperature in °C, 19.4 is the molar mass of water in g/mol, 0.08314 is the ideal gas constant in L·bar/(mol·K), and the exponential term gives saturation vapor pressure in bar. The mixed humidity is then the flow-weighted average of the two AH values.
Worked Example
Using the default inputs: Stream 1 is 40 L/min at 22 °C and 50% RH; Stream 2 is 10 L/min at 37 °C and 100% RH (fully saturated).
First, the mixed temperature:
Tmix = (40 × 22 + 10 × 37) / (40 + 10) = (880 + 370) / 50 = 1250 / 50 = 25.0 °C
Now the absolute humidity of each stream. For Stream 1:
AH1 = 0.50 × 19.4 × exp(17.62 × 22 / (243.12 + 22)) / (0.08314 × (22 + 273.15))
= 9.70 × exp(387.64 / 265.12) / (0.08314 × 295.15)
= 9.70 × exp(1.462) / 24.54
= 9.70 × 4.314 / 24.54 ≈ 41.85 / 24.54 ≈ 1.705 mg/L
For Stream 2:
AH2 = 1.00 × 19.4 × exp(17.62 × 37 / (243.12 + 37)) / (0.08314 × (37 + 273.15))
= 19.4 × exp(651.94 / 280.12) / (0.08314 × 310.15)
= 19.4 × exp(2.327) / 25.79
= 19.4 × 10.25 / 25.79 ≈ 198.85 / 25.79 ≈ 7.71 mg/L
Mixed absolute humidity:
AHmix = (40 × 1.705 + 10 × 7.71) / (40 + 10) = (68.2 + 77.1) / 50 = 145.3 / 50 ≈ 2.9 mg/L
The calculator shows 25.0 °C and 2.9 mg/L, matching the hand calculation.
Assumptions
- Both gases behave as ideal gases.
- No heat or water vapor is lost to the tubing, connectors, or the environment during mixing.
- The gases mix instantaneously and completely, with no condensation before the point of measurement.
- The Magnus formula is accurate for temperatures between 0 and 100 °C and for pressures near 1 atm.
- Relative humidity is measured at the same pressure as the flow (usually ambient).
Why Mixed Air Matters in Respiratory Care
In mechanical ventilation and oxygen therapy, patients often receive a blend of dry medical air and oxygen, or a mix of cool dry gas and warm humidified gas. The temperature and humidity of the final gas mixture directly affect the mucosa of the airways. If the gas is too dry, the respiratory epithelium can dry out, impairing ciliary function and increasing the risk of infection. If it is too hot or too humid, condensation can form in the tubing and potentially block the airway or cause burns. Clinicians use the mixed air formula to predict the conditions at the patient end of the circuit, especially when two gas sources with different temperatures and humidities are combined.
How to Use the Calculator
Enter the flow, temperature, and relative humidity for each of two gas streams. The calculator assumes the two streams are the only ones present; if you have more than two, combine them in pairs sequentially. Use the same units for both flows (L/min is standard), temperatures in °C, and RH in %. The result gives the temperature and absolute humidity of the blend. Absolute humidity is the mass of water vapor per volume of gas (mg/L), which is the most direct measure of the actual water content delivered to the patient.
Common Mistakes and Misconceptions
- Mixing relative humidities directly: RH is temperature-dependent; 50% RH at 22 °C contains far less water than 50% RH at 37 °C. Always convert to absolute humidity before averaging.
- Ignoring the flow weighting: A small flow of very humid gas has less effect than a large flow of dry gas. The flow-weighted average is essential.
- Assuming the mixed temperature is the average of the two temperatures: Only true if the flows are equal. With unequal flows, the larger flow dominates.
- Forgetting condensation: If the mixed gas cools below its dew point, water will condense. The formula predicts the mixed humidity, but the actual delivered humidity may be lower if condensation occurs in the tubing.
Limitations of the Formula
The formula assumes adiabatic mixing (no heat exchange) and no water vapor loss. In real ventilator circuits, heat and humidity can be lost to the walls of the tubing, especially if the ambient temperature is lower than the gas temperature. Some systems use heated wires to compensate, which would make the actual temperature higher than the calculated value. Additionally, the Magnus formula is an approximation; more precise equations exist, but the difference is usually less than 1% in the clinical range. The formula also assumes the gas pressure is near 1 atm; at higher pressures (e.g., in hyperbaric conditions), the humidity calculation must be adjusted.
Frequently Asked Questions
What is the ideal temperature and humidity for inhaled gas?
Normal airway conditions are approximately 37 °C and 100% relative humidity, which corresponds to about 44 mg/L of absolute humidity. For short-term oxygen therapy, lower humidity may be acceptable, but for long-term mechanical ventilation, the gas should be warmed and humidified to near body conditions to prevent mucosal damage.
Why does my ventilator circuit have water droplets in the tubing?
Water droplets form when the gas cools after leaving the humidifier, causing the water vapor to condense. This is a sign that the gas temperature is dropping below its dew point. The mixed air formula can help predict the dew point of the blend; if the ambient temperature is lower, condensation will occur. Heated circuits or water traps are used to manage this.
Can I use this calculator for oxygen–air blending?
Yes, but only for temperature and humidity. The formula does not account for the oxygen concentration. If you need the final FiO2 (fraction of inspired oxygen), you would use a separate calculation: FiO2 = (FO2 × 1.0 + Fair × 0.21) / (FO2 + Fair). This calculator focuses on the thermal and humidity properties.
What if I have more than two gas streams?
Combine them two at a time. First mix stream 1 and 2, then mix the result with stream 3, and so on. The order does not matter for the final temperature or absolute humidity, as long as no condensation occurs during the intermediate steps.
How accurate is the Magnus formula for humidity?
In the range of 0–50 °C, the Magnus formula agrees with the more exact Goff-Gratch equation to within about 0.5% relative humidity. For clinical purposes, this is more than adequate. The main source of error is usually the input RH measurement, which can have an accuracy of ±2–5%.
Does altitude affect the calculation?
Yes, but only slightly. The formula uses the ideal gas law with a constant pressure assumption. At higher altitudes, the lower barometric pressure means the same RH corresponds to a lower absolute humidity. For precise work at altitude, you would need to incorporate the actual pressure. For most clinical settings near sea level, the error is negligible.
Follow your local protocol and the equipment manufacturer’s instructions when setting up respiratory support. The mixed air formula is a planning tool; always verify actual conditions with a calibrated hygrometer and thermometer at the patient wye.
Related
Formula used
in f1 | Flow 1 | L/min | 40 | 0 in t1 | Temperature 1 | °C | 22 | -273.15 in h1 | Relative Humidity 1 | % | 50 | 0 in f2 | Flow 2 | L/min | 10 | 0 in t2 | Temperature 2 | °C | 37 | -273.15 in h2 | Relative Humidity 2 | % | 100 | 0 out tmix | Mixed temperature | °C | (f1 * t1 + f2 * t2) / (f1 + f2) | 1 out hmix | Mixed absolute humidity | mg/L | (f1 * (h1/100) * 19.4 * exp(17.62 * t1 / (243.12 + t1)) / (0.08314 * (t1 + 273.15)) + f2 * (h2/100) * 19.4 * exp(17.62 * t2 / (243.12 + t2)) / (0.08314 * (t2 + 273.15))) / (f1 + f2) | 1
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