Air Density Calculator
- Saturation vapour pressure at 20 °C is 23.38 hPa (Magnus formula); at 50% humidity the vapour contributes 11.69 hPa, leaving 1,001.31 hPa of dry air.
- Density = (dry-air term + vapour term) / (R x T) = 1.199 kg/m3 - water vapour is lighter than the air it displaces, so humid air is less dense than dry air at the same pressure.
- Perfectly dry air at this pressure and temperature would be 1.204 kg/m3; the moisture has thinned the air by 0.4%.
- Density feeds density-altitude for pilots, ballistics, HVAC fan laws and engine tuning - anywhere the machine breathes air, the mass per cubic metre is what matters.
This air density calculator gives you the density of moist air from four inputs: pressure, temperature, relative humidity and the vapour pressure relationship. It combines the dry air and water vapour partial pressures, with vapour pressure following the Magnus formula over water. The result is a single density figure in kg/m3, plus the dew point for the same conditions. For example, at 1013 hPa, 20 °C and 50% humidity, the calculator returns 1.199 kg/m3 — slightly less than the 1.204 kg/m3 of dry air at the same conditions — with a dew point of 9.3 °C. Two more cases show how far the answer can move: cold mountain air at 850 hPa, 5 °C and 80% humidity falls to 1.061 kg/m3 with a dew point of 1.8 °C, while hot dry air at 1000 hPa, 35 °C and 30% humidity gives 1.123 kg/m3 and a dew point of 14.8 °C.
The method behind the calculator is the accepted standard for this kind of calculation because it treats moist air as a mixture of dry air and water vapour and accounts for each component's partial pressure. That matters because humid air is less dense than dry air at the same pressure and temperature: water molecules are lighter than the nitrogen and oxygen they displace, so ignoring humidity would overstate density. On this page you will find the full formula, step-by-step workings, worked examples for the cases above, and the sources behind the method, so you can check every number rather than take the result on trust.
Worked examples
Sea level, 20 °C, half-saturated
Air density = 1.199 kg/m3. Dry-air density at same P and T: 1.204 kg/m3; Dew point: 9.3 °C; Water vapour content: 8.6 g/m3. (1013 hPa · 20 °C · 50 %)
| Air density | 1.199 kg/m3 |
| Dry-air density at same P and T | 1.204 kg/m3 |
| Dew point | 9.3 °C |
| Water vapour content | 8.6 g/m3 |
Mountain air at 850 hPa, cold and damp
Air density = 1.061 kg/m3. Dry-air density at same P and T: 1.065 kg/m3; Dew point: 1.8 °C; Water vapour content: 5.4 g/m3. (850 hPa · 5 °C · 80 %)
| Air density | 1.061 kg/m3 |
| Dry-air density at same P and T | 1.065 kg/m3 |
| Dew point | 1.8 °C |
| Water vapour content | 5.4 g/m3 |
Hot dry day, 35 °C
Air density = 1.123 kg/m3. Dry-air density at same P and T: 1.131 kg/m3; Dew point: 14.8 °C; Water vapour content: 11.9 g/m3. (1000 hPa · 35 °C · 30 %)
| Air density | 1.123 kg/m3 |
| Dry-air density at same P and T | 1.131 kg/m3 |
| Dew point | 14.8 °C |
| Water vapour content | 11.9 g/m3 |
How air density is calculated
To see how an air density calculator works, walk through the sea-level case: 1013 hPa, 20 °C and 50% humidity, which gives 1.199 kg/m3. The calculation treats moist air as a mixture of two gases — dry air and water vapour — and handles each with its own partial pressure. The first job is to find how much of the total pressure belongs to vapour, because only the dry-air part follows the standard dry-air gas constant.
Vapour pressure comes from the Magnus formula, which relates saturation vapour pressure over water to temperature. At 20 °C that saturation value is multiplied by the relative humidity of 50% to give the actual vapour pressure. Subtracting it from the total of 1013 hPa leaves the dry-air partial pressure. Each part is then converted to a density with the ideal gas law, using the gas constant for dry air on one side and the gas constant for water vapour on the other. The two densities are added, and the result is 1.199 kg/m3.
That number is slightly less than the 1.204 kg/m3 of dry air at the same conditions. The reason is that humid air is less dense than dry air at the same pressure and temperature: water molecules are lighter than the nitrogen and oxygen they displace. The same conditions also give a dew point of 9.3 °C, the temperature to which the air would have to cool to reach saturation at its current moisture content.
The method scales to other inputs. Cold mountain air at 850 hPa, 5 °C and 80% humidity falls to 1.061 kg/m3, with a dew point of 1.8 °C. Hot dry air at 1000 hPa, 35 °C and 30% humidity gives 1.123 kg/m3 and a dew point of 14.8 °C. In every case the steps are the same: split the pressure into dry and vapour parts, apply the ideal gas law to each, and add the results.
- Find the vapour partial pressure from the Magnus saturation pressure at the air temperature, scaled by relative humidity.
- Subtract it from total pressure to get the dry-air partial pressure.
- Apply the ideal gas law to the dry-air part and to the vapour part separately.
- Add the two densities to get the moist-air density.
Why humidity makes air lighter
Most people assume that a muggy day means heavier air, as if the moisture were weighing it down. The opposite is true. Humid air is less dense than dry air at the same pressure and temperature, because water molecules are lighter than the nitrogen and oxygen they displace. An air density calculator that ignores humidity will therefore run slightly high on sticky summer days, and the gap grows as the air gets warmer and wetter.
The numbers are modest but real. At 1013 hPa, 20 °C and 50% humidity, air density is 1.199 kg/m3, slightly less than the 1.204 kg/m3 of dry air at the same conditions, with a dew point of 9.3 °C. So going from bone-dry to half-saturated air at room temperature and sea-level pressure trims only about 0.005 kg/m3 off the total. That is roughly four-tenths of a percent, small enough to ignore in casual use but worth keeping when you are comparing runs of a calculation or checking a meter reading against a reference value.
The reason comes down to what the water vapour is replacing. Moist air density combines dry air and water vapour partial pressures, and the vapour pressure follows the Magnus formula over water. Each water molecule that joins the mix takes the place of a nitrogen or oxygen molecule, and a water molecule is lighter than either. So as humidity climbs, you are swapping heavier molecules for lighter ones at the same pressure, and the total density falls. The air density calculator handles this by splitting the pressure into its dry and vapour parts and weighting each by its own molecular mass.
Temperature and altitude can swamp the humidity effect, but the same direction holds. At 850 hPa, 5 °C and 80% humidity, cold mountain air comes in at 1.061 kg/m3 with a dew point of 1.8 °C. Hot dry air at 1000 hPa, 35 °C and 30% humidity gives 1.123 kg/m3 and a dew point of 14.8 °C. Notice how far the hot, dry case sits from the cool, damp one: the pressure and temperature differences do most of the work, and humidity fine-tunes the result. Still, for any fixed pressure and temperature, wetter always means lighter, and the correction is easy to apply once you know to look for it.
- At 1013 hPa and 20 °C: 1.204 kg/m3 dry versus 1.199 kg/m3 at 50% humidity (dew point 9.3 °C).
- At 850 hPa and 5 °C with 80% humidity: 1.061 kg/m3 (dew point 1.8 °C).
- At 1000 hPa and 35 °C with 30% humidity: 1.123 kg/m3 (dew point 14.8 °C).
Altitude and weather effects
Altitude is the single biggest lever on air density, and the numbers show why. At sea-level pressure of 1013 hPa and 20 °C, dry air sits at 1.204 kg/m3, and adding 50% humidity only nudges it down to 1.199 kg/m3. Climb to a mountain where the pressure is 850 hPa and the air is 5 °C at 80% humidity, and density falls to 1.061 kg/m3. That is roughly a 12% drop from the sea-level figure. Every kilogram of air in a given volume is gone, and everything that depends on air mass feels it. Run the same conditions through an air density calculator and you get the same result, which is the point: the tool turns pressure, temperature and humidity readings into a single number you can act on.
Pressure systems matter as much as elevation. A low-pressure day removes air mass from the column above you, and a high-pressure day adds it, so the same airfield can hand you different density on consecutive days. Temperature works the same way: hot dry air at 1000 hPa, 35 °C and 30% humidity comes out at 1.123 kg/m3, well below the standard sea-level value despite the pressure being only slightly lower. Humidity adds a smaller but real effect. Humid air is less dense than dry air at the same pressure and temperature, because water molecules are lighter than the nitrogen and oxygen they displace. In the sea-level example, the dew point of 9.3 °C marks how much vapour is present; in the cold mountain case the dew point is 1.8 °C, and in the hot dry case it is 14.8 °C.
For engines, thinner air means less oxygen per intake stroke, so naturally aspirated power falls off with density. A turbocharged or supercharged engine can partly compensate by compressing the charge, but it still works against a lower starting pressure, and the 850 hPa example shows how much is missing. Ballistics follow the same logic: a bullet flying through less dense air meets less drag, so it retains velocity longer and drops less over distance, which is why long-range shooters track density alongside wind. Aircraft performance is where the effect is most formalized, under the name density altitude. It is the altitude the aircraft performs as if it were at, given the current pressure, temperature and humidity, and it can be far above the actual field elevation on a hot, humid, low-pressure day.
The practical lesson is to treat pressure, temperature and humidity as one combined input rather than three separate notes. A cold, high mountain and a hot, low desert can produce similar densities from very different readings, and the consequences for takeoff distance, engine output or a long shot are the same. Check the local pressure and temperature, account for humidity when it is high, and let the density figure drive your planning.
Dew point and vapour content
Dew point and vapour content are the two numbers that turn an air density calculator from a density-only tool into something you can actually read conditions with. Density tells you how heavy the air is; dew point tells you how close that air is to releasing its moisture, and vapour content tells you how much water is riding along in it. The calculator reports both alongside the density, so each result comes with a comfort and condensation readout.
At sea level (1013 hPa, 20 °C, 50% humidity) the air comes out at 1.199 kg/m3, slightly less than the 1.204 kg/m3 of dry air at the same conditions. The dew point there is 9.3 °C, and the vapour content is 8.6 g/m3. That dew point is the temperature at which the air would become saturated if it cooled at constant pressure and moisture — the point where condensation begins on cold surfaces. A 9.3 °C dew point against a 20 °C air temperature leaves a comfortable margin, which is why this combination feels unremarkable rather than muggy.
The hot dry case shows how differently the same readouts behave. At 1000 hPa, 35 °C and 30% humidity, density is 1.123 kg/m3, but the dew point is 14.8 °C and the vapour content is 11.9 g/m3. Even though the relative humidity is low, the warm air holds more water in absolute terms than the mild sea-level example, and its dew point sits much higher. That higher dew point is the number to watch: surfaces cooled below 14.8 °C — a chilled glass, a shaded floor, an evening breeze — will start to collect moisture.
Vapour content and dew point move together, but they answer different questions. Vapour content in grams per cubic meter is an absolute measure of how much water the air is carrying. Dew point is the practical threshold for condensation. Reading them side by side tells you whether a space will feel sticky, whether windows will fog, and how much cooling the air can take before water appears. The air density calculator reports both so you don't have to derive them separately.
The reason these numbers matter for density is that moisture changes the mixture itself. Moist air density combines dry air and water vapour partial pressures, with vapour pressure following the Magnus formula over water. Because water molecules are lighter than the nitrogen and oxygen they displace, humid air is less dense than dry air at the same pressure and temperature. That is exactly why the sea-level example lands at 1.199 kg/m3 instead of the dry-air 1.204 kg/m3 — the water vapour present is doing the lightening.
- Sea level, 1013 hPa, 20 °C, 50% humidity: density 1.199 kg/m3, dew point 9.3 °C, vapour content 8.6 g/m3.
- Hot dry, 1000 hPa, 35 °C, 30% humidity: density 1.123 kg/m3, dew point 14.8 °C, vapour content 11.9 g/m3.
- Cold mountain, 850 hPa, 5 °C, 80% humidity: density 1.061 kg/m3, dew point 1.8 °C.
FAQs
What is the density of air at sea level?
It depends on temperature, pressure and humidity. At 1013 hPa, 20 °C and 50% humidity, air density is 1.199 kg/m3. Completely dry air under the same conditions would be 1.204 kg/m3. So the water vapor in ordinary humid air makes it slightly lighter than dry air at the same pressure and temperature.
Does humidity increase air density?
No. Humid air is less dense than dry air. In the sea-level example, moist air at 50% humidity has a density of 1.199 kg/m3, while completely dry air at the same pressure and temperature is 1.204 kg/m3. Water vapor molecules are lighter than the nitrogen and oxygen molecules they displace, so adding vapor lowers the overall density.
How does altitude change air density?
Density falls as pressure drops with height. In the mountain example, at 850 hPa the air density falls to 1.061 kg/m3, well below the 1.199 kg/m3 of the sea-level case. Because pressure decreases with altitude, higher ground means thinner air, which affects everything from aircraft performance to how much oxygen you breathe.
What is the dew point in the hot example?
In the hot example, at 35 °C and 30% humidity, the dew point is 14.8 °C, and the air density is 1.123 kg/m3. The dew point is the temperature to which the air must cool for its water vapor to start condensing. A dew point far below the air temperature means the air is relatively dry.
Why do pilots care about air density?
Lift and engine power follow air density. Thinner air gives less lift and less power, so runways and climb rates must be planned around it. The 1.061 kg/m3 mountain air behaves like a much higher altitude on a warm day, which is why density altitude matters so much for takeoff and landing safety.
What formula gives vapour pressure?
The Magnus formula over water gives the saturation vapour pressure, which is used here to split the total pressure into dry-air and vapour parts. That split lets the calculator combine the dry-air and water-vapour contributions correctly, so humidity is handled properly rather than ignored, and the resulting density reflects the actual moisture in the air.