Air Density Calculator – Temperature, Pressure & Humidity

Calculate atmospheric air density for any temperature, pressure, altitude, and humidity

Enter temperature, atmospheric pressure, relative humidity, and altitude to compute the density of air using the ideal gas law with humidity correction.

Air Density Calculator – Temperature, Pressure & Humidity
Calculate atmospheric air density for any temperature, pressure, altitude, and humidity

About the Air Density Calculator

Air density is the mass of air contained in a unit volume, typically expressed in kilograms per cubic metre (kg/m³). It is not a fixed constant but depends on temperature, atmospheric pressure, and humidity. At standard sea-level conditions (15°C, 1013.25 hPa), dry air has a density of approximately 1.225 kg/m³ — but this value changes significantly with weather, altitude, and season. The fundamental relationship governing air density is the ideal gas law: PV = nRT, which can be rearranged for density as ρ = PM / (RT), where P is pressure in pascals, M is the molar mass of the gas, R is the universal gas constant, and T is temperature in kelvin. For dry air (M ≈ 0.028964 kg/mol), the specific gas constant R_d = R/M ≈ 287.058 J/(kg·K), so ρ_dry = P / (R_d × T). When humidity is significant, water vapour must be accounted for separately. Water vapour has a lower molecular mass (18 g/mol) than the average for dry air (about 29 g/mol), so moist air is less dense than dry air at the same temperature and pressure. The calculation requires finding the saturation vapour pressure at the given temperature, scaling by relative humidity to get the actual partial vapour pressure, and subtracting from total pressure to get the dry air partial pressure. The two components are then summed with their respective gas constants. When station pressure is unavailable, the calculator derives it from altitude with the standard barometric formula. A supplied station pressure is more specific to current conditions, so it always takes priority and altitude is ignored. The temperature chart holds pressure and relative humidity constant to show how moist air density changes from −20°C to 45°C; the marker identifies the entered temperature. Air density has critical importance in aviation, meteorology, combustion, wind energy, and sports science. This calculator combines the Buck saturation vapour pressure approximation with the moist-air density formula for practical engineering and scientific estimates.

Air Density Examples

These examples show air density at various atmospheric conditions relevant to aviation, meteorology, and engineering.

ConditionsAir DensityNotes
T = 15°C, P = 1013.25 hPa, RH = 60%, Alt = 0 mρ ≈ 1.2200 kg/m³ISA-inspired sea-level conditions with 60% relative humidity. Slightly lower than dry-air ISA (1.2250 kg/m³) because water vapour is lighter than average dry air.
T = 35°C, P = 1005 hPa, RH = 80%, Alt = 0 mρ ≈ 1.1170 kg/m³Hot, humid summer conditions. The higher temperature and humidity both reduce air density, reducing aircraft lift and engine performance significantly.
T = −10°C, P = 1020 hPa, RH = 30%, Alt = 0 mρ ≈ 1.3496 kg/m³Cold winter conditions. Cold, dry air is significantly denser than warm air, improving engine breathing and aircraft performance but increasing aerodynamic drag.
T = 5°C, P = 700 hPa, RH = 40%, Alt = 3000 mρ ≈ 0.8747 kg/m³High altitude conditions at 3000 m. The reduced pressure dominates, giving air density about 71% of sea-level standard. Mountain airports require longer take-off runs.

How to use the Air Density Calculator

  1. Enter the air temperature in degrees Celsius. Standard sea-level temperature is 15°C; the temperature decreases approximately 6.5°C per 1000 m of altitude in the standard atmosphere.
  2. Enter station pressure, or leave pressure empty to derive it from altitude with the standard barometric formula.
  3. Enter the relative humidity as a percentage (0–100). For dry-air calculations, enter 0; for saturated air, enter 100.
  4. Enter altitude above sea level. It is used only when pressure is empty; an entered station pressure always takes priority.
  5. Click Calculate to display the density results and a chart of moist air density from −20°C to 45°C at the selected pressure and humidity.

Air Density Calculator FAQ

What is the formula for air density?
For dry air, the density is ρ = P / (R_d × T), where P is pressure in Pa, R_d = 287.058 J/(kg·K) is the specific gas constant for dry air, and T is temperature in kelvin. For moist air, the formula accounts for water vapour: ρ = (P_d / (R_d × T)) + (P_v / (R_v × T)), where P_d is partial pressure of dry air, P_v is partial vapour pressure, and R_v = 461.495 J/(kg·K) is the specific gas constant for water vapour. This can be rewritten as ρ = P / (T × (R_d × (1 − 0.378 × P_v/P)⁻¹)).
Why does humidity reduce air density?
Water vapour (H₂O, molecular mass 18 g/mol) is lighter than dry air (effective molecular mass about 29 g/mol). When water vapour displaces dry air molecules at a given pressure and temperature, the overall mixture becomes less dense. This counterintuitive result — humid air is lighter than dry air — has significant consequences for aviation (reduced lift and engine performance), meteorology (moist air masses rise), and combustion engineering (reduced oxygen concentration per unit volume).
How does altitude affect air density?
Air density decreases with altitude because atmospheric pressure drops as there is less overlying air mass. When pressure is empty, this calculator estimates station pressure from altitude with the standard barometric formula. If station pressure is entered, it is used directly and altitude is ignored.
What is the standard atmosphere (ISA) air density?
The International Standard Atmosphere (ISA) defines sea-level conditions as T = 15°C (288.15 K) and P = 101 325 Pa (1013.25 hPa), giving a dry air density of exactly 1.2250 kg/m³ and including 60% humidity gives approximately 1.2248 kg/m³. The ISA is used as a reference for calibrating aircraft instruments, computing aerodynamic coefficients, and comparing engine performance data across different test sites and days.
How is air density relevant to aviation?
Air density directly affects lift, drag, and thrust. Lift is proportional to density (L = ½ρv²C_L × A), so at lower density the aircraft must fly faster or use a higher angle of attack to generate the same lift. Engine thrust is proportional to the mass flow rate of air, which is lower at low density. Hot, humid, or high-altitude conditions (density altitude) can require significantly longer take-off distances and reduce climb rates. Pilots use density altitude — the altitude in the standard atmosphere with the same density as the actual conditions — to assess aircraft performance.
What is the saturation vapour pressure and how is it calculated?
Saturation vapour pressure (e_s) is the partial pressure of water vapour when air is fully saturated (100% relative humidity) at a given temperature. It increases strongly with temperature, approximately doubling for every 10°C rise. The Buck equation gives a practical approximation: e_s = 0.61078 × exp(17.27 × T / (T + 237.3)) kPa, where T is in °C. The actual partial vapour pressure is P_v = (RH/100) × e_s. These quantities determine the contribution of moisture to total air density.