User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
%
Quick Presets
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

About

Air density (ฯ) determines aerodynamic lift, engine combustion efficiency, HVAC load, and sound propagation speed. Miscalculating it by even 2% compounds into significant errors in drag coefficients, ballistic trajectories, and fuel-air mixture ratios. This calculator implements the Ideal Gas Law for dry air and extends it via Dalton's Law of partial pressures for moist air, using the Magnus-Tetens approximation for saturation vapor pressure es. Inputs accept multiple unit systems. Altitude correction applies the barometric formula assuming ISA lapse rate of 6.5 K/km below 11 km.

The tool assumes air behaves as an ideal gas, which holds within 0.1% accuracy for pressures below 10 atm and temperatures above โˆ’40 ยฐC. At extreme cold or high pressure the compressibility factor Z deviates from 1 and real-gas equations (van der Waals) become necessary. Humidity correction matters most at high temperatures: at 35 ยฐC and 100% RH, moist air is roughly 1.2% less dense than dry air at the same conditions.

air density gas density ideal gas law atmosphere humidity barometric pressure ISA standard atmosphere moist air density

Formulas

Dry air density from the Ideal Gas Law:

ฯ = PRd โ‹… T

For moist air, saturation vapor pressure is computed via the Magnus-Tetens approximation:

es = 6.1078 ร— 107.5 โ‹… TcTc + 237.3

Actual vapor pressure:

e = RH100 ร— es

Moist air density via Dalton's Law of partial pressures:

ฯ = P โˆ’ eRd โ‹… T + eRv โ‹… T

Pressure at altitude (troposphere, h < 11000 m):

Ph = P0 โ‹… (1 โˆ’ L โ‹… hT0)g โ‹… MR โ‹… L

Where ฯ = air density kg/m3, P = absolute pressure Pa, T = absolute temperature K, Rd = 287.058 J/(kgโ‹…K) specific gas constant for dry air, Rv = 461.495 J/(kgโ‹…K) specific gas constant for water vapor, es = saturation vapor pressure hPa, RH = relative humidity %, Tc = temperature in ยฐC, L = 0.0065 K/m temperature lapse rate, g = 9.80665 m/s2, M = 0.0289644 kg/mol molar mass of dry air, R = 8.31447 J/(molโ‹…K) universal gas constant, T0 = 288.15 K ISA sea-level temperature, P0 = 101325 Pa ISA sea-level pressure.

Reference Data

Altitude mTemperature ยฐCPressure hPaDensity kg/m3Speed of Sound m/s
015.001013.251.2250340.3
50011.75954.611.1673338.4
10008.50898.761.1117336.4
15005.25845.561.0581334.5
20002.00794.951.0066332.5
2500โˆ’1.25746.830.9569330.6
3000โˆ’4.50701.090.9091328.6
3500โˆ’7.75657.640.8632326.6
4000โˆ’11.00616.400.8191324.6
4500โˆ’14.25577.280.7768322.6
5000โˆ’17.50540.200.7361320.5
5500โˆ’20.75505.060.6971318.5
6000โˆ’24.00471.810.6597316.5
6500โˆ’27.25440.350.6238314.4
7000โˆ’30.50410.610.5895312.3
7500โˆ’33.75382.480.5566310.2
8000โˆ’37.00355.990.5252308.1
8500โˆ’40.25331.060.4951306.0
9000โˆ’43.50307.600.4663303.8
9500โˆ’46.75285.560.4389301.7
10000โˆ’50.00264.880.4127299.5
10500โˆ’53.25245.490.3877297.4
11000โˆ’56.50226.990.3639295.2
12000โˆ’56.50193.300.3099295.2
14000โˆ’56.50141.010.2261295.2
16000โˆ’56.50103.520.1660295.2
18000โˆ’56.5075.650.1216295.2
20000โˆ’56.5055.290.0889295.2
25000โˆ’51.6025.490.0401298.4
30000โˆ’46.6411.970.0184301.7

Frequently Asked Questions

Water vapor (molar mass 18.015 g/mol) is lighter than both nitrogen (28.014 g/mol) and oxygen (31.998 g/mol). When water vapor displaces these heavier molecules in a given volume, the total mass decreases. At 35 ยฐC and 100% RH, moist air is approximately 1.2% less dense than dry air at identical temperature and pressure.
The ideal gas law assumes negligible intermolecular forces and molecular volume. For air, this holds within 0.1% for pressures below roughly 10 atm and temperatures above โˆ’40 ยฐC. At cryogenic temperatures or pressures exceeding 50 atm, the compressibility factor Z deviates significantly from 1, and real-gas equations such as van der Waals or Peng-Robinson should be used.
The ISA model divides the atmosphere into layers. In the troposphere (0 - 11 km), temperature decreases linearly at 6.5 K/km. Above 11 km (lower stratosphere), temperature remains constant at โˆ’56.5 ยฐC up to about 20 km. The pressure formula for an isothermal layer is exponential: P = Pb โ‹… exp(โˆ’gM(h โˆ’ hb) รท (RTb)), which differs from the power-law form used in the troposphere.
If you supply a measured barometric pressure (e.g., from a local weather station already corrected to sea level, known as QNH), do not also apply altitude correction as this would double-count the effect. Use altitude correction only when starting from ISA sea-level standard pressure of 1013.25 hPa. If you have a station-level (uncorrected) pressure reading taken at your altitude, enter it directly and set altitude to 0.
Density altitude is the altitude in the ISA at which the air density equals the actual density at your location. High temperature, high humidity, and low pressure all increase density altitude. An aircraft at 1000 m on a hot humid day may experience a density altitude of 2500 m, meaning reduced engine power, lower propeller efficiency, and longer takeoff rolls. This calculator provides density altitude as a derived output.
The dry-air calculation uses Rd = 287.058 J/(kgโ‹…K), specific to the standard dry air mixture (78% N2, 21% O2, 1% Ar). For pure gases, replace with the appropriate specific gas constant: Rspecific = R รท M where M is the molar mass. For example, pure CO2 uses 188.92 J/(kgโ‹…K). The humidity correction is air-specific and should be disabled for other gases.