Last updated: July 16, 2026
Air Density Calculator
Creators
Dharmendra SinghReviewers

Creators
Dharmendra SinghReviewers
Quick Answer
Air density is the mass of air per unit volume (kg/m³), computed from temperature (°C), pressure (hPa), and relative humidity (%) using the ideal gas law: ρ = pd/(Rd·T) + pv/(Rv·T), where Rd = 287.058 and Rv = 461.495 J/(kg·K). Saturation vapor pressure uses the Magnus formula. At ISA standard conditions the result is 1.225 kg/m³. Higher temperature, lower pressure, or higher humidity all reduce density.
Air density at standard sea-level conditions is 1.225 kilograms per cubic meter. It decreases with higher temperature, lower atmospheric pressure, or increased humidity. The formula is rho equals dry-air pressure divided by Rd times T, plus vapor pressure divided by Rv times T, where T is temperature in Kelvin, Rd is 287.058 and Rv is 461.495 joules per kilogram per Kelvin.
Key Takeaways
- Air density at ISA standard conditions (15°C, 1013.25 hPa, dry) is exactly 1.225 kg/m³.
- Higher temperature always reduces air density at constant pressure (Charles's Law).
- Moist air is less dense than dry air because water vapor (M = 18 g/mol) is lighter than average dry air (M ≈ 29 g/mol).
- The ideal gas law applied separately to dry air and water vapor fractions gives accurate density across all meteorological conditions.
- Density ratio σ = ρ/1.225 is the key aviation metric — values below 1.0 degrade lift and engine performance.
Creators
Dharmendra SinghReviewers

Creators
Dharmendra SinghReviewers
Formula
rho = (pd / (Rd x T)) + (pv / (Rv x T))
Where:
- rho=Air Density(kg/m3)
- pd=Partial pressure of dry air(Pa)
- pv=Partial pressure of water vapor(Pa)
- Rd=Specific gas constant for dry air (287.058)(J/(kg·K))
- Rv=Specific gas constant for water vapor (461.495)(J/(kg·K))
- T=Absolute temperature(K)
Worked Examples
Standard Atmosphere (ISA Sea Level)
Calculate air density at International Standard Atmosphere conditions: 15°C, 1013.25 hPa, 0% humidity.
- 1Convert temperature to Kelvin: T = 15 + 273.15 = 288.15 K
- 2For dry air, vapor pressure pv = 0, so pd = 1013.25 hPa = 101325 Pa
- 3Apply ideal gas law: rho = pd / (Rd x T) = 101325 / (287.058 x 288.15)
- 4rho = 101325 / 82715.8 = 1.2250 kg/m3
Hot Humid Summer Day
Air density on a hot, humid summer day: 35°C, 1008 hPa, 80% relative humidity.
- 1Convert temperature: T = 35 + 273.15 = 308.15 K
- 2Saturation vapor pressure: es = 6.1078 × 10^(7.5×35/(35+237.3)) = 56.24 hPa
- 3Actual vapor pressure: pv = 56.24 × 0.80 = 44.99 hPa
- 4Dry air pressure: pd = 1008 - 44.99 = 963.01 hPa = 96301 Pa
- 5Dry air density: 96301 / (287.058 × 308.15) = 1.0882 kg/m3
- 6Vapor density: (44.99×100) / (461.495×308.15) = 0.0316 kg/m3
- 7Total: rho = 1.0882 + 0.0316 = 1.1198 kg/m3
Cold Day at 1500 m Altitude
Air density at a mountain location: −10°C, 850 hPa (approx. 1500 m), 30% humidity.
- 1Convert temperature: T = -10 + 273.15 = 263.15 K
- 2Saturation vapor pressure at -10°C: es = 6.1078 × 10^(7.5×(-10)/(-10+237.3)) = 2.863 hPa
- 3Actual vapor pressure: pv = 2.863 × 0.30 = 0.859 hPa
- 4Dry air pressure: pd = 850 - 0.859 = 849.14 hPa = 84914 Pa
- 5Dry air density: 84914 / (287.058 × 263.15) = 1.1237 kg/m3
- 6Vapor density: (0.859×100) / (461.495×263.15) = 0.0007 kg/m3
- 7Total: rho = 1.1237 + 0.0007 = 1.1244 kg/m3
Introduction
Air density (ρ) measures the mass of air per unit volume, expressed in kilograms per cubic meter (kg/m³). At standard sea-level conditions (15°C, 1013.25 hPa, dry air), the density is approximately 1.225 kg/m³. This value changes with temperature, atmospheric pressure, and humidity — three variables our calculator uses to compute the exact density via the ideal gas law applied separately to dry air and water vapor.

How Air Density Is Calculated
Air is treated as a mixture of dry air and water vapor, each obeying the ideal gas law independently (Dalton's Law of Partial Pressures). The density formula is: ρ = (pd / (Rd × T)) + (pv / (Rv × T)) Where pd is the partial pressure of dry air Pa], pv is the partial pressure of water vapor [Pa], Rd = 287.058 J/(kg·K) is the specific gas constant for dry air, Rv = 461.495 J/(kg·K) is the specific gas constant for water vapor, and T is absolute temperature in Kelvin. The vapor pressure pv is obtained from the saturation vapor pressure (Magnus formula) and relative humidity: pv = es × (RH/100). For dry air (RH = 0), pv = 0 and the formula simplifies to ρ = P / (Rd × T). Compare this approach with the [Bernoulli equation calculator which uses density in fluid-flow problems.
Factors That Affect Air Density
Three environmental variables drive air density changes: 1. Temperature: Higher temperature reduces density. Air at 35°C is about 8% less dense than at 15°C at the same pressure (Charles's Law). This is closely related to air pressure at altitude — warmer air expands upward. 2. Pressure: Higher pressure increases density (Boyle's Law). A 10% pressure increase raises density by approximately 10% at constant temperature. See the Boyle's law calculator for details. 3. Humidity: Moist air is lighter than dry air because water molecules (M = 18 g/mol) are lighter than the average dry air molecule (M ≈ 29 g/mol, a mixture of N₂ and O₂). At 35°C with 80% RH, density drops by about 0.7% versus dry air. The absolute humidity calculator quantifies water vapor content directly.
Practical Applications of Air Density
Air density is critical across many engineering and scientific disciplines: Aviation: Aircraft lift, drag, and engine thrust are all proportional to air density. Density altitude (the ISA-equivalent altitude for the measured density) directly affects takeoff performance. The ISA reference density is 1.225 kg/m³. HVAC Engineering: Fan curves, duct sizing, and coil performance are all specified at standard density. High-altitude or high-temperature installations require density corrections. The speed of sound calculator is another tool used in acoustic duct design. Meteorology: Dense cold air masses undercut warm air, driving weather fronts. The dew point calculator is used alongside air density in humidity analysis. Sports and Ballistics: Baseball travel distance and drone flight efficiency both depend on air density. The ideal gas law calculator provides the thermodynamic basis underlying these density computations.
The Magnus Formula for Saturation Vapor Pressure
The saturation vapor pressure es (in hPa) is computed using the enhanced Magnus formula: es = 6.1078 × 10^(7.5 × T_C / (T_C + 237.3)) This empirical formula is valid from −40°C to +60°C with an accuracy of ±0.1%, sufficient for all meteorological and engineering applications. At 20°C, es ≈ 23.4 hPa; at 35°C, es ≈ 56.2 hPa. The formula is specified in WMO Technical Regulations No. 49 and described by Lawrence (2005) in the AMS Bulletin — see https://doi.org/10.1175/BAMS-86-2-225.
International Standard Atmosphere (ISA)
The International Standard Atmosphere (ISA), defined by ICAO Doc 7488/3, specifies sea-level conditions of 15°C (288.15 K), 1013.25 hPa (101325 Pa), and zero humidity, giving a reference density of exactly 1.225 kg/m³. Temperature decreases at a standard lapse rate of 6.5°C/km up to the tropopause (11 km). The ISA provides the baseline against which the density ratio σ = ρ/ρ₀ is reported. Full specification at https://www.icao.int/publications/Documents/7488_cons.pdf.
Unit Conversions for Air Density
Air density in kg/m³ can be converted to other common units: - g/cm³: divide by 1000 (standard air ≈ 0.001225 g/cm³) - lb/ft³: multiply by 0.062428 (standard air ≈ 0.07647 lb/ft³) - g/L: numerically equal to kg/m³ (standard air ≈ 1.225 g/L) - lb/in³: multiply by 3.6127×10⁻⁵ (standard air ≈ 4.42×10⁻⁵ lb/in³) The identity 1 kg/m³ = 1 g/L is a useful quick-conversion shortcut. The Reynolds number calculator uses air density directly in the formula ρvL/μ for fluid-flow characterization.
Quick Reference Card
Air Density Quick Reference
Quick reference • Air Density Calculator
rho = (pd / (Rd x T)) + (pv / (Rv x T))Valid range: Temperature: −80°C to +60°C; Pressure: 100–1100 hPa; RH: 0–100%
Common Values
⚠ Watch Out
- •Never use the dry-air formula (rho = P/RdT) for moist air — error up to 1.5% at high humidity and temperature.
- •Pressure must be in Pa for the core formula; this calculator accepts hPa and converts internally (×100).
- •The Magnus formula is unreliable below −40°C — use the Sonntag (1990) equation for polar conditions.
- •Density altitude differs from pressure altitude — temperature and humidity both shift the effective altitude.
Pro Tips
- →Quick sanity check: at sea level, every 10°C rise in temperature reduces air density by about 3.5%.
- →In HVAC design, always correct fan curves and duct sizing for actual site air density, not standard.
- →Drone and UAV pilots: check density ratio before hot-day flights — maximum thrust drops linearly with density.
- →Wet-bulb or psychrometric humidity measurements are often more accurate than capacitive RH sensors at temperature extremes.
FAQs
What is the density of air at standard conditions?
At ISA standard conditions (15°C, 1013.25 hPa, 0% humidity), dry air has a density of 1.225 kg/m³ (0.07647 lb/ft³). This is the reference value used in aviation and engineering worldwide.
Why is moist air less dense than dry air?
Water molecules (H₂O, molecular weight 18 g/mol) are lighter than the average dry air molecule (approximately 29 g/mol — a mixture of N₂ and O₂). When water vapor replaces dry air molecules at the same total pressure, overall mass per unit volume decreases. At 35°C and 80% RH, air is about 0.7% less dense than dry air at the same pressure.
How does altitude affect air density?
Air density decreases with altitude because atmospheric pressure drops. In the ISA troposphere, pressure and density roughly follow an exponential decay. At 5500 m (18,000 ft), density is approximately half that at sea level. The ISA pressure formula is P(h) = 101325 × (1 − 2.2558×10⁻⁵ × h)^5.2561 Pa.
What is density altitude and why does it matter?
Density altitude is the ISA altitude corresponding to the actual air density at a given location. When density altitude is high (hot, humid, or high-elevation conditions), aircraft performance degrades — engines produce less power and wings generate less lift, both proportional to air density. It is a critical metric for takeoff performance calculations.
How accurate is the Magnus formula for vapor pressure?
The enhanced Magnus formula (es = 6.1078 × 10^(7.5T/(T+237.3))) is accurate to within ±0.1% for temperatures from −40°C to +60°C. This covers all normal meteorological conditions. For higher precision, the Sonntag (1990) formula can be used, but differences are negligible for air density applications.
Can I use this calculator to find density altitude?
Yes. Enter your local atmospheric pressure (station pressure), temperature, and humidity. The density ratio output σ = ρ/1.225 indicates how dense the air is relative to ISA standard. Density altitude DA ≈ pressure altitude + 120 × (OAT − ISA_temperature) in feet. For pressure altitude use the [air pressure at altitude calculator](/physics/air-pressure-at-altitude-calculator).