Mixing Ratio Of Air Calculator

Mixing Ratio of Air Calculator

Calculate the atmospheric mixing ratio from temperature, relative humidity, and pressure using psychrometric principles and the Magnus-Tetens equation.

Last updated: March 2026

Calculate Mixing Ratio

°C
%
hPa

What is Atmospheric Mixing Ratio?

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.

How to Calculate Mixing Ratio from Atmospheric Data

The Formulas

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)

Step-by-Step Calculation

1

Measure atmospheric conditions

Obtain temperature (°C), relative humidity (%), and atmospheric pressure (hPa or mbar) from weather instruments or reports.

2

Calculate saturation vapor pressure

Use the Magnus-Tetens equation to find the maximum vapor pressure possible at the given temperature.

3

Find actual vapor pressure

Multiply saturation vapor pressure by relative humidity percentage to get the current vapor pressure in the air.

4

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.

Example Calculation

Calculate the mixing ratio for air at 25°C with 60% relative humidity at sea level pressure (1013.25 hPa).

Given:
Temperature: T = 25°C
Relative Humidity: RH = 60%
Pressure: P = 1013.25 hPa
Step 1:
Calculate saturation vapor pressure:
eₛ = 6.112 × exp[(17.67 × 25) / (25 + 243.5)]
eₛ = 6.112 × exp[441.75 / 268.5]
eₛ = 6.112 × exp[1.645]
eₛ = 6.112 × 5.182 = 31.67 hPa
Step 2:
Calculate actual vapor pressure:
e = (60 / 100) × 31.67
e = 0.60 × 31.67 = 19.00 hPa
Step 3:
Calculate mixing ratio:
w = 622 × [19.00 / (1013.25 - 19.00)]
w = 622 × [19.00 / 994.25]
w = 622 × 0.0191 = 11.89 g/kg
Result:
The mixing ratio is 11.89 g/kg

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.

Frequently Asked Questions

What is the Magnus-Tetens equation?

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.

Can I use different pressure units?

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.

How does altitude affect the calculation?

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.

What's the difference between this and simple mixing ratio?

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.

Why does mixing ratio differ from specific humidity?

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.

Is this calculation accurate for all conditions?

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.

How is this used in weather forecasting?

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.

Can mixing ratio be used for HVAC calculations?

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