What is air density?
Air density is the mass of air contained in a given volume, usually expressed in kilograms per cubic meter (kg/m³). It tells you how “heavy” the air is and depends mainly on two quantities: the absolute pressure pushing on the air and its temperature. Cold, high-pressure air is dense, while warm, low-pressure air is thin. At sea level under standard conditions the density of dry air is about 1.225 kg/m³.
Air density matters in aviation, meteorology, ballistics, engine tuning, and HVAC design. A denser atmosphere produces more aerodynamic lift and drag, delivers more oxygen to an engine, and carries sound and heat differently than thin air. This calculator computes the density of dry air directly from the pressure and temperature you enter.
If you are studying how gases respond to pressure and temperature changes, you may also enjoy the Boyle’s law calculator.
How does the calculator work?
Enter the absolute pressure of the air and its temperature. You can choose the units for each field (for example pascals, atmospheres, °C, °F, or K), and the calculator converts everything to SI units internally. It then divides the pressure by the product of the specific gas constant of dry air and the absolute temperature to obtain the density.
The temperature is always converted to kelvin before the calculation, because the formula requires an absolute temperature. The calculator only returns a result when the temperature is above absolute zero.
Formula
The density of dry air is found from the ideal gas law rearranged for density:
where:
is the air density in kilograms per cubic meter (kg/m³),
is the absolute pressure in pascals (Pa),
is the specific gas constant for dry air, equal to 287.05 J/(kg·K),
is the absolute temperature in kelvin (K).
To convert a temperature in degrees Celsius to kelvin, add 273.15:
Worked examples
Example 1
Standard sea-level conditions: pressure of 101325 Pa and a temperature of 15 °C (288.15 K).
This is the familiar standard air density used in aerodynamics.
Example 2
The same pressure of 101325 Pa but at the freezing point, 0 °C (273.15 K).
The colder air is noticeably denser than in Example 1, even though the pressure is unchanged.
Practical notes
- Dry air only: This formula assumes dry air. Humid air is slightly less dense because water vapor is lighter than the nitrogen and oxygen it displaces. For high-precision work, a humidity correction is needed.
- Absolute pressure: Always use absolute pressure, not gauge pressure. If you have a gauge reading, add the local atmospheric pressure before entering it.
- Temperature in kelvin: The formula needs an absolute temperature, so any Celsius or Fahrenheit value is converted to kelvin first. Negative kelvin values are physically impossible and are rejected.
- Altitude: As you climb, both pressure and temperature drop, so air density falls with altitude. This is why aircraft and engines lose performance at high elevation.