Air Density Calculator

Welcome to our online air density calculator, a tool that will help you calculate the density of air in kg/m 3 and many other units.

The air density at sea level and zero humidity is 1.225 kg/m³, but depending on altitude, it could go even down to 0.122 kg/m³. Therefore, it's important to consider atmospheric conditions when calculating air density. For that reason, we created this online air density calculator.

Other tools can be helpful in conjunction with this calculator:

The air density calculator - Dry air density formula

At zero humidity, we can use the widely known ideal gas law to know what is the density of air formula:

What is the density of air considering humidity?

To calculate the density of moist air, this calculator uses a model based on Dalton's law for partial pressures, which says:

"The pressure of a gas mixture is equal to the sum of the partial pressures of each gas."

With partial pressures, we refer to the pressures each gas would exert if it existed alone at the mixture temperature and volume.

We can extend Dalton's law to the density of gas mixtures, such as the mixture of air and vapor (moist air):

This calculator uses the previous equation to calculate the density of moist air.

Calculating water vapor partial pressure

There are two ways of calculating Pv, depending on whether we know the dew point (Tdew) or the relative humidity (RH):

In either case, we use the following polynomial (suggested by EMD International A/S ) to calculate Es:

If we know the dew point, we use the Pv = Es(Tdew) equation, evaluating Es at the dew point (Tdew). If we know the relative humidity instead of Tdew, we use Pv = RH × Es(T), evaluating Es at the air temperature (T).

Calculating partial pressure of dry air

According to Dalton's law, the partial pressure of dry air is simply the total pressure minus the partial water vapor pressure:

What is the dew point?

The dew point is the temperature at which the water vapor contained in the air reaches its saturation state. The water vapor will condense and form liquid water — dew — when we cool the air down to the dew point.

There are several ways to approximate the dew point. Our online air density calculator uses the following formula:

And that's it! Hopefully, now you're able to know what is the density of air at sea level or any other altitude.