Want a Custom tool for Yourself?

Need a Custom Tool? We build custom tools that can save hours per employee per day.

Air Density Calculator

Calculate air density from pressure and temperature, and include relative humidity for moist air. Helpful for flight, HVAC, and ballistics estimates.

Air Density Calculator




Result will appear here...


Last updated: May 3, 2026

Created by: Eon Tools Dev Team

Reviewed by: Bibek Lal Karna



What the air density calculator does

Air has weight, and how much a given volume of it weighs, its density, changes with pressure, temperature, and humidity. This calculator finds the density of air from the pressure and temperature, and for moist air it also takes the relative humidity into account, reporting the dew point and vapour pressure along the way.

Below is what air density is, the equation behind it, why humid air is lighter than dry air, and a worked example.

How to use it

  1. Enter the air pressure in hectopascals and the air temperature in degrees Celsius.
  2. Choose dry or moist air. For moist air, add the relative humidity.
  3. Press Calculate for the air density, plus the dew point and vapour pressure for moist air, or Reset to clear it.

What air density is

Air density is the mass of air contained in a given volume, usually expressed in kilograms per cubic metre. At sea level under ordinary conditions, a cubic metre of air weighs about 1.2 kilograms, which is more than most people expect, since air feels like nothing at all. That mass is real, though, and it is what gives the wind its push, lets aircraft fly, and presses on everything as atmospheric pressure.

Unlike a solid or a liquid, air is easily squeezed and stretched, so its density is far from fixed. Raise the pressure and you pack more air into the same space, increasing the density. Raise the temperature and the air expands, spreading the same mass over more volume and lowering the density. Add water vapour and, surprisingly, the density drops further still. This calculator accounts for all three influences.

The equation it uses

For dry air, the density follows directly from the ideal gas law, dividing the pressure by the temperature and the specific gas constant for air:

ρ = P ÷ (Rdry × T)

Here P is the pressure, T is the absolute temperature, and Rdry is the gas constant for dry air, about 287 joules per kilogram per kelvin. Higher pressure raises the density, while higher temperature lowers it, exactly as the squeezing-and-expanding picture suggests. For moist air, the calculator splits the air into its dry and water-vapour parts, works out the density of each from its own share of the pressure, and adds them, since water vapour and dry air each contribute to the total.

Why moist air is lighter

It seems backwards, but humid air is less dense than dry air at the same temperature and pressure, not more. People often guess the opposite, imagining moisture as making the air heavier, but the physics runs the other way, and the reason is a neat consequence of how gases work.

At a given temperature and pressure, a fixed volume of air holds a fixed number of molecules, whatever they are. Adding water vapour means some of those molecules are water, and each water molecule is lighter than the nitrogen or oxygen molecule it displaces. Swapping heavier molecules for lighter ones lowers the total mass in that volume, so the density falls. This is why humid days feel a little different to fly in or hit a ball through, and why weather and aviation calculations must account for moisture rather than assume dry air. The calculator captures this by giving water vapour its own, lighter contribution to the density.

Why air density matters

Air density turns up wherever air does work or resists motion. Aircraft depend on it directly: wings generate lift from the air flowing over them, and thinner, less dense air means less lift, which is why planes need longer runways on hot days and at high-altitude airports, and why engines lose power as the air thins. The same thinning affects how high a drone can fly and how a parachute behaves.

It matters on the ground too. The drag on a moving car or a cyclist depends on the density of the air they push through, as does the range of a long shot in ballistics, where shooters correct for air density to hit distant targets. Sports played at altitude see balls fly farther through the thinner air. And in weather, density differences drive the rising and sinking of air masses that make the wind. In all these settings, knowing the air density is the starting point, and this calculator provides it.

Units and precision

The calculator takes the pressure in hectopascals and the temperature in degrees Celsius, which it converts to pascals and kelvin internally, and returns the density in kilograms per cubic metre. For moist air it uses the specific gas constants for dry air and water vapour and reports the dew point and vapour pressure alongside the density. The dry-air calculation is an exact application of the gas law; the moist-air result is an accurate estimate. Density is shown to several decimal places.

A worked example

Take dry air at standard sea-level pressure, 1013.25 hectopascals, and a temperature of 15 degrees Celsius.

The density is ρ = P ÷ (Rdry × T) = 101,325 ÷ (287 × 288.15) ≈ 1.225 kilograms per cubic metre, the standard value used as a reference in aviation and engineering. Warm the air to 25 degrees and the density would fall to about 1.18 kilograms per cubic metre, as the same air spreads over more volume. Make it humid, and it would drop a little further still.

Questions people ask

How do you calculate air density?

For dry air, divide the pressure by the temperature and the gas constant for air, ρ = P/(RdryT). For moist air, add the separate contributions of dry air and water vapour.

What is the density of air?

About 1.225 kilograms per cubic metre at sea level and 15 degrees Celsius, the standard reference value. It rises with pressure and falls with temperature and humidity.

Is humid air heavier or lighter than dry air?

Lighter. Water molecules are less massive than the nitrogen and oxygen they replace, so swapping them in lowers the air's density at the same temperature and pressure.

Why does air get thinner at altitude?

Because the pressure falls as you climb, and lower pressure means fewer air molecules per volume. The density of air decreases steadily with height, which is why high-altitude air feels thin.

References

A quick note on where the science comes from. Air density from the ideal gas law, and the lower density of moist air, are standard physics and meteorology, described in the Wikipedia article on the density of air and tabulated by the Engineering ToolBox. The gas constants follow standard references.

  1. Wikipedia, Density of air. https://en.wikipedia.org/wiki/Density_of_air
  2. Engineering ToolBox, Air Density, Specific Weight and Thermal Expansion Coefficient. https://www.engineeringtoolbox.com/air-density-specific-weight-d_600.html
  3. HyperPhysics, Density of air and the ideal gas law. http://hyperphysics.phy-astr.gsu.edu/hbase/Kinetic/idegas.html


Bibek Lal Karna

Bibek Lal Karna is a PhD student and graduate teaching assistant at the University of Mississippi, with deep interests in theoretical and gravitational physics. He is also the founder of NRCC and is strongly engaged in scientific teaching and communication. At Eon Tools, he reviews physics tools.