Skip to content
Omnikalc

Mixing ratio calculator: water vapor in air from temperature and humidity

Enter the air temperature, the relative humidity and the pressure to get the mixing ratio in g/kg and grains per pound, the specific humidity, the dew point and the vapor pressure.

Updated on
Your inputs
°F

Value out of range

%

Value out of range

Value out of range

Results

Mixing ratio

9.21 g/kg

Mixing ratio in grains per pound

64.5 gr/lb

Specific humidity
9.13 g/kg
Dew point
55.1 °F
Vapor pressure
14.78 hPa

Meteorologists, HVAC engineers and drying specialists often need the actual amount of water in the air, not the relative humidity. The mixing ratio gives it as a mass of water vapor per mass of dry air. This mixing ratio calculator takes the air temperature, the relative humidity and the pressure to give the mixing ratio in g/kg and grains per pound, the specific humidity, the dew point and the vapor pressure.

How the calculation works

  • Saturation vapor pressure (Magnus formula) = 6.112 × exp(17.62 × T ÷ (243.12 + T)) in hPa, with T in °C. The calculator converts your °F value first.
  • Vapor pressure = relative humidity × saturation vapor pressure.
  • Mixing ratio w = 0.622 × vapor pressure ÷ (pressure − vapor pressure). It is multiplied by 1,000 to give g/kg and by 7,000 to give grains per pound.
  • Specific humidity = w ÷ (1 + w), and the dew point is found by inverting the Magnus formula.

Example

Air at 75 °F and 50% relative humidity at 29.92 inHg (1,013.2 hPa) has a saturation vapor pressure of 29.57 hPa and a vapor pressure of 14.78 hPa. The mixing ratio is 0.622 × 14.78 ÷ (1,013.2 − 14.78) = 9.21 g/kg, which is 64.5 grains per pound of dry air. The specific humidity is 9.13 g/kg and the dew point is 55.1 °F.

Why it matters

The mixing ratio is the working unit for psychrometric charts, dehumidification and weather forecasting. It lets you compute how much water a dehumidifier must remove, compare two air masses at different temperatures and follow a parcel of air as it rises. In the water-restoration trade, the grains per pound figure is used to set drying goals.

Good to know

The calculation uses the Magnus approximation, which is accurate to a fraction of a percent between about −40 and 50 °C. It treats the vapor pressure as unaffected by the total pressure, which is a very good approximation for ordinary air. Use the station pressure, not the sea-level pressure given in weather reports, for a place that is high above the sea. At 100% relative humidity the mixing ratio is the saturation mixing ratio, and the dew point equals the air temperature.

The absolute humidity calculator gives grams of water per cubic metre, the dew point calculator focuses on the condensation temperature and the vapor pressure deficit calculator is used for plant growing.

Frequently asked questions

What is the mixing ratio?

It is the mass of water vapor in the air divided by the mass of the dry air that holds it. It is written in grams of vapor per kilogram of dry air, or in grains of vapor per pound of dry air in the United States.

How is it different from relative humidity?

Relative humidity depends on temperature: warm air can hold more vapor. The mixing ratio counts the actual amount of water and stays the same when air is heated or cooled without gaining or losing moisture, as long as the pressure does not change much.

How is it different from absolute humidity?

Absolute humidity is the mass of vapor per cubic metre of air, which changes when the air expands or is compressed. The mixing ratio is per mass of dry air, so it is not affected by the volume.

What are typical values?

Cold winter air can be below 1 g/kg. A comfortable indoor air is about 7 to 9 g/kg (50 to 63 grains per pound). Hot humid air in the tropics is often 18 to 22 g/kg.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.