Air density at NTP is about 1.20 kg/m³ when NTP means 20 °C and 1 atm, using dry air with a molar mass of about 28.965 g/mol. This calculator uses the ideal-gas law: enter temperature, absolute pressure, and relative humidity to estimate moist-air density in kg/m³.
Formula
The calculator applies the ideal-gas density equation, ρ = pM/(RT). For moist air it treats the gas as a mixture and adds the contributions of dry air and water vapor:
ρ = [p × (1 − φ) × Mair + p × φ × Mwater] / (R × T)
- ρ is estimated air density in kg/m³.
- p is absolute pressure in pascals; the input is in kPa and is multiplied by 1,000.
- φ is the water-vapor fraction of total pressure. The calculator approximates it as relative humidity divided by 100.
- Mair is the conventional mean molar mass of dry air, 0.028965 kg/mol.
- Mwater is water’s molar mass, 0.01801528 kg/mol.
- R is the exact gas constant, 8.31446261815324 J/(mol·K).
- T is absolute temperature in kelvins, calculated as °C + 273.15.
The moist-air estimate is deliberately simple: relative humidity is not generally the same thing as water vapor’s fraction of total pressure. A more exact calculation needs the saturation vapor pressure at the stated temperature and the actual water-vapor partial pressure. The calculator’s dry-air output uses the standard ideal-gas expression directly.
Worked Example
Using the defaults—20 °C, 101.325 kPa, and 0% relative humidity—the temperature is 20 + 273.15 = 293.15 K. The pressure conversion is 101.325 × 1,000 = 101,325 Pa. With zero humidity, the water-vapor term is zero:
ρ = (101,325 × 0.028965) / (8.31446261815324 × 293.15)
ρ ≈ 1.2041 kg/m³. Rounded to the four decimal places specified in the calculator, the result is 1.2041 kg/m³. The dry-air output is the same at 0% humidity.
Assumptions
- Air behaves as an ideal gas, a good approximation for ordinary atmospheric conditions.
- The dry-air molar mass is treated as constant; actual air composition varies slightly.
- The simple humidity estimate uses relative humidity as a proxy for vapor fraction. It is not a precision psychrometric calculation.
- Pressure is absolute, not gauge pressure. Temperature is converted to kelvins before applying the gas law.
What NTP Means
NTP stands for normal temperature and pressure, but it does not have one universally applied temperature and pressure in every field. A common convention uses 20 °C and 1 atm (101.325 kPa); another uses 0 °C and 1 atm. Some technical standards instead specify a pressure of 100 kPa or define a different reference condition. Always check which convention a table, instrument, or calculation uses before comparing density values.
At 0 °C and 1 atm, ideal dry air has a density of about 1.293 kg/m³. At 20 °C and the same pressure, it is about 1.204 kg/m³. The difference is not a contradiction: warmer gas occupies more volume at a given pressure, so its mass per unit volume is lower.
“Standard temperature and pressure” (STP) is also not a guaranteed synonym for NTP. Textbooks, gas-volume conventions, and regulations may assign different reference values to these abbreviations. For a reproducible calculation, report the actual temperature and absolute pressure alongside the density.
How Temperature, Pressure, and Humidity Affect Density
For dry air of fixed composition, density is proportional to absolute pressure and inversely proportional to absolute temperature: ρ = pM/(RT). Doubling pressure at unchanged temperature approximately doubles density. Raising temperature at unchanged pressure lowers density; use kelvins in the equation, not degrees Celsius by themselves.
Water vapor is less massive per mole than the nitrogen- and oxygen-rich mixture that makes up dry air. At the same temperature and total pressure, humid air is therefore generally less dense than dry air. The size of the change depends on temperature and moisture content. Relative humidity alone does not tell you the vapor pressure without knowing temperature, which is why accurate calculations use saturation vapor pressure or a psychrometric model.
Air composition matters as well. Dry-air molar mass is an average, not the molar mass of a single molecule. Carbon dioxide concentration, altitude, and local environmental conditions can shift the value slightly. For most classroom or ordinary engineering estimates, the difference is smaller than the changes caused by temperature and pressure.
Using the Calculator and Reading the Result
Enter the air temperature in °C, the absolute pressure in kPa, and relative humidity from 0 to 100%. The first result is the moist-air estimate; the second is the dry-air density at the same temperature and pressure. With the default 0% humidity, both values match.
- Use absolute pressure. If you have a gauge-pressure reading, convert it by adding local atmospheric pressure before entering it.
- Keep units consistent with the displayed inputs. The calculator converts kPa to Pa and Celsius to kelvins internally.
- Use the same reference conditions when comparing a result with a handbook value or gas-flow specification.
- For high-accuracy work, use a moist-air model that derives water-vapor partial pressure from temperature and relative humidity.
Density is mass divided by volume. A value of 1.2041 kg/m³ means that one cubic metre of air has an estimated mass of 1.2041 kg under the entered conditions. It does not mean the density of every sample of air, since weather and elevation change pressure, temperature, and moisture.
Common Mistakes and Limits
The most common error is mixing reference conventions: quoting an NTP density without saying whether the temperature is 0 °C or 20 °C. Another is entering gauge pressure as if it were absolute pressure. Gauge pressure measures pressure above the surrounding atmosphere; the ideal-gas law requires pressure relative to a vacuum.
A further source of error is using Celsius directly in a gas-law calculation. The conversion is T(K) = t(°C) + 273.15. The calculator handles this conversion, but it assumes that the entered temperature is a valid gas temperature and that the ideal-gas approximation is suitable.
This tool is intended for estimates, not certified measurements or detailed atmospheric modeling. It does not account for gas non-ideality, changing air composition, altitude-specific standards, or the proper temperature-dependent relationship between relative humidity and vapor pressure. For ventilation design, flow measurement, or other work with specified accuracy requirements, use the applicable standard and its prescribed air-property method.
Frequently Asked Questions
What is the density of air at NTP?
There is no single answer until NTP is defined. For dry air at 20 °C and 1 atm, density is about 1.204 kg/m³. At 0 °C and 1 atm, it is about 1.293 kg/m³.
Is NTP the same as STP?
Not necessarily. Both abbreviations describe reference conditions, but conventions differ by discipline and source. Check the stated temperature and pressure instead of relying on the abbreviation alone.
Does humid air weigh more than dry air?
At the same temperature and total pressure, humid air is usually less dense because water vapor has a lower molar mass than dry air’s average. The exact difference depends on temperature and water-vapor content.
What is the ideal-gas formula for air density?
For dry air, use ρ = pM/(RT), with absolute pressure p, molar mass M, gas constant R, and absolute temperature T. Convert pressure to pascals and temperature to kelvins when using SI units.
Does air density decrease with altitude?
Usually, yes. Atmospheric pressure generally decreases as altitude increases, reducing density. Temperature and weather also vary with altitude, so pressure alone does not determine the exact local value.
Related
Formula used
in t | Temperature | °C | 20 | -273.15 in p | Absolute pressure | kPa | 101.325 | 0 in h | Relative humidity | % | 0 | 0 | 100 out rho | Air density | kg/m³ | (p * 1000 * (1 - h / 100) * 0.028965 + p * 1000 * (h / 100) * 0.01801528) / (8.31446261815324 * (t + 273.15)) | 4 out rhod | Dry-air density at same temperature and pressure | kg/m³ | p * 1000 * 0.028965 / (8.31446261815324 * (t + 273.15)) | 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
- Skip Calculator for Soil: What It Can and Can’t Do7.500 m³
- USD to KPW Calculator: Convert Dollars to North Korean Won90,000.00 KPW
- OK Calculator on TV on the Radio? Meaning Explained
- Pension Calculator KP: Estimate Your Pension Benefits
- Neonatal Kp Calculator: What It Means80.0000 mmol/mmol
- Newton to kp Converter Calculator and Formula1.0000 kp