molecalculator

Moles & Molar Mass

Density of Air at 20°C: Value and Calculation

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

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

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 (293.15 K), dry air at standard atmospheric pressure, 101.325 kPa, has a density of about 1.204 kg/m³ (or 1.204 g/L). This calculator uses temperature, pressure, and relative humidity to estimate air density with the ideal-gas mixture model; enter those conditions to get density in kg/m³.

Formula

The calculator estimates moist-air density using the ideal-gas equation with a correction for water vapor:

ρ = p / [Rd T (1 + 0.6078q)], where the calculator estimates the water-vapor mixing ratio from relative humidity and saturation vapor pressure.

  • ρ is air density in kg/m³.
  • p is absolute air pressure in pascals. The entered kilopascals are converted by multiplying by 1,000.
  • T is absolute temperature in kelvins, calculated as °C + 273.15.
  • Rd is the specific gas constant for dry air, 287.05 J/(kg·K).
  • q is the water-vapor mixing ratio in kg of water vapor per kg of dry air; the coefficient 0.6078 accounts for the lower molar mass of water vapor.

For this estimate, saturation vapor pressure is es = 611.2 exp[17.67t/(t + 243.5)] pascals, with temperature t in °C. Actual vapor pressure is e = (RH/100)es, where RH is relative humidity in percent. The calculator uses q = 0.622e/(p − e), expressed in its algebraically combined form. The second output is the same density in g/L: 1 kg/m³ equals 1 g/L.

Worked Example

Using the default inputs—20°C, 101.325 kPa, and 0% relative humidity—the model gives dry-air density. First convert the temperature and pressure:

  • T = 20 + 273.15 = 293.15 K.
  • p = 101.325 × 1,000 = 101,325 Pa.
  • At 0% relative humidity, e = 0 and q = 0.

Then ρ = 101,325 / [287.05 × 293.15 × (1 + 0.6078 × 0)] = 1.204 kg/m³, rounded to three decimal places. The equivalent result is 1.204 g/L. These are the outputs shown by the calculator for its default conditions.

Assumptions

  • Air behaves as an ideal gas, a highly useful approximation at ordinary atmospheric conditions.
  • Dry-air gas constant is 287.05 J/(kg·K); the humidity correction uses the stated saturation-vapor-pressure approximation.
  • Pressure is absolute pressure, not gauge pressure.
  • The air is treated as a uniform mixture at the entered temperature, pressure, and relative humidity.

Why Air Density Changes

Density is mass divided by volume. For a gas, the same volume contains less mass when pressure falls or temperature rises, provided the gas composition is otherwise comparable. That is why air at a mountain location is generally less dense than air at sea level, and why warm air is less dense than cool air at the same pressure.

Humidity also matters. Water molecules have a lower molar mass than the average molecules in dry air, which is mostly nitrogen and oxygen. Replacing some dry-air molecules with water vapor therefore makes moist air slightly less dense at the same temperature and total pressure. At 20°C and standard pressure, fully saturated air is roughly 1.19 kg/m³, compared with about 1.20 kg/m³ for dry air; the precise value depends on the humidity model and conditions.

What the 20°C Reference Value Means

The commonly quoted figure of about 1.204 kg/m³ is not a universal density for air at 20°C. It assumes dry air and standard sea-level pressure of 101.325 kPa. If a source gives a different value, check its pressure, humidity, and rounding assumptions before concluding that it is incorrect.

For example, at the same 20°C but at 90 kPa, dry-air density is approximately 1.07 kg/m³. This follows directly from the near-proportional relationship between density and pressure at fixed temperature. Likewise, raising temperature at fixed pressure reduces density. The calculator is useful for ordinary comparisons, but it is not a substitute for a specialized moist-air property calculation where high precision is required.

How to Use the Calculator and Interpret Results

  • Enter air temperature in degrees Celsius. The model converts it to kelvins internally.
  • Enter absolute pressure in kPa. A pressure reading relative to the surrounding atmosphere (gauge pressure) must first be converted to absolute pressure.
  • Enter relative humidity from 0 to 100%. Use 0% for the dry-air reference value; do not confuse relative humidity with a fraction unless converting it to percent.
  • Read the primary result in kg/m³. The second output, g/L, has the same numerical value.

Density is often needed in engineering calculations involving buoyancy, ventilation, fluid flow, or the mass of air in a room. For instance, a room of 50 m³ filled with air at 1.204 kg/m³ contains about 60.2 kg of air (50 × 1.204), assuming the density is uniform throughout. In real buildings, temperature differences, open doors, and pressure changes can make conditions vary from place to place.

Limits and Common Mistakes

The estimate should be treated as approximate. The ideal-gas assumption works well for typical weather and indoor conditions, but the formula does not account for every atmospheric effect, such as detailed gas composition, altitude-related variation in gravity, or precise enhancement factors used in humidity metrology. The saturation-vapor-pressure expression is an approximation, especially outside ordinary ambient temperatures.

  • Using gauge pressure: the formula needs absolute pressure. Gauge pressure is measured relative to ambient pressure; add ambient pressure to obtain absolute pressure.
  • Mixing units: the inputs here are °C, kPa, and percent RH. The formula explicitly converts °C to K and kPa to Pa.
  • Assuming temperature alone sets density: pressure and humidity also affect the answer.
  • Over-reading digits: a result printed to three decimal places does not mean the input conditions or model are accurate to that precision.

Frequently Asked Questions

What is the density of air at 20°C and 1 atmosphere?
For dry air at 101.325 kPa, it is about 1.204 kg/m³, equivalent to 1.204 g/L.

Does humidity make air heavier?
At the same temperature and total pressure, adding water vapor generally makes air less dense, because water vapor has a lower molar mass than dry air’s main constituents.

How much does one cubic metre of air weigh at 20°C?
At dry-air standard pressure, one cubic metre has a mass of about 1.204 kg. Strictly, kilograms measure mass; weight is a force and depends on gravitational acceleration.

Is air density the same at every altitude?
No. Atmospheric pressure usually decreases with altitude, so air density generally decreases too. Temperature and weather also influence the value.

What is the density of air at 20°C in g/L?
For dry air at standard pressure, it is about 1.204 g/L. This has the same numerical value as 1.204 kg/m³.

Related

Formula used
in t | Air temperature | °C | 20 | -273.15
in p | Absolute pressure | kPa | 101.325 | 0.001
in rh | Relative humidity | % | 0 | 0 | 100
out rho | Air density | kg/m³ | (p * 1000) / (287.05 * (t + 273.15) * (1 + 0.6078 * (rh / 100) * (611.2 * exp(17.67 * t / (t + 243.5)) / (p * 1000)))) | 3
out rhoL | Air density | g/L | rho | 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 →