Skip to content
Other

Air Density Calculator

Enter the air temperature, atmospheric pressure, and relative humidity to get the density of air in kg/m3 or lb/ft3. The calculator supports both dry and moist air modes, lets you derive pressure automatically from altitude using the International Standard Atmosphere, and shows every step of the calculation. Results update as you type.

Your details

Moist air accounts for water vapour, which slightly lowers density. Choose dry air for theoretical or simplified calculations.
You can type in a measured pressure, or let the calculator estimate it from altitude using the International Standard Atmosphere model.
Ambient air temperature. Use 15 °C (59 °F) for standard sea-level conditions.
°C
Atmospheric pressure at the measurement point. Standard sea level is 1013.25 hPa (14.696 psi).
hPa
The percentage of water vapour in the air relative to the saturation amount at the current temperature.
%
Air densityNear standard
1.2211

Mass of air per unit volume at the given conditions

Density unitkg/m3
vs. ISA sea-level (1.225 kg/m3)-0.32%
Dry air partial pressure1,004.72
Water vapour partial pressure8.53
Total pressure used1,013.25
Temperature (K)288.15K
1.2211 kg/m3
Very thin<0.9Thin0.9-1.1Near standard1.1-1.3Dense1.3+
00.71.39-201550
Temperature (°C)

Air density: 1.2211 kg/m3

  • This air is -0.3% lighter than the ISA standard (1.225 kg/m3 at sea level, 15 °C, dry).
  • Density is close to standard. Small changes in humidity, temperature, or altitude will shift it further.
  • Water vapour (molecular weight 18) displaces heavier nitrogen (28) and oxygen (32), so humid air is always slightly less dense than dry air at the same temperature and pressure.

Next stepFor aviation, compare this density to the ISA density at your pressure altitude to find density altitude, which determines aircraft performance more accurately than field elevation alone.

Formula

ρ=pdRdT+pvRvT,pv=RH1006.1078×107.5TC237.3+TC,pd=ppv\rho = \dfrac{p_d}{R_d T} + \dfrac{p_v}{R_v T}, \quad p_v = \dfrac{RH}{100} \cdot 6.1078 \times 10^{\tfrac{7.5\,T_C}{237.3+T_C}}, \quad p_d = p - p_v

Worked example

At 15 °C (288.15 K), 1013.25 hPa (101325 Pa), and 50% relative humidity: saturation vapour pressure = 1705 Pa, actual vapour pressure = 852 Pa, dry air pressure = 100473 Pa. Density = 100473 / (287.058 x 288.15) + 852 / (461.495 x 288.15) = 1.2132 + 0.0064 = 1.2196 kg/m3.

What is air density and why does it matter?

Air density is the mass of air per unit volume, expressed in kilograms per cubic metre (kg/m3) or pounds per cubic foot (lb/ft3). Under ISA standard conditions at sea level - 15 °C, 1013.25 hPa, no humidity - air weighs 1.225 kg/m3. The value changes significantly with temperature, pressure, altitude, and humidity, all of which change the number of air molecules packed into each cubic metre. Denser air contains more oxygen per breath, creates more aerodynamic lift, produces more drag, and supports better internal-combustion performance. Thinner air at altitude does the opposite. In aviation, the concept of density altitude combines all four variables into one number that tells pilots how the atmosphere will "feel" to their aircraft, regardless of the field elevation shown on a map. In meteorology, air density drives large-scale wind patterns: cold, dense air sinks while warm, lighter air rises, powering storms and circulation cells. For engineers designing ducts, fans, turbines, and HVAC systems, accurate air density is needed to size equipment correctly.

The physics: ideal-gas law and Dalton partial pressures

The ideal-gas law states that for any gas, pressure = density x specific gas constant x temperature (in Kelvin). Rearranging gives density = pressure / (R x T). Dry air has a specific gas constant Rd = 287.058 J/(kg·K). For moist air, Dalton's law of partial pressures applies: the total atmospheric pressure equals the sum of the partial pressure from dry air (pd) and the partial pressure from water vapour (pv). Each component obeys its own ideal-gas equation with its own gas constant, water vapour uses Rv = 461.495 J/(kg·K). The combined formula is: density = pd / (Rd x T) + pv / (Rv x T). The saturation vapour pressure at a given temperature is estimated using the Tetens formula: psat = 610.78 x 10^(7.5 x Tc / (237.3 + Tc)) in Pascals. The actual vapour pressure equals psat multiplied by relative humidity expressed as a fraction. Because water molecules (molecular weight 18 g/mol) are lighter than nitrogen (28 g/mol) and oxygen (32 g/mol), replacing those heavier molecules with water vapour always reduces the overall density, which is why humid air is less dense than dry air at the same temperature and pressure.

How altitude affects air density

The International Standard Atmosphere (ISA) model describes how temperature and pressure change with altitude in the absence of weather. In the troposphere (0 to 11 km), temperature falls by 6.5 °C for every 1000 m of altitude gain (the environmental lapse rate). Pressure decreases more steeply than a simple linear model because each additional layer of air above has less weight pressing down. The ISA troposphere pressure formula is: p = 101325 x (1 - 0.0065 x h / 288.15)^5.2561, where h is the altitude in metres. Together, these drops in both temperature and pressure cause density to fall rapidly with height. At 3000 m, density is roughly 74% of sea-level; at 8000 m (near the summit of Mount Everest), it falls to about 37%. The "altitude" mode in this calculator uses the ISA model to estimate pressure from height, so you only need to know how high you are rather than carry a barometer. For real-world conditions, entering a measured pressure is more accurate because actual atmospheric pressure varies daily with weather.

Practical applications

Aviation uses air density to calculate density altitude, which is the altitude in the ISA where the actual density would occur. A runway at 1500 m on a hot day may have a density altitude of 2500 m, meaning the aircraft performance is equivalent to taking off from a 2500 m airport. This directly affects takeoff roll, climb rate, and engine thrust. Motor racing teams calculate air density before each session to predict how much air the engine ingests per revolution, adjusting fuel mapping accordingly. HVAC engineers use air density to convert between mass flow and volume flow when sizing fans and ductwork. Wind turbine developers multiply air density into their power calculations because turbine output is proportional to density (denser air carries more kinetic energy). Meteorologists track density to understand buoyancy: air that is less dense than its surroundings rises and can trigger convective clouds and thunderstorms.

Standard air density at sea level under various conditions

ConditionTemperatureHumidityDensity (kg/m3)
ISA standard15 °C (59 °F)Dry1.2250
NIST standard20 °C (68 °F)Dry1.2041
Cold winter air-10 °C (14 °F)Dry1.3413
Hot summer, dry35 °C (95 °F)Dry1.1455
Hot summer, humid35 °C (95 °F)80%1.1293
High altitude (3000 m)-4.5 °C (24 °F)Dry0.9093
Tropical sea level30 °C (86 °F)90%1.1453

Reference values for air density at sea level (1013.25 hPa) under different temperature and humidity conditions.

Frequently asked questions

What is the standard density of air at sea level?

Under International Standard Atmosphere conditions - 15 °C (59 °F), 1013.25 hPa (14.696 psi), and no humidity - air density is exactly 1.225 kg/m3 (0.0765 lb/ft3). This is the reference used in aviation, engineering, and atmospheric science. At NIST standard conditions (20 °C, 1 atm, dry), it is approximately 1.204 kg/m3.

Why is humid air less dense than dry air?

Water molecules (H2O, molecular weight 18 g/mol) are lighter than the nitrogen (N2, 28 g/mol) and oxygen (O2, 32 g/mol) molecules they displace in the atmosphere. When water vapour replaces those heavier molecules at the same total pressure, the average molecular weight of the mixture falls and so does the overall density. At 30 °C and 90% humidity, density can be about 1% lower than at the same temperature with no humidity. The effect is real but small under typical conditions.

How does temperature affect air density?

Air density and temperature are inversely related at constant pressure. Hotter air expands, spreading the same number of molecules over a larger volume, which lowers the mass per unit volume. Going from 0 °C to 40 °C at standard pressure lowers density from about 1.293 kg/m3 to about 1.127 kg/m3, roughly a 13% reduction. This is why hot-air balloons rise - the heated air inside is lighter than the cooler air outside.

What is density altitude?

Density altitude is the altitude in the International Standard Atmosphere at which the density equals the actual density at your location. It combines the effects of elevation, temperature, and humidity into one number that describes how the atmosphere will perform aerodynamically. A pilot at a 1000 m airport on a hot, humid day might have a density altitude of 2000 m, meaning the aircraft handles as if it were at 2000 m even though the airstrip is only 1000 m above sea level.

How accurate is the ISA altitude-to-pressure model?

The ISA model is accurate as a standard reference but represents average mid-latitude conditions, not real weather. Actual pressure at a given altitude can vary by several percent from day to day due to weather systems. For flight planning and engineering estimates, ISA is a useful baseline. For high-precision work, enter the actual measured pressure from a barometer or weather service rather than using the altitude-derived estimate.

Does air density affect weather?

Yes, significantly. Temperature and humidity differences create air-density gradients that drive convection - the vertical movement of air that powers clouds, rain, and thunderstorms. Cold, dense air masses push under warm, lighter air masses along weather fronts. At a larger scale, density differences between the poles and the tropics drive the global circulation cells that shape climate. Meteorologists track air density indirectly through temperature, pressure, and humidity measurements at thousands of stations worldwide.

Sources

Written by Grace Mbeki, MSc Data Scientist & Educator · Nairobi, Kenya

Turning everyday numbers into clear, actionable answers for the decisions that matter most.

Search 3,500+ calculators

Loading search…