molecalculator

Moles & Molar Mass

Air Density Units and How to Calculate Them

Calculator No. 01-3718 · Updated · Formula and assumptions shown below

Air density 1.1989 kg/m³
Air density
1.1989 g/L
= Air density
Absolute pressure
101.325 kPa
Set in the form below
Air temperature
20 °C
Set in the form below
You enter
Absolute pressure (kPa), Air temperature (°C), Relative humidity (%)
You get
Air density (kg/m³), Air density (g/L)
Rounding
4 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Air density is mass per unit volume, most commonly expressed in kilograms per cubic metre (kg/m³) in SI units; grams per litre (g/L) is numerically equivalent. This calculator estimates air density from absolute pressure, temperature, and water-vapour content, returning density in kg/m³ using the ideal-gas mixture model.

Formula

For moist air, the calculator applies the ideal-gas relation separately to dry air and water vapour, then adds their densities:

ρ = (p − e)/(RdT) + e/(RvT)

  • ρ is air density in kg/m³.
  • p is absolute pressure in pascals. The entered pressure is in kPa and is multiplied by 1,000 to convert to Pa.
  • e is water-vapour partial pressure in Pa, calculated as (RH/100) × es.
  • RH is relative humidity in percent.
  • es is saturation vapour pressure, estimated here in Pa by 611.2 × exp(17.67t/(t + 243.5)), with t in °C.
  • T is absolute temperature in kelvins, calculated as t + 273.15.
  • Rd is the specific gas constant for dry air, 287.05 J/(kg·K); Rv is the specific gas constant for water vapour, 461.5 J/(kg·K).

The saturation-pressure expression is an approximation for ordinary atmospheric conditions. Since 1 J = 1 Pa·m³, the formula yields kg/m³. In dry air, RH is zero and the water-vapour term disappears.

Worked Example

Using the calculator’s defaults: p = 101.325 kPa, t = 20 °C, and RH = 50%.

  1. Convert pressure: 101.325 × 1,000 = 101,325 Pa.
  2. Convert temperature: T = 20 + 273.15 = 293.15 K.
  3. Estimate saturation vapour pressure: es = 611.2 × exp(17.67 × 20/(20 + 243.5)) ≈ 2,333.4 Pa.
  4. Find water-vapour pressure: e = (50/100) × 2,333.4 ≈ 1,166.7 Pa.
  5. Calculate the two contributions: dry air ≈ (101,325 − 1,166.7)/(287.05 × 293.15) ≈ 1.1903 kg/m³; water vapour ≈ 1,166.7/(461.5 × 293.15) ≈ 0.00863 kg/m³.
  6. Add them: ρ ≈ 1.1989 kg/m³, or 1.1989 g/L.

Because the displayed result is rounded to four decimal places, the headline is approximately 1.1989 kg/m³. Small differences can arise if a different saturation-vapour-pressure equation or constants are used.

Assumptions

  • Air and water vapour behave as ideal gases.
  • Pressure is absolute pressure, not gauge pressure.
  • Relative humidity is between 0% and 100%, and the saturation-pressure approximation is intended for typical atmospheric temperatures.
  • The model treats air as dry air plus water vapour; it does not account for every trace gas or detailed non-ideal effects.

What Air Density Units Mean

Density describes how much mass occupies a given volume. In kg/m³, a value of 1.2 means one cubic metre of air has a mass of about 1.2 kilograms under the stated conditions. The unit does not describe pressure or weight: it is mass divided by volume.

Common units and their relationships include:

  • kg/m³: the usual SI unit and a convenient scale for atmospheric air.
  • g/L: exactly the same numerical value as kg/m³, because 1 kg/m³ = 1 g/L.
  • g/m³: multiply kg/m³ by 1,000. For example, 1.2 kg/m³ = 1,200 g/m³.
  • kg/L: divide kg/m³ by 1,000; this is rarely convenient for air because the resulting value is small.
  • lb/ft³: an imperial unit. One kg/m³ is approximately 0.06243 lb/ft³.

A useful misconception to avoid is treating g/L and kg/m³ as different-sized units. They are different expressions of the same scale, not a factor-of-1,000 conversion.

Why Air Density Changes

For a fixed composition, the ideal-gas equation gives density as ρ = p/(RT), so pressure raises density and absolute temperature lowers it. The temperature must be in kelvins in that relationship; substituting a Celsius reading directly gives an incorrect result. At a fixed temperature, air at higher atmospheric pressure contains more mass in the same volume.

Humidity also matters. Water molecules have a lower molar mass than the average molecules in dry air, so replacing some dry air with water vapour makes the mixture less dense at the same pressure and temperature. This is why warm, humid air is generally less dense than cool, dry air at comparable pressure. The effect of humidity is usually smaller than the effects of large changes in temperature or altitude-related pressure.

Altitude is not itself a term in the density equation. It matters because atmospheric pressure generally falls with height, and local weather also changes pressure. To estimate density at a location, use the local absolute pressure rather than assuming sea-level standard pressure.

Choosing Units and Using the Result

Use kg/m³ for engineering calculations, airflow estimates, buoyancy, or comparing air conditions. Use g/L when it makes a laboratory or chemistry calculation easier; the number is unchanged. Convert only when the next equation requires another unit, and keep pressure and temperature conventions consistent.

Pressure readings need particular attention. A barometer or weather report commonly gives absolute atmospheric pressure. A gauge-pressure instrument reports pressure relative to surrounding air; convert gauge pressure to absolute pressure by adding the local atmospheric pressure before using this calculator. Do not enter a negative absolute pressure.

Density is also not the same as specific weight. Specific weight is force per volume, commonly N/m³, and is related to density by multiplying by gravitational acceleration. Likewise, “standard air density” is not a universal value unless the standard temperature, pressure, humidity, and composition are specified.

Limits and Common Sources of Error

  • Mixing units: entering Pa where kPa is requested makes the pressure 1,000 times too large. Convert deliberately.
  • Using Celsius in a gas-law denominator: use kelvins, including the +273.15 conversion shown in the formula.
  • Confusing gauge and absolute pressure: this can produce a substantial error, especially at low pressure.
  • Ignoring conditions: a density value without pressure, temperature, and humidity context cannot represent every location or time.
  • Expecting high-precision atmospheric modelling: the ideal-gas mixture model and approximate vapour-pressure equation are useful for ordinary calculations, not a substitute for a specialized moist-air model at unusual conditions.

For a quick dry-air estimate, set relative humidity to 0%. For precise work, use measured local pressure, temperature, and humidity and select a validated equation appropriate to the temperature range and required accuracy.

Frequently Asked Questions

What is the SI unit of air density?
It is the kilogram per cubic metre (kg/m³). Grams per litre (g/L) is equivalent and has the same numerical value.

Is air density measured in g/L or kg/m³?
Both are used. They are equal in numerical value: 1.2 kg/m³ is 1.2 g/L.

What is the density of air at room temperature?
It depends on pressure, temperature, and humidity. Near 20 °C and standard atmospheric pressure, ordinary air is around 1.2 kg/m³; this calculator estimates about 1.1989 kg/m³ at 50% relative humidity.

Does humid air have a higher density?
No. At the same temperature and pressure, adding water vapour generally lowers air density because water vapour is lighter than the average dry-air mixture it replaces.

How do I convert kg/m³ to lb/ft³?
Multiply the value in kg/m³ by approximately 0.06243. For example, 1.2 kg/m³ is about 0.0749 lb/ft³.

Related

Formula used
in p | Absolute pressure | kPa | 101.325 | 0
in t | Air temperature | °C | 20 | -273.15
in rh | Relative humidity | % | 50 | 0 | 100
out rho | Air density | kg/m³ | (p * 1000 - (rh / 100) * 611.2 * exp(17.67 * t / (t + 243.5))) / (287.05 * (t + 273.15)) + ((rh / 100) * 611.2 * exp(17.67 * t / (t + 243.5))) / (461.5 * (t + 273.15)) | 4
out gl | Air density | g/L | rho | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →