Calculate air density from pressure, temperature, and humidity using the ideal gas law. Includes altitude reference table and moist air corrections.
Air density is a fundamental atmospheric property that influences everything from aircraft performance to engine efficiency and weather forecasting. Defined as the mass of air per unit volume (typically kg/m³), air density varies with pressure, temperature, and moisture content.
At sea level under standard conditions (15 °C, 101,325 Pa), dry air has a density of approximately 1.225 kg/m³. As altitude increases, pressure drops and air becomes less dense—a critical factor for aviation, where reduced density means less lift and engine power. Humidity also plays a role: water vapor (molecular weight ≈ 18 g/mol) is lighter than the nitrogen–oxygen mix it displaces (≈ 29 g/mol), so moist air is actually less dense than dry air at the same temperature and pressure.
This calculator uses the virtual temperature approach, computing dry-air and water-vapor partial densities separately for accurate results. Enter your local pressure, temperature, and relative humidity to instantly determine air density, vapor pressure, and how your conditions compare to the International Standard Atmosphere (ISA).
Knowing air density is essential for pilots calculating takeoff performance, engine tuners optimizing air–fuel ratios, HVAC engineers sizing ducts, meteorologists forecasting weather, and athletes training at altitude. This calculator handles pressure, temperature, and humidity corrections in one step, saving time compared to manual lookup tables.
The built-in ISA altitude reference table lets you compare your local conditions against the standard atmosphere, making it easy to estimate effective altitude or validate sensor readings.
Air density (moist air): ρ = (P_dry)/(R_d × T) + (P_vapor)/(R_v × T), where P_dry = P − P_vapor, R_d = 287.058 J/(kg·K), R_v = 461.495 J/(kg·K). Saturation vapor pressure: P_sat = 610.78 × exp(17.27T/(T+237.3)).
Result: 1.1764 kg/m³
At 25 °C, 101325 Pa, and 60% RH, the saturation pressure is about 3169 Pa, giving a vapor pressure of 1901 Pa. Dry-air partial pressure is 99424 Pa. The combined density is approximately 1.1764 kg/m³.
Air is a mixture of gases, primarily nitrogen (78%) and oxygen (21%), with small amounts of argon, carbon dioxide, and water vapor. The density of this mixture follows the ideal gas law, but because water vapor has a different molecular weight than the dry-air components, accurate calculations must treat them separately.
The partial pressure approach used in this calculator splits total pressure into dry-air and vapor components, each obeying its own gas constant. This method—sometimes called the "virtual temperature" approach—gives accuracy better than 0.1% under normal atmospheric conditions.
**Aviation:** Pilots use density altitude to determine aircraft performance. On a hot, humid day at a high-elevation airport, the effective density altitude can be thousands of feet above the actual field elevation, dramatically increasing takeoff distance and reducing climb rate.
**Automotive:** Engine power output is directly proportional to the mass of air entering the cylinders. Tuners use air density to calculate correction factors, and some engine management systems incorporate density sensors for real-time fuel mixture adjustments.
**Meteorology:** Air density gradients drive wind patterns and convection. Weather models use density profiles to predict frontal movement, thunderstorm development, and atmospheric stability.
| Condition | Density (kg/m³) | |---|---| | ISA sea level (15 °C, dry) | 1.225 | | Hot day (35 °C, 50% RH) | 1.146 | | Cold day (−10 °C, dry) | 1.342 | | Denver, CO (1,600 m) | ≈1.047 | | Airplane cruise (11,000 m) | ≈0.365 |
Water vapor molecules (H₂O, MW ≈ 18) are lighter than nitrogen (N₂, MW ≈ 28) and oxygen (O₂, MW ≈ 32). When water vapor displaces these heavier molecules, the overall density decreases.
Pressure drops roughly exponentially with altitude. At 3,000 m, pressure is about 70% of sea level, reducing density to approximately 0.91 kg/m³ under standard conditions.
The ISA is a reference model defining sea-level conditions as 15 °C, 101,325 Pa, and 1.225 kg/m³ density, with a lapse rate of 6.5 °C per 1,000 m up to the tropopause.
Lift depends on air density: lower density means longer takeoff rolls, reduced climb rates, and lower engine power output—critical for flight planning at hot, high-altitude airports. Use this as a practical reminder before finalizing the result.
For pressures below about 10 atm and temperatures above −40 °C, the ideal gas law gives results accurate to within about 0.1%, well within practical engineering needs.
Density altitude is the altitude in the ISA that has the same density as the current conditions. It combines the effects of pressure, temperature, and humidity into a single performance metric.