Analyze humid and dry air density accurately. Compare standard atmosphere, vapor effects, and derived properties. Plot results, export tables, and support detailed chemistry work.
| Case | Temperature (°C) | Pressure (hPa) | RH (%) | Altitude (m) | Density (kg/m³) |
|---|---|---|---|---|---|
| Sea level mild day | 15.00 | 1,013.25 | 40 | 0 | 1.2219 |
| Warm humid coast | 30.00 | 1,008.00 | 80 | 20 | 1.1436 |
| Cool upland city | 12.00 | 900.00 | 55 | 1,000 | 1.0960 |
| Cold plateau morning | -5.00 | 800.00 | 35 | 2,000 | 1.0386 |
| High valley afternoon | 18.00 | 750.00 | 25 | 2,500 | 0.8951 |
These worked examples show how density changes with temperature, pressure, humidity, and altitude.
Moist-air density:
ρ = (Pd / (RdT)) + (Pv / (RvT))
Here, Pd is dry-air pressure, Pv is water-vapor pressure, and T is absolute temperature in kelvin.
Water-vapor pressure:
Pv = RH × Psat / 100
The calculator estimates Psat with the Buck vapor-pressure relation, which is reliable for normal atmospheric work.
Dry-air pressure:
Pd = P - Pv
Total pressure is split into dry-air and water-vapor components before computing the total mass density.
Optional comparison for a custom gas:
ρ = PM / RT
This ideal-gas form helps compare Earth air with custom atmospheres or unusual gas mixtures using a supplied mean molar mass.
Atmospheric density is air mass per unit volume. It changes with pressure, temperature, and water vapor content, affecting buoyancy, combustion, diffusion, and transport behavior.
Water vapor has a lower molar mass than dry air. When vapor replaces nitrogen and oxygen at the same pressure and temperature, total density usually drops.
Use station pressure for the true local density. Sea-level corrected pressure is mainly for weather reporting and can overstate density at elevated locations.
Altitude changes density mostly because pressure and temperature usually change with height. If you already know local pressure and temperature, those values drive the density.
You can enter pressure in Pa, kPa, hPa, or atm, and temperature in Celsius, Kelvin, or Fahrenheit. Results are shown in standard SI output units.
The standard profile gives a benchmark density at the same altitude. Comparing against it highlights hot, cold, humid, or unusually pressurized conditions.
It gives an ideal-gas comparison for unusual gas compositions or planetary atmospheres. Leave it blank when you only need ordinary humid-air calculations.
This tool assumes ideal-gas behavior and simple vapor-pressure relations. It is excellent for learning and engineering estimates, but nonideal mixtures may require advanced equations of state.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.