Calculate the atmospheric mixing ratio from temperature, relative humidity, and pressure using psychrometric principles and the Magnus-Tetens equation.
Last updated: March 2026
The atmospheric mixing ratio quantifies the amount of water vapor in air by expressing the mass of water vapor per unit mass of dry air. In meteorology, it's typically expressed as grams of water vapor per kilogram of dry air (g/kg). This calculator uses psychrometric principles to derive mixing ratio from commonly measured atmospheric parameters: temperature, relative humidity, and atmospheric pressure.
The calculation employs the Magnus-Tetens equation to first determine saturation vapor pressure at the given temperature. Combined with relative humidity, this yields the actual vapor pressure of water in the air. The mixing ratio is then calculated using the relationship between vapor pressure and the masses of water vapor and dry air, incorporating the ratio of their molecular weights (approximately 0.622).
This approach is essential in meteorology because direct measurement of water vapor mass is impractical. Instead, weather stations measure temperature, humidity, and pressure—parameters that can be converted to mixing ratio through psychrometric equations. The mixing ratio remains conserved during adiabatic processes, making it invaluable for analyzing air mass movements and predicting weather phenomena like cloud formation and precipitation.
Step 1: Saturation Vapor Pressure (Magnus-Tetens)
eₛ = 6.112 × exp[(17.67 × T) / (T + 243.5)]
Step 2: Actual Vapor Pressure
e = (RH / 100) × eₛ
Step 3: Mixing Ratio
w = 622 × [e / (P - e)]
T = temperature (°C)
RH = relative humidity (%)
P = atmospheric pressure (hPa or mbar)
eₛ = saturation vapor pressure (hPa)
e = actual vapor pressure (hPa)
w = mixing ratio (g/kg)
622 = ratio of molecular weights (18.015 / 28.97 × 1000)
Measure atmospheric conditions
Obtain temperature (°C), relative humidity (%), and atmospheric pressure (hPa or mbar) from weather instruments or reports.
Calculate saturation vapor pressure
Use the Magnus-Tetens equation to find the maximum vapor pressure possible at the given temperature.
Find actual vapor pressure
Multiply saturation vapor pressure by relative humidity percentage to get the current vapor pressure in the air.
Calculate mixing ratio
Apply the mixing ratio formula using the constant 622 (molecular weight ratio), vapor pressure, and total atmospheric pressure.
💡 Why 622?
The constant 622 comes from the ratio of molecular weights: water vapor (18.015 g/mol) divided by dry air (28.97 g/mol), multiplied by 1000 to convert to g/kg. This allows us to relate vapor pressure to actual mass ratios.
Calculate the mixing ratio for air at 25°C with 60% relative humidity at sea level pressure (1013.25 hPa).
This represents comfortable, moderately humid air typical of temperate climates. For every kilogram of dry air, there are approximately 11.89 grams of water vapor.
The Magnus-Tetens equation is an empirical approximation for calculating saturation vapor pressure from temperature. It's accurate within ±0.6% for temperatures from -40°C to +50°C, making it ideal for most meteorological applications.
Yes, but consistency is key. This calculator uses hectopascals (hPa), which equals millibars (mbar). If using other units like inches of mercury or kilopascals, convert to hPa first: 1 inHg = 33.86 hPa, 1 kPa = 10 hPa.
Altitude affects atmospheric pressure—use the actual pressure at your elevation. At 5000 ft elevation, pressure is ~843 hPa instead of 1013 hPa at sea level. Lower pressure at altitude means lower mixing ratios for the same temperature and RH.
Simple mixing ratio requires knowing actual vapor and dry air masses directly. This calculator derives mixing ratio from easily measured parameters (T, RH, P) using psychrometric relationships—more practical for real-world applications.
Specific humidity is mass of vapor divided by total moist air mass. Mixing ratio divides by dry air mass only. The difference is small (typically <2%) but mixing ratio is preferred in meteorology because it's conserved during adiabatic processes.
The Magnus-Tetens equation is highly accurate from -40°C to +50°C. Beyond these ranges or at very low pressures (high altitude), more complex equations may be needed. For standard meteorological work, this method is industry-standard.
Forecasters use mixing ratio to track moisture in air masses, predict cloud formation heights, estimate precipitation potential, and analyze atmospheric stability. Unlike RH, mixing ratio doesn't change when temperature changes during adiabatic processes.
Absolutely. HVAC engineers use mixing ratio (or humidity ratio, which is identical) for psychrometric calculations, determining dehumidification loads, calculating mixed air conditions, and sizing air conditioning equipment based on moisture removal requirements.
Related Tools
Calculate beat frequency.
Calculate Biot number.
Explore the bug rivet paradox.
Calculate cloud base altitude.
Calculate production function.
Calculate control volume flow.