molecalculator

Moles & Molar Mass

Air Density in g/cm³: Values and Calculation

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

Air density 0.001204 g/cm³
Air density
1.204 kg/m³
= Air density × 1000
Air temperature
20 °C
Set in the form below
Absolute pressure
101.325 kPa
Set in the form below
You enter
Air temperature (°C), Absolute pressure (kPa), Relative humidity (%)
You get
Air density (g/cm³), Air density (kg/m³)
Rounding
6 dp · 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.

Air density is about 0.0012 g/cm³ near sea level at 20 °C and standard atmospheric pressure (101.325 kPa). The exact value changes with temperature, pressure, humidity, and the definition of the air mixture, so there is no single density that applies in every situation.

Formula

This calculator estimates moist-air density using the ideal-gas relation, treating dry air and water vapor as separate gas components:

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

  • ρ is air density in kg/m³.
  • p is absolute air pressure in pascals (Pa).
  • e is water-vapor partial pressure in Pa. It is calculated as relative humidity divided by 100, multiplied by saturation vapor pressure.
  • T is absolute temperature in kelvins (K), calculated as temperature in °C + 273.15.
  • Rd is the specific gas constant for dry air, 287.05 J/(kg·K); Rv is the value for water vapor, 461.5 J/(kg·K).

The calculator uses the Magnus approximation for saturation vapor pressure: es = 0.6112 × exp(17.67t/(t + 243.5)) kPa, where t is in °C. It converts pressure from kPa to Pa by multiplying by 1,000, and converts kg/m³ to g/cm³ by dividing by 1,000. The displayed g/cm³ result is rounded to six decimal places; the kg/m³ result is shown to three.

Worked Example

Using the calculator’s default inputs—20 °C, 101.325 kPa, and 0% relative humidity—first convert temperature to kelvins and pressure to pascals:

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

At 0% relative humidity, e = 0 Pa. Substituting into the dry-air form of the formula:

ρ = 101,325 / (287.05 × 293.15) = 1.2041 kg/m³

Convert to grams per cubic centimetre: 1.2041 / 1,000 = 0.001204 g/cm³. Rounded as the calculator displays it, the result is 0.001204 g/cm³, or 1.204 kg/m³.

Assumptions

  • Air behaves as an ideal mixture of dry air and water vapor.
  • The dry-air and water-vapor gas constants are 287.05 and 461.5 J/(kg·K), respectively.
  • Saturation vapor pressure is estimated with the stated Magnus approximation.
  • Pressure is absolute pressure, not gauge pressure; the model does not account for unusual gas composition or suspended particles.

Why Air Density Changes

Density is mass divided by volume. Air may feel insubstantial, but it has mass; its density tells you how much mass occupies a given volume. For a gas, that mass per volume depends strongly on how much the gas is compressed and how quickly its molecules move.

  • Pressure: At a higher pressure, more air molecules occupy the same volume, so density generally rises.
  • Temperature: At the same pressure, warmer air is generally less dense because its molecules occupy more volume.
  • Humidity: Water vapor has a lower molecular mass than the average dry-air mixture. Replacing some dry-air molecules with water vapor makes humid air slightly less dense at the same temperature and pressure.
  • Altitude: Atmospheric pressure usually falls with elevation, reducing air density. Temperature also changes with altitude, so elevation alone does not determine an exact value.

How to Use the Estimate

Enter the air temperature, absolute pressure, and relative humidity for the conditions you want to describe. The default pressure is standard atmospheric pressure near sea level. The calculator provides density in both g/cm³ and kg/m³, the SI unit commonly used in engineering and atmospheric science.

For an everyday estimate, 0.0012 g/cm³ is a useful rounded value near room temperature and sea-level pressure. For calculations involving lift, drag, buoyancy, ventilation, or gas mass, use a density matched to the actual conditions rather than relying on that shortcut.

Pressure must be absolute. A gauge pressure measures pressure above the surrounding atmosphere; it cannot be entered directly as if it were absolute pressure. For example, a gauge reading of zero at sea level corresponds to approximately 101.325 kPa absolute, not 0 kPa. The calculator allows zero as a mathematical lower limit, but a zero-pressure input does not represent ordinary air and produces no meaningful real-world density estimate.

Common Unit and Measurement Mistakes

The units differ by a factor of 1,000: 1 kg/m³ = 0.001 g/cm³. This follows because one cubic metre contains one million cubic centimetres, while one kilogram contains 1,000 grams. Confusing g/cm³ with kg/m³ can therefore produce a result off by three orders of magnitude.

Temperature must be converted to kelvins inside a gas-law calculation. Using 20 instead of 293.15 in the temperature denominator would be incorrect. Likewise, relative humidity is a percentage, not a fraction: 50% means 0.50 of saturation, not 50 times saturation. The calculator applies the percentage conversion for you.

Humidity and temperature measurements should describe the same air and location as the pressure reading. Local weather pressure may be reported as pressure corrected to sea level rather than the actual pressure at a high-altitude site; using that corrected value will overestimate local density.

Frequently Asked Questions

What is the density of air in g/cm³?
Near sea level at 20 °C, air density is about 0.0012 g/cm³. The more specific dry-air estimate at 101.325 kPa is 0.001204 g/cm³.

How many g/cm³ is 1.2 kg/m³?
Divide kg/m³ by 1,000: 1.2 kg/m³ = 0.0012 g/cm³.

Is humid air heavier than dry air?
At the same temperature and pressure, humid air is generally less dense. Water vapor molecules have a lower average molecular mass than the nitrogen- and oxygen-rich dry-air mixture they replace.

Does air density decrease with altitude?
Usually. Atmospheric pressure tends to decrease as altitude increases, and lower pressure means lower density when other conditions are comparable. The exact density also depends on temperature and moisture.

Why is my air-density value different from a reference table?
Check the table’s temperature, pressure, humidity, and units. It may assume dry air, use a different standard atmosphere, or report pressure corrected to sea level rather than the pressure at the measurement location.

Is 0.0012 g/cm³ an exact value?
No. It is a convenient approximation for ordinary near-sea-level conditions. Air density varies continuously as weather and local conditions change.

Related

Formula used
in t | Air temperature | °C | 20 | -273.15
in p | Absolute pressure | kPa | 101.325 | 0
in h | Relative humidity | % | 0 | 0 | 100
out rho | Air density | g/cm³ | (p * 1000 - h / 100 * 0.6112 * exp(17.67 * t / (t + 243.5)) * 1000) / (287.05 * (t + 273.15)) / 1000 | 6
out kg | Air density | kg/m³ | rho * 1000 | 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 →