Advertisement
Advertisement
PHYSICS

Air Density Calculator — moist air, from temperature, pressure and humidity

Enter the air temperature, the station pressure and the relative humidity to get the density of the actual moist air, with the dry-air figure shown alongside so you can see how much the water vapour changed it.

Dry-bulb temperature. Density falls by roughly 0.35 % for every degree Celsius of warming at fixed pressure.
The absolute pressure where you are, not the sea-level altimeter setting. 1013.25 hPa is the standard sea-level value.
Humid air is lighter than dry air at the same temperature and pressure. Set this to 0 for the dry-air case.
Typing here does nothing on its own. Press Apply ISA at altitude to overwrite the temperature and pressure boxes with the International Standard Atmosphere values for this height.
Moist air density
 
 
0
Dry air density (kg/m³)
0
Humidity effect
0
Density ratio σ vs ISA
0
Specific volume (m³/kg)
Tip: humid air is lighter, not heavier. A water molecule weighs 18 units against the 29 of average dry air, so every molecule of vapour that joins the mixture displaces something heavier.
Advertisement

The air density calculator above treats air as what it actually is: a mixture of dry gases and water vapour, each contributing its own partial pressure and its own gas constant. That matters because the shortcut most calculators take — divide pressure by 287 times absolute temperature and stop — quietly assumes the air is bone dry, and on a warm humid day that assumption is worth about one per cent of the answer. One per cent of air density is one per cent of every lift, drag and engine-power figure downstream of it.

Arb Digital builds free tools that show the working rather than hiding it, so this page reports the dry-air result next to the moist-air result and tells you the size of the gap. It also implements the International Standard Atmosphere properly, with the layer boundaries named, rather than pretending a single sea-level formula holds all the way up. The boundary with our other tools is simple: the density converter rescales a density you already have into different units, while this page derives a density that was never an input.

What This Air Density Calculator Does

You give it a temperature, an absolute pressure and a relative humidity. It splits the total pressure into a dry-air partial pressure and a water-vapour partial pressure, applies the ideal gas law separately to each with its own specific gas constant, and adds the two densities together. The headline number is the density of the mixture in kilograms per cubic metre.

The supporting grid gives four things the headline cannot. The dry-air figure is what the same temperature and pressure would give with no water vapour at all, so the pair of numbers brackets the humidity effect. The humidity effect itself is reported as a percentage change, which is the quantity worth remembering — it tells you when the moist calculation is worth doing and when it is noise. The density ratio σ is the density divided by the standard sea-level value of 1.225 kg/m³, which is the form aerodynamics and engine tuning normally use. The specific volume is the reciprocal, the cubic metres one kilogram of this air occupies, which is what ventilation and combustion calculations usually want.

The subtitle under the headline reports the density altitude implied by the result — the height at which the standard atmosphere has this same density. It is shown for orientation only. If that is the number you came for, the dedicated density altitude calculator handles it with the aviation conventions attached.

How to Use It

  1. Enter station pressure, not the altimeter setting. This is the most common input error by a wide margin. Aviation and weather reports usually quote pressure reduced to sea level; the calculation needs the actual pressure at your elevation, which is lower.
  2. Enter the dry-bulb temperature. An ordinary thermometer reading in the shade, in degrees Celsius.
  3. Enter the relative humidity. If you do not know it, leave it at 50 % for a rough answer or set it to 0 to get the dry-air value explicitly.
  4. Use the ISA preset when you have only an altitude. Type a height in metres and press Apply ISA at altitude. That overwrites the temperature and pressure boxes with the standard-atmosphere values for that height, which is the right starting point when no measurement is available.
  5. Read the humidity effect before deciding whether it mattered. Below about 10 °C it stays under half a per cent even at full saturation and is usually ignorable. Above 30 °C at high humidity it passes one per cent and stops being ignorable.

The Formula: How Air Density Is Calculated

Dalton's law says the total pressure is the sum of the partial pressures, and each component obeys the ideal gas law independently. So the density of moist air is ρ = pd ÷ (RdT) + pv ÷ (RvT), where pd is the dry-air partial pressure in pascals, pv is the water-vapour partial pressure, T is absolute temperature in kelvin, Rd is 287.058 J kg⁻¹ K⁻¹ for dry air and Rv is 461.495 J kg⁻¹ K⁻¹ for water vapour. Both specific gas constants come from dividing the CODATA molar gas constant published by NIST by the respective molar masses.

The vapour partial pressure comes from the Buck equation for saturation vapour pressure, es = 6.1121 × exp((18.678 − T ÷ 234.5) × (T ÷ (257.14 + T))) in hectopascals with T in Celsius, multiplied by the relative humidity as a fraction. Subtracting it from the total pressure gives the dry-air partial pressure.

Work through the defaults. At 20 °C and 1013.25 hPa with the humidity set to zero, the density is 101325 ÷ (287.058 × 293.15) = 1.2041 kg/m³. Now add 50 % relative humidity. The Buck equation gives a saturation vapour pressure of 23.38 hPa, so the vapour partial pressure is 11.69 hPa and the dry-air partial pressure is 1001.56 hPa. The two terms are 1.19019 and 0.00864, summing to 1.1988 kg/m³. Water vapour has taken 0.44 % off the density.

Advertisement

Which Standard Atmosphere the ISA Preset Uses, and Where It Stops

The Apply ISA at altitude button implements the troposphere and lower-stratosphere layers of the International Standard Atmosphere, which is numerically identical to the US Standard Atmosphere 1976 over the range this tool covers. Below 11,000 m the model takes a sea-level temperature of 15 °C and a lapse rate of 6.5 °C per kilometre, giving T = 288.15 − 0.0065h in kelvin and p = 1013.25 × (1 − 2.25577×10⁻⁵h)5.25588 in hectopascals. Between 11,000 m and 20,000 m the temperature is constant at −56.5 °C and the pressure decays exponentially instead, p = 226.32 × exp(−(h − 11000) ÷ 6341.62). NASA Glenn Research Center's Earth Atmosphere Model in metric units sets out the same three-zone structure with the same layer boundaries.

Two limits are worth stating plainly. The preset refuses to extrapolate above 20,000 m, because the next layer has a positive lapse rate and a different functional form and silently running the troposphere equation up there produces nonsense. And the standard atmosphere is a reference, not a forecast. It describes a fictional average day; a real cold morning at 2,000 m can be twenty degrees off the ISA value, and the density difference that produces is far larger than anything humidity does. Whenever you have a measured temperature and a measured station pressure, use them and ignore the preset entirely.

Why Humid Air Is Lighter, Not Heavier

Almost everyone's intuition gets this backwards, because humid air feels heavy. The physics says the opposite, and the reasoning is short. At a fixed temperature and pressure, a given volume of gas contains a fixed number of molecules regardless of what those molecules are — that is Avogadro's law. Water has a molar mass of about 18 g/mol. Dry air averages about 29 g/mol, being mostly nitrogen at 28 and oxygen at 32. So every water molecule that enters the mixture displaces a heavier molecule, and the total mass in that volume falls.

The effect is small at ordinary temperatures because saturation vapour pressure is small: at 10 °C, fully saturated air is only about 0.46 % lighter than dry air. But saturation vapour pressure climbs steeply with temperature, and at 35 °C saturated air is about 2.1 % lighter. That is why the humidity correction is a rounding error in temperate weather and a genuine performance factor in the tropics, and why aircraft performance charts start caring about it in exactly those conditions.

Temperature Does the Heavy Lifting

If you only remember one sensitivity, make it this one: density is inversely proportional to absolute temperature, so around room temperature it changes by roughly one part in 293 per degree Celsius, or about 0.34 % per degree. A thirty-degree swing from a cold winter morning to a hot summer afternoon changes air density by more than ten per cent, all by itself.

Pressure is the other lever and it is linear: halve the pressure, halve the density. The two combine in the way that catches people out on mountain airfields and mountain roads. At 2,000 m the standard pressure is about 795 hPa, which is 21 % below sea level, and if the day is also 15 degrees warmer than standard you lose another five per cent on top. Naturally aspirated engines lose power roughly in proportion to that density, wings need proportionally more speed to generate the same lift, and propellers bite less. None of that is visible in an altimeter reading, which is why density rather than altitude is the quantity that actually matters.

Where This Sits Next to Our Other Density and Pressure Tools

The site has several adjacent pages and the boundaries are worth stating in one line each. The density calculator solves the general definition, density equals mass over volume, for any substance you can weigh; it does not know anything about gas laws. The density converter rescales a density between kg/m³, g/cm³, lb/ft³ and the rest. The air pressure at altitude calculator gives the pressure this page takes as an input, so run that one first if all you have is a height. The absolute humidity calculator answers a different question about the same air: how much water is in it, rather than what the mixture weighs.

For pressure in the wrong units, the pressure converter handles hectopascals, inches of mercury, psi and bar before the number reaches this page. The full set is indexed on the free online tools hub.

Need a website that loads fast and actually works?

Arb Digital builds free tools like this one because useful pages earn attention. If you want tools, calculators or content built for your own audience, we can help.

Browse All Free Tools Talk to Arb Digital

Common Mistakes to Avoid

  • Entering the sea-level altimeter setting instead of station pressure — at 1,500 m that mistake overstates density by close to 17 %, which dwarfs every other error on the page.
  • Assuming humid air is heavier — it is lighter, because water molecules are lighter than the nitrogen and oxygen they displace at fixed pressure and temperature.
  • Running the troposphere formula above 11,000 m — the lapse rate goes to zero there and the pressure equation changes form. This tool switches models at the boundary and stops at 20,000 m.
  • Treating the standard atmosphere as today's weather — ISA is a reference for comparing designs, not a description of any actual day. Measured values always win.
  • Using density where density ratio was wanted — aerodynamic and engine charts usually want σ, the density divided by 1.225 kg/m³. The grid reports both so there is no ambiguity.

Related Free Tools From Arb Digital

Get the pressure input first with the air pressure at altitude calculator, then bring the moisture in with the absolute humidity calculator. For the aviation restatement of the result, use the density altitude calculator. The density calculator covers solids and liquids by the mass-over-volume definition, the density converter rescales units, and the pressure converter sorts out hectopascals against inches of mercury. Everything is listed on the free online tools hub.

Frequently Asked Questions

What is the density of air at sea level?

The International Standard Atmosphere value is 1.225 kilograms per cubic metre, defined at 15 degrees Celsius, 1013.25 hectopascals and zero humidity. Real air at sea level varies from roughly 1.15 to 1.30 kilograms per cubic metre across ordinary weather, driven mostly by temperature.

Is humid air heavier or lighter than dry air?

Lighter. At the same temperature and pressure a fixed volume holds a fixed number of molecules, and a water molecule at 18 grams per mole is lighter than the 29 grams per mole average of dry air. Fully saturated air at 35 degrees Celsius is about 2.1 per cent lighter than dry air at the same conditions.

Which standard atmosphere model does the altitude preset use?

The International Standard Atmosphere, which matches the US Standard Atmosphere 1976 over the range covered here. It uses a 6.5 degree per kilometre lapse rate below 11,000 metres and a constant minus 56.5 degrees Celsius from 11,000 to 20,000 metres. The preset refuses to run above 20,000 metres.

Should I enter station pressure or sea-level pressure?

Station pressure, meaning the actual absolute pressure where you are. Weather reports and altimeter settings usually give pressure corrected to sea level, which is higher than the real pressure at any elevation above sea level and will overstate the density.

How much does air density change with temperature?

Density is inversely proportional to absolute temperature, so near room temperature it changes about 0.34 per cent for every degree Celsius. A thirty degree seasonal swing moves air density by more than ten per cent at constant pressure.

What is the density ratio sigma used for?

Sigma is the air density divided by the standard sea-level density of 1.225 kilograms per cubic metre. Aerodynamic, propeller and engine performance charts are usually plotted against it because lift, drag and naturally aspirated power all scale with density rather than with altitude.

How is this different from the density converter on this site?

The density converter rescales a density you already know into different units. This page derives a density that was never entered, from temperature, pressure and humidity using the ideal gas law applied separately to dry air and to water vapour.

This tool is provided for educational and general reference use. It models ideal-gas moist air and the standard atmosphere, and does not account for real-gas effects, local weather departures or instrument calibration, so treat its output as a physics result rather than a substitute for a measured or certified figure.

Advertisement
Advertisement

Take it further