Air Density Calculator
Calculate the density of moist air from temperature, pressure (or altitude) and relative humidity. Results in kg/m³ and lb/ft³ with the vapor pressure and the density ratio.
How it works
Air density falls as air gets warmer, as pressure drops with altitude, and a little as it gets more humid, because water vapor is lighter than the nitrogen and oxygen it replaces. It sets the lift and drag on a vehicle, the power of an engine or fan, and the flow through an orifice.
ρ = Pd ÷ (Rd T) + Pv ÷ (Rv T)
Pd = P − Pv
Pv = RH × Psat(T)
| Symbol | Meaning | Unit |
|---|---|---|
| ρ | Density of the moist air | kg/m³ |
| P | Total (absolute) pressure | Pa |
| P_v, P_d | Partial pressure of water vapor and of dry air | Pa |
| R_d, R_v | Gas constants of dry air (287.058) and water vapor (461.495) | J/(kg·K) |
| T | Absolute temperature | K |
| RH | Relative humidity (0 to 1) | – |
The saturation vapor pressure uses the Arden Buck equation, accurate to about 0.05 percent between −40 and 50 °C. With the altitude option the pressure comes from the International Standard Atmosphere, P = 101,325 (1 − 2.25577 × 10⁻⁵ h)5.25588, valid up to 11 km; real pressure varies with the weather by about ±3 percent, so use a barometer reading if you have one. Standard sea-level density is 1.225 kg/m³ (15 °C, dry).
Related: HVAC and Psychrometrics guide, Psychrometric Calculator, Dew Point Calculator.
Worked example
Air at 20 °C, 101.325 kPa and 50 percent humidity: the saturation pressure is 2,338 Pa, so the vapor pressure is 1,169 Pa. The density is 1.1988 kg/m³, against 1.2041 kg/m³ for the same air dry: the humid air is 0.44 percent lighter.
At 2,000 m altitude on a 30 °C day the pressure is about 79.5 kPa and the dry-air density only 0.914 kg/m³, roughly three quarters of the sea-level value, which is why engines and propellers lose power at altitude.
Things to know
Humidity matters less than most people expect: moist air at 30 °C and 100 percent humidity is only about 1.7 percent lighter than dry air at the same temperature and pressure.
Use absolute pressure, not the gauge pressure of a tire or tank. Weather-station pressures are often corrected to sea level; use the station pressure or the altitude option.
The tool is for air at ordinary conditions. For exhaust gas, compressed air above a few bar or very cold air use the ideal gas law with the real composition and compressibility.
Another worked example: a hot day at high elevation
At about 1 600 m (5 280 ft) the standard pressure is close to 83.4 kPa. Take a 35 °C afternoon with 20 percent relative humidity. The saturation pressure at 35 °C is 5,627 Pa, so the vapor pressure is 0.20 × 5,627 = 1,125 Pa and the dry-air pressure is 83 400 − 1,125 = 82,275 Pa.
ρ = 82,275 ÷ (287.058 × 308.15) + 1,125 ÷ (461.495 × 308.15) = 0.9301 + 0.0079 = 0.938 kg/m³. That is 77 percent of the standard sea-level value of 1.225 kg/m³, so a naturally aspirated engine, a fan or a wing has roughly a quarter less air to work with.
Density of dry air at sea-level pressure
At 101.325 kPa, with each value compared with the standard atmosphere figure of 1.225 kg/m³ at 15 °C.
| Temperature | Density | Density (US) | Relative to standard |
|---|---|---|---|
| -20 °C (-4 °F) | 1.394 kg/m³ | 0.0870 lb/ft³ | 113.8 % |
| 0 °C (32 °F) | 1.292 kg/m³ | 0.0807 lb/ft³ | 105.5 % |
| 15 °C (59 °F) | 1.225 kg/m³ | 0.0765 lb/ft³ | 100.0 % |
| 20 °C (68 °F) | 1.204 kg/m³ | 0.0752 lb/ft³ | 98.3 % |
| 30 °C (86 °F) | 1.164 kg/m³ | 0.0727 lb/ft³ | 95.1 % |
| 40 °C (104 °F) | 1.127 kg/m³ | 0.0704 lb/ft³ | 92.0 % |
At constant pressure, density changes by about 1 percent for every 3 °C. Two “standard” values are in common use: 1.225 kg/m³ (15 °C, aviation and the standard atmosphere) and 1.204 kg/m³ (20 °C, ventilation and fan ratings, 0.075 lb/ft³).
Common mistakes
- Using °C in the gas law. The temperature must be absolute: add 273.15 to get kelvin.
- Using gauge pressure. Add atmospheric pressure to a gauge reading before using it.
- Using the weather-report pressure at altitude. Reported barometric pressure is corrected to sea level. At elevation the actual (station) pressure is much lower.
- Expecting humid air to be heavier. Water vapor (18 g/mol) is lighter than dry air (29 g/mol), so humid air is slightly less dense.
Common questions
What is the density of air?
About 1.204 kg/m³ at 20 °C and 101.325 kPa (0.0752 lb/ft³), and 1.225 kg/m³ at 15 °C (the standard atmosphere).
How does temperature affect air density?
Density is inversely proportional to the absolute temperature at constant pressure: air at 40 °C is about 7 percent lighter than at 20 °C.
How do you calculate air density at altitude?
Find the pressure at the altitude (about 79.5 kPa at 2,000 m, 54 kPa at 5,000 m) and use ρ = P ÷ (R T). The calculator does this with the altitude option.
Is humid air less dense than dry air?
Yes. A water molecule (18 g/mol) is lighter than the average air molecule (29 g/mol), so humid air is slightly lighter.
What is density altitude?
The altitude in the standard atmosphere at which the air would have the density you actually have. On a hot day the density altitude is higher than the true elevation, and aircraft and engines perform as if they were at that higher altitude.
Why are there two standard air densities?
They belong to different standard temperatures. The International Standard Atmosphere uses 15 °C at sea level, giving 1.225 kg/m³. Fan and ventilation standards use 20 °C, giving about 1.204 kg/m³ (0.075 lb/ft³). Check which one a datasheet assumes.
How much does air density change with altitude?
It falls by roughly 1 percent for every 100 m in the lower atmosphere (about 3 percent per 1 000 ft). At 1 500 m it is about 86 percent of the sea-level value and at 3 000 m about 74 percent, in the standard atmosphere.
Sources
- Buck, A. L., New equations for computing vapor pressure and enhancement factor, Journal of Applied Meteorology 20, 1981.
- ICAO Standard Atmosphere (Doc 7488): pressure and density by altitude.
Last reviewed: November 10, 2026
