Air is light, but not weightless: at sea level on a standard day a cubic metre of it has a mass of 1.225 kg. That figure changes with pressure, temperature and humidity, and the change matters. Aircraft need longer runways on hot days at high-altitude airfields, engines lose power, wind turbines produce less, cyclists and runners go slightly faster, and ballistic and drag calculations all start from the density of the air.
This calculator finds the density of air from the absolute pressure (read from a barometer) or from the altitude using the International Standard Atmosphere, together with the temperature and the relative humidity. It also gives the partial pressure of water vapour, the density as a percentage of the standard sea-level value, the specific volume and the density altitude — the altitude in the standard atmosphere that has the same density, a number pilots use to judge aircraft performance.
Humidity surprises many people: moist air is lighter than dry air, because a water molecule (18 g/mol) weighs less than the nitrogen and oxygen molecules it replaces (about 29 g/mol on average). The effect is small in cold weather but reaches 1–2 % on hot, humid days.
How to use this calculator
- Choose Barometer if you know the actual (station) pressure, or Altitude to use the standard pressure for your elevation.
- Enter the pressure or the altitude, in any unit.
- Enter the air temperature; in altitude mode, use the actual temperature, not the standard one shown in the results.
- Enter the relative humidity (0% for dry air).
- Read the density, the density altitude and the other results; open the steps for the arithmetic.
The formula
Air is treated as a mixture of two ideal gases, dry air and water vapour, with in kelvin:
with J/(kg·K) and J/(kg·K). The vapour pressure is , with the saturation pressure from Buck’s formula ( in °C):
In altitude mode, the pressure comes from the standard atmosphere (valid up to 11 km):
and the density altitude inverts the standard density profile: .
Worked example
Standard day: 101,325 Pa and 15 °C, dry air: kg/m³.
Hot day at sea level: at 30 °C the density drops to 1.1644 kg/m³. With 80% humidity, the vapour pressure is about 3,395 Pa and the density falls further to 1.1497 kg/m³, 1.3% lighter than the same air dry.
High airfield: at 1,500 m the standard pressure is 845.6 hPa. If it is 30 °C there, dry air has a density of 0.9717 kg/m³, a density altitude of about 2,350 m: the aircraft performs as if it were that high.
Standard atmosphere reference values
| Altitude | Pressure | Temperature | Density |
|---|---|---|---|
| 0 m | 1013.25 hPa | 15.0 °C | 1.225 kg/m³ |
| 1,000 m | 898.7 hPa | 8.5 °C | 1.112 kg/m³ |
| 2,000 m | 795.0 hPa | 2.0 °C | 1.007 kg/m³ |
| 3,000 m | 701.1 hPa | −4.5 °C | 0.909 kg/m³ |
| 5,000 m | 540.2 hPa | −17.5 °C | 0.736 kg/m³ |
| 10,000 m | 264.4 hPa | −50.0 °C | 0.413 kg/m³ |
Real days differ from the standard: a warm high-pressure day and a cold stormy day at the same place can differ in density by 10% or more.
Density altitude and performance
Wings, propellers and rotors produce force in proportion to air density, and engines burn fuel in proportion to the mass of air they breathe. A density altitude well above the real altitude — on hot afternoons at mountain airfields — means longer take-off runs, slower climbs and lower engine power. The same reasoning applies to wind turbines, whose output scales directly with density, and to cars, whose naturally aspirated engines lose about 1% of power per 100 m of density altitude.
Frequently asked questions
What is the density of air at sea level?
The International Standard Atmosphere uses 1.225 kg/m³ at 15 °C and 1013.25 hPa. At 20 °C and the same pressure, dry air is about 1.204 kg/m³.
Is humid air heavier or lighter than dry air?
Lighter. Water vapour has a molar mass of 18 g/mol against about 29 g/mol for dry air, so replacing some air molecules with water molecules lowers the density at the same pressure and temperature.
Should I enter the sea-level pressure from a weather report?
No. Weather reports correct pressure to sea level (QNH). For density, you need the actual pressure where you are, which is lower at altitude; use the altitude mode if you only know your elevation.
What is density altitude?
The altitude in the standard atmosphere at which the air would have the density you computed. A high density altitude means thin air and reduced aircraft and engine performance.
How accurate is this calculation?
The ideal-gas mixture model agrees with the reference CIPM-2007 formula for moist air to within about 0.1% in ordinary conditions, more than enough for engineering, aviation and sport. Pressure and temperature measurements usually limit the accuracy.
Sources
- NOAA, NASA, USAF — U.S. Standard Atmosphere, 1976 (identical to the ICAO standard atmosphere below 32 km)
- Buck (1981), New equations for computing vapor pressure and enhancement factor, J. Appl. Meteor. 20, 1527–1532
- Picard et al. (2008), Revised formula for the density of moist air (CIPM-2007), Metrologia 45, 149–155
Last updated: