molecalculator

Moles & Molar Mass

Air Density per Liter: Value, Formula, and Calculator

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

Air density 1.204 g/L
Air density
1.204 kg/m³
= 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 (g/L), Air density (kg/m³)
Rounding
3 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.

At 20 °C and 101.325 kPa (standard atmospheric pressure), dry air has a density of about 1.204 kg/m³, or 1.204 grams per liter. This calculator estimates air density from temperature, pressure, and relative humidity, returning the density in g/L; the result changes when those conditions change.

Formula

For a mixture treated as ideal gases, density is the sum of each gas’s partial pressure multiplied by its molar mass, divided by the universal gas constant and absolute temperature:

ρ = (pdryMdry + pvMv)/(RT)

  • ρ is density in kg/m³. Its numerical value is the same in g/L.
  • p is absolute total pressure in pascals; the calculator takes kPa and multiplies by 1,000.
  • pv is water-vapor partial pressure in pascals; the formula estimates saturation vapor pressure as 610.94 × exp(17.625t/(t + 243.04)) Pa, then multiplies it by relative humidity as a fraction.
  • pdry = p − pv is the partial pressure of dry air.
  • Mdry = 0.02896546 kg/mol is the conventional molar mass of dry air; Mv = 0.01801528 kg/mol is the molar mass of water vapor.
  • R = 8.31446261815324 J/(mol·K) is the molar gas constant, and T = t + 273.15 K converts the input temperature from Celsius to kelvin.

The output is shown in g/L. This is numerically equal to kg/m³ because 1 kg/m³ = 1 g/L. One liter is 0.001 m³, so a density of 1.204 g/L means a liter of air has a mass of about 1.204 grams.

Worked Example

Using the defaults—101.325 kPa, 20 °C, and 0% relative humidity—the vapor pressure is zero. Convert pressure and temperature:

p = 101.325 × 1,000 = 101,325 Pa
T = 20 + 273.15 = 293.15 K

With no water vapor, all the pressure is dry-air pressure. Substitute the dry-air molar mass:

ρ = (101,325 × 0.02896546)/(8.31446261815324 × 293.15) ≈ 1.204 kg/m³

Since kg/m³ and g/L have the same numerical value, the calculator reports 1.204 g/L. To three decimal places, the second output is also 1.204 kg/m³.

Assumptions

  • Air behaves as an ideal-gas mixture at the stated temperature and pressure.
  • Dry air is represented by a fixed average molar mass of 0.02896546 kg/mol.
  • The water-vapor estimate uses the stated saturation-pressure approximation; relative humidity is entered from 0% to 100%.
  • Pressure is absolute, not gauge pressure. Conditions are treated as uniform throughout the air sample.

What “per Liter” Means

Density is mass divided by volume, not the total mass of air in a room. At the default conditions, each liter has a mass near 1.204 g. A 10-liter container filled with air under the same conditions therefore contains about 12.04 g of air, excluding the container. This estimate assumes the air inside is at the specified pressure and temperature.

A liter is a volume unit; “per liter” does not mean that air has a fixed mass whenever it occupies a liter. Compressing air into a smaller space raises its pressure and usually its density. Heating air at constant pressure generally lowers its density, while cooling it generally raises density. Humidity also matters: water vapor has a lower molar mass than the average dry-air mixture, so humid air is slightly less dense than dry air at the same temperature and total pressure.

What Changes Air Density?

  • Temperature: At unchanged pressure and composition, warmer air is less dense. For example, dry air at 0 °C and 101.325 kPa is about 1.29 g/L, compared with about 1.20 g/L at 20 °C.
  • Pressure: Higher absolute pressure means more gas molecules in a given volume and therefore greater density, assuming temperature and composition stay the same.
  • Humidity: More water vapor replaces some heavier dry-air molecules. The effect is usually smaller than a major temperature or pressure change, but it can matter in precise measurements.
  • Composition and altitude: Air composition varies slightly, and pressure generally decreases with altitude. There is no single density value for every place or weather condition.

For a quick reference, the International Standard Atmosphere uses a sea-level temperature of 15 °C and pressure of 101.325 kPa; the corresponding dry-air density is approximately 1.225 kg/m³. That differs from the calculator’s default because its reference temperature is 20 °C, not 15 °C.

Using the Calculator Correctly

Enter local absolute pressure, air temperature in °C, and relative humidity as a percentage. The pressure input must be absolute: a gauge-pressure reading measures pressure above the surrounding atmosphere and cannot be substituted without adding the local atmospheric pressure. If a weather source reports pressure in another unit, convert it to kPa first.

The formula gives an estimate for ordinary atmospheric air. At very high pressures, unusual temperatures, or in gases with substantially different composition, non-ideal behavior or a different gas mixture may require a more specialized equation. The saturation-pressure approximation is intended for typical atmospheric conditions, not extreme environments. Rounding the displayed result also means it may differ slightly from a calculation that retains more digits.

Frequently Asked Questions

How many grams does one liter of air weigh?
Near 20 °C and standard atmospheric pressure, one liter of dry air has a mass of about 1.204 g. The exact value varies with temperature, pressure, humidity, and composition.

Is air density the same in g/L and kg/m³?
The numerical values are equal: 1 g/L = 1 kg/m³. The units describe the same density using different mass and volume scales.

Does humid air weigh more than dry air?
At equal temperature and total pressure, humid air is generally less dense because water molecules have a lower molar mass than the average molecules in dry air. A fixed-volume sample’s mass is therefore usually slightly lower.

What is the density of air at standard conditions?
It depends on the convention. At 15 °C and 101.325 kPa, dry air is about 1.225 kg/m³. At 20 °C and the same pressure, it is about 1.204 kg/m³.

How much does a cubic meter of air weigh?
At the calculator’s default conditions, one cubic meter has a mass of about 1.204 kg. Since one cubic meter contains 1,000 liters, this agrees with approximately 1.204 g per liter.

Can I use this value for air at altitude?
Use the local absolute pressure and temperature. Altitude alone does not determine the exact density because weather and temperature also affect pressure and air conditions.

Related

Formula used
in p | Absolute pressure | kPa | 101.325 | 0
in t | Air temperature | °C | 20 | -273.15
in rh | Relative humidity | % | 0 | 0 | 100
out d | Air density | g/L | (p * 1000 - rh / 100 * 610.94 * exp(17.625 * t / (t + 243.04))) * 0.02896546 / (8.31446261815324 * (t + 273.15)) + (rh / 100 * 610.94 * exp(17.625 * t / (t + 243.04))) * 0.01801528 / (8.31446261815324 * (t + 273.15)) | 3
out kg | Air density | kg/m³ | d | 3

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 →