molecalculator

Moles & Molar Mass

Air Density with Humidity: How Water Vapor Changes It

Calculator No. 01-3728 · Updated · Formula and assumptions shown below

Humid-air density 1.199 kg/m³
Water-vapor partial pressure
1.167 kPa
Result, rounded to 3 decimal places
Dry-air density at same temperature and pressure
1.204 kg/m³
= Absolute air pressure×1000×0.02896546÷(8.31446261815324×(Air temperature+273.15))
Air temperature
20 °C
Set in the form below
You enter
Air temperature (°C), Relative humidity (%), Absolute air pressure (kPa)
You get
Humid-air density (kg/m³), Water-vapor partial pressure (kPa), Dry-air density at same temperature and pressure (kg/m³)
Rounding
3 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Humid air is less dense than dry air at the same temperature and pressure because water molecules replace some heavier nitrogen and oxygen molecules. This calculator estimates moist-air density from air temperature, relative humidity, and pressure, using the ideal-gas mixture model; it returns density in kg/m³.

Formula

The calculator treats air as an ideal mixture of dry air and water vapor. Its density is the sum of each gas’s partial pressure multiplied by its molar mass, divided by the universal gas constant and absolute temperature:

ρ = [(p − e)Md + eMv] / (RT)

  • ρ is humid-air density in kg/m³.
  • p is absolute total air pressure in pascals (the entered kPa value multiplied by 1,000).
  • e is water-vapor partial pressure in pascals.
  • Md is dry air’s mean molar mass, 0.02896546 kg/mol.
  • Mv is water’s molar mass, 0.01801528 kg/mol.
  • R is 8.31446261815324 J/(mol·K), and T is temperature in kelvins, calculated as °C + 273.15.

Water-vapor pressure is estimated as e = (RH/100)es, where RH is relative humidity as a percentage and es = 610.94 exp[17.625t/(t + 243.04)] pascals. Here, t is temperature in °C. This is a commonly used saturation-vapor-pressure approximation for ordinary meteorological temperatures; it is not an exact formulation for every temperature or surface condition.

Worked Example

Using the calculator’s defaults—20 °C, 50% relative humidity, and 101.325 kPa absolute pressure:

  1. Convert temperature: T = 20 + 273.15 = 293.15 K.
  2. Estimate saturation vapor pressure: es = 610.94 exp[17.625 × 20 / (20 + 243.04)] ≈ 2,332.6 Pa.
  3. Find water-vapor pressure: e = (50/100) × 2,332.6 ≈ 1,166.3 Pa, or 1.1663 kPa.
  4. Apply the mixture equation: ρ = [(101,325 − 1,166.3) × 0.02896546 + 1,166.3 × 0.01801528] / (8.31446261815324 × 293.15) ≈ 1.196 kg/m³.

The calculator displays 1.196 kg/m³. Its other outputs show the water-vapor partial pressure, 1.166 kPa, and the density of dry air at the same temperature and total pressure, 1.204 kg/m³. Small differences in the last digit can arise from rounding intermediate values in this example.

Assumptions

  • Air and water vapor behave as ideal gases.
  • Relative humidity is between 0% and 100%, and the entered pressure is absolute, not gauge pressure.
  • The saturation-pressure approximation is used over ordinary atmospheric temperature ranges; the calculator does not enforce a temperature limit for that approximation.
  • Dry air is represented by a fixed mean molar mass; trace gases and local composition differences are ignored.

Why Humidity Lowers Air Density

At a fixed temperature and total pressure, a cubic metre of air contains a fixed total number of gas molecules under the ideal-gas model. Adding water vapor does not simply add molecules on top of unchanged air: it displaces part of the dry-air mixture. A water molecule has a molar mass of about 18.015 g/mol, compared with about 28.965 g/mol for dry air. Replacing some dry-air molecules with lighter water molecules therefore lowers the mixture’s average mass per volume.

This comparison depends on what is held constant. If water vapor is added to a sealed, rigid container without allowing other gas to leave, total pressure rises; that is a different comparison from humid and dry air at the same pressure. The calculator uses the same-temperature, same-total-pressure comparison commonly relevant to weather and ventilation.

How to Read the Inputs and Results

Temperature and relative humidity describe the moisture state, while absolute pressure sets the total pressure of the gas mixture. Use local station pressure if available. A weather report corrected to sea-level pressure is not necessarily the pressure at your location, especially at elevation. Do not enter gauge pressure: convert it to absolute pressure by adding the surrounding atmospheric pressure.

The density output is mass per volume. For example, 1.196 kg/m³ means a cubic metre of this estimated air mass weighs about 1.196 kg. The dry-air comparison output uses the same temperature and total pressure but assumes no water vapor; it makes the humidity effect easier to see. The vapor-pressure output is useful for checking how much of the total pressure comes from moisture.

Factors That Change the Result

  • Temperature: At a fixed pressure, warmer air is generally less dense. Temperature also changes the amount of water vapor that air can hold, so it affects the humidity contribution too.
  • Relative humidity: At the same temperature, raising RH raises water-vapor partial pressure and lowers density slightly.
  • Atmospheric pressure: At fixed temperature and water-vapor partial pressure, greater total pressure means greater density. Pressure usually falls with altitude, so high-altitude air is less dense.
  • Measurement uncertainty: Sensors have finite accuracy, and humidity readings can vary with location and time. Density precision should not be interpreted as measurement certainty.

A useful magnitude check: near 20 °C and one atmosphere, moving from dry air to 50% RH changes density by roughly 0.008 kg/m³, or around 0.7%. Temperature and altitude changes can create larger differences than ordinary humidity changes.

Common Misconceptions and Limits

“Humid air feels heavy” is a description of how hot, moist conditions can feel to people, not a statement that humid air is physically denser. At equal temperature and pressure, humid air is less dense. The sensation of mugginess relates to reduced evaporation of sweat and other environmental conditions, rather than greater air density.

The calculation is an estimate, not a high-accuracy equation of state. It omits small real-gas effects, changes in dry-air composition, and detailed saturation-pressure corrections. It also assumes the air is a gas mixture in equilibrium. Near saturation, fog, cloud droplets, or rain add liquid water particles; those are not included in the gas-phase density. For engineering work requiring high precision, use a recognized moist-air property formulation and measured, appropriately calibrated inputs.

Frequently Asked Questions

Is humid air heavier than dry air?
At the same temperature and total pressure, no. Water vapor has a lower molar mass than the average dry-air mixture, so humid air is less dense. Comparing air at different pressures or temperatures can change which sample is denser.

How much does 50% humidity change air density?
It depends on temperature and pressure. Around 20 °C and 101.325 kPa, 50% RH lowers density by about 0.008 kg/m³ compared with dry air at the same conditions, approximately 0.7%.

Does relative humidity alone determine air density?
No. You also need temperature and pressure. Relative humidity is a fraction of the saturation vapor pressure, which changes strongly with temperature; the same RH at different temperatures means different water-vapor pressures.

Should I use sea-level pressure or station pressure?
Use the absolute pressure where the air is being considered. Sea-level pressure is adjusted for comparison between weather stations and may not represent the actual pressure at an elevated site.

Does this calculator include fog or cloud droplets?
No. It estimates the density of the gas phase—dry air plus water vapor. Suspended liquid droplets contribute additional mass and require a separate liquid-water-content measurement to include them.

Related

Formula used
in t | Air temperature | °C | 20 | -273.15
in rh | Relative humidity | % | 50 | 0 | 100
in p | Absolute air pressure | kPa | 101.325 | 0.001
out rho | Humid-air density | kg/m³ | (p*1000-(rh/100)*610.94*exp(17.625*t/(t+243.04)))*0.02896546/(8.31446261815324*(t+273.15))+((rh/100)*610.94*exp(17.625*t/(t+243.04)))*0.01801528/(8.31446261815324*(t+273.15)) | 3
out pv | Water-vapor partial pressure | kPa | (rh/100)*610.94*exp(17.625*t/(t+243.04))/1000 | 3
out rho_d | Dry-air density at same temperature and pressure | kg/m³ | p*1000*0.02896546/(8.31446261815324*(t+273.15)) | 3

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

The whole Moles & Molar Mass section →