molecalculator

Moles & Molar Mass

Air Density in kg/m³: Formula and Calculator

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

Air density 1.204 kg/m3
Absolute temperature
293.15 K
= Air temperature + 273.15
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)
You get
Air density (kg/m3), Absolute temperature (K)
Rounding
3 dp · 2 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 the mass of air per unit volume, measured in kilograms per cubic metre (kg/m³). This calculator estimates dry-air density from air temperature and absolute pressure; enter those values to get density, with the ideal-gas assumptions made explicit.

Formula

For dry air treated as an ideal gas, density equals absolute pressure divided by the specific gas constant for dry air multiplied by absolute temperature:

ρ = p / (Rd × T)

  • ρ is air density in kg/m³.
  • p is absolute pressure in pascals (Pa). The calculator converts the entered pressure from kilopascals by multiplying by 1,000 Pa/kPa.
  • Rd is the specific gas constant for dry air, 287.05 J/(kg·K), a conventional value.
  • T is absolute temperature in kelvins (K), calculated from Celsius as T = t + 273.15.

Because 1 Pa = 1 J/m³, the units reduce to kg/m³. The formula is a form of the ideal gas law, pV = nRT, written for a gas’s mass rather than its amount in moles. The gas constant is specific to dry air; humid air has a slightly different effective gas constant.

Worked Example

Using the calculator’s default values, temperature is 20 °C and absolute pressure is 101.325 kPa.

  1. Convert temperature to kelvins: T = 20 + 273.15 = 293.15 K.
  2. Convert pressure to pascals: p = 101.325 × 1,000 = 101,325 Pa.
  3. Substitute into the density equation: ρ = 101,325 / (287.05 × 293.15).
  4. Calculate the denominator: 287.05 × 293.15 = 84,141.2075.
  5. Divide and round to three decimal places: ρ ≈ 1.204 kg/m³.

The displayed density is approximately 1.204 kg/m³. The result is an estimate for dry air under the stated ideal-gas model, not a universal fixed density.

Assumptions

  • Air behaves as an ideal gas.
  • The air is dry; water vapour is not modelled separately.
  • The entered pressure is absolute pressure, not gauge pressure.
  • Temperature is uniform and converted to kelvins using +273.15.
  • The specific gas constant is taken as 287.05 J/(kg·K).

What Air Density Means

Density describes how much mass occupies a given volume. A cubic metre of air at the default conditions has a mass of about 1.204 kg. By comparison, air density near sea level is commonly around 1.2 kg/m³, while liquid water is close to 1,000 kg/m³. Air’s low density helps explain why its motion is easily affected by heating, pressure changes, and obstacles.

There is no single density that applies to all air. It varies with temperature, pressure, moisture, and, to a smaller extent in ordinary settings, the composition of the air. Any quoted value is meaningful only when its conditions are specified or understood.

How Temperature, Pressure, and Humidity Change Density

At constant pressure, warmer air is less dense: warming increases the volume occupied by a given mass of gas. At constant temperature, higher pressure makes air denser because more gas mass is packed into the same volume. These are conditional comparisons; in real weather, temperature and pressure can change together.

Humidity also matters. Water vapour molecules have a lower molar mass than the average molecules in dry air, so replacing some dry-air molecules with water vapour makes air slightly less dense at the same temperature and pressure. The calculator ignores this effect and is most suitable when a dry-air approximation is adequate. For precision work involving humid air, use a moist-air calculation with relative humidity or water-vapour pressure included.

Using the Calculator and Reading the Result

Enter the local air temperature in degrees Celsius and the local absolute pressure in kilopascals. The main output is density in kg/m³; a second output shows the converted temperature in kelvins. Use conditions representative of the location and time you care about, rather than assuming sea-level pressure everywhere.

Weather reports and station observations may use different pressure conventions. Absolute pressure is measured from a vacuum. Gauge pressure is measured relative to surrounding atmospheric pressure, so a gauge reading alone is not the value required here. If pressure is provided in another unit, convert it before entering it—for example, 1 atm = 101.325 kPa. Do not enter a negative absolute pressure.

Three decimal places are useful for ordinary comparisons, but they do not imply that every input or assumption is accurate to that precision. If temperature, pressure, or humidity is only approximately known, report the answer as an estimate.

Common Questions About Reference Values and Limits

A familiar reference is 1.225 kg/m³, often associated with the International Standard Atmosphere at sea level: 15 °C and 101.325 kPa. It differs from the calculator’s default because the default temperature is 20 °C. Under the ideal-gas formula, warmer air at the same pressure has lower density. A value near 1.2 kg/m³ is therefore a useful everyday approximation, not a fixed conversion constant.

The formula is useful for basic gas-law estimates, comparing air at different conditions, and understanding why air density affects buoyancy and aerodynamic forces. It is not a detailed atmospheric model. At high altitude, unusual temperatures, or conditions requiring high accuracy, actual air composition, humidity, and non-ideal behaviour may matter. Use a suitable atmospheric or moist-air model when those effects are important.

Frequently Asked Questions

What is the density of air in kg/m³?
Near sea level at about 15 °C, dry air has a density close to 1.225 kg/m³. At 20 °C and 101.325 kPa, the ideal-gas estimate is about 1.204 kg/m³.

Is air density always 1.2 kg/m³?
No. Around 1.2 kg/m³ is a convenient approximation for ordinary near-surface conditions. Temperature, pressure, and humidity change the actual value.

What is the formula for air density?
For dry air treated as an ideal gas, ρ = p/(RdT), where pressure is in pascals, temperature in kelvins, and Rd is 287.05 J/(kg·K).

Does hot air have a higher or lower density?
At the same pressure, hot air has lower density than cool air. Heating expands a given mass of air, so its mass per unit volume falls.

Does humidity make air denser?
At equal temperature and pressure, more humid air is slightly less dense than dry air because water vapour is lighter, on average, than the dry-air molecules it replaces.

Should I use gauge or absolute pressure?
Use absolute pressure, measured from a vacuum. Gauge pressure is relative to the surrounding atmosphere and must be converted to absolute pressure before calculation.

Related

Formula used
in t | Air temperature | °C | 20 | -273.15
in p | Absolute pressure | kPa | 101.325 | 0
out rho | Air density | kg/m3 | (p * 1000) / (287.05 * (t + 273.15)) | 3
out tk | Absolute temperature | K | t + 273.15 | 2

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 →