Mixing Ratio of Air Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Find how much water vapor the air holds per kilogram of dry air, and how much it could hold at saturation.
Result
Mixing ratio (g/kg)
Vapor pressure e (hPa)
- Saturation vapor pressure (hPa)
- Saturation mixing ratio (g/kg)
- Relative humidity, w ÷ ws (%)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Air temperature: enter a number.
- Dew point: enter a number.
- Temperature unit: choose °F or °C.
- Station pressure (hPa or mb): enter 0 or more.
- Read the result: Mixing ratio (g/kg); the panel also shows Vapor pressure e (hPa), Saturation vapor pressure (hPa), Saturation mixing ratio (g/kg) and Relative humidity, w ÷ ws (%).
How this calculator works
National Weather Service formulas (weather.gov/media/epz/wxcalc/mixingRatio.pdf and vaporPressure.pdf, read October 27, 2026): vapor pressure e = 6.11 × 10^(7.5 × T_d ÷ (237.3 + T_d)) hPa from the dew point in °C, and the saturation value e_s from the air temperature the same way.
Mixing ratio w = 621.97 × e ÷ (P − e) grams per kilogram of dry air, with P the station pressure in hPa; the saturation mixing ratio w_s uses e_s. Relative humidity ≈ w ÷ w_s × 100. °C = (°F − 32) ÷ 1.8.
Worked example
| Air temperature | 77 |
|---|---|
| Dew point | 59 |
| Temperature unit | °F |
| Station pressure (hPa or mb) | 1,013.25 |
| Vapor pressure e (hPa) | 17.0584 |
|---|---|
| Saturation vapor pressure (hPa) | 31.6863 |
| Mixing ratio (g/kg) | 10.6504 |
| Saturation mixing ratio (g/kg) | 20.0781 |
| Relative humidity, w ÷ ws (%) | 53.04% |
Frequently asked questions
What is the difference between mixing ratio and specific humidity?
Mixing ratio is vapor mass per mass of dry air; specific humidity is vapor mass per mass of moist air. They are nearly equal in practice.
Why use station pressure and not sea-level pressure?
The mixing ratio depends on the actual pressure where the air is, which is lower at altitude.