Air density is about 1,200 g/m³ (1.2 kg/m³) at 20 °C and standard atmospheric pressure. This calculator estimates density from air temperature and pressure, returning the result in g/m³ using the ideal-gas model.
Formula
The calculator uses the ideal-gas density equation:
ρ = p / (Rair × T)
In the calculator’s units, the first output is ρ (g/m³) = [p × 1,000 / (287.05 × (t + 273.15))] × 1,000. Pressure p is entered in kilopascals and converted to pascals by multiplying by 1,000. Temperature t is entered in degrees Celsius and converted to kelvins by adding 273.15. Rair is the specific gas constant for dry air, 287.05 J/(kg·K). The final multiplication by 1,000 converts kg/m³ to g/m³. The second output shows the same density in kg/m³.
Worked Example
Using the calculator’s defaults, t = 20 °C and p = 101.325 kPa:
- Convert temperature: T = 20 + 273.15 = 293.15 K.
- Convert pressure: p = 101.325 × 1,000 = 101,325 Pa.
- Calculate density: ρ = 101,325 / (287.05 × 293.15) = 1.2041 kg/m³.
- Convert to grams per cubic metre: 1.2041 × 1,000 = 1,204.1 g/m³, which rounds to 1,204 g/m³ at the calculator’s one-decimal precision? The calculator displays one decimal place, so the result is 1,204.1 g/m³.
Assumptions
- Air is treated as a dry, ideal gas with a fixed specific gas constant of 287.05 J/(kg·K).
- Pressure is absolute pressure, not gauge pressure.
- The calculation does not correct for humidity, carbon-dioxide variation, or changes in air composition.
What Does Air Density in g/m³ Mean?
Density is mass divided by volume. A value of 1,204 g/m³ means that one cubic metre of air has a mass of about 1,204 grams under the stated conditions. Since 1,000 grams equal one kilogram, air density is often reported in kg/m³ instead. The two units describe the same physical quantity: multiply a value in kg/m³ by 1,000 to get g/m³, or divide g/m³ by 1,000 to get kg/m³.
Air density is not one fixed number. It changes with temperature and pressure, and also shifts with humidity and the proportions of gases in the air. That is why a useful density value should be accompanied by its conditions. The familiar figure around 1.2 kg/m³ is a practical reference for air near room temperature and ordinary sea-level pressure, not a universal constant.
How Temperature and Pressure Affect Density
The ideal-gas equation explains the main trends. At the same pressure, warmer air is less dense because its molecules occupy more volume. At the same temperature, higher pressure makes air denser because more gas molecules are packed into a given volume. For example, at 101.325 kPa, the calculator estimates about 1,204 g/m³ at 20 °C; warming the air lowers the result, while cooling it raises the result.
Pressure generally decreases with altitude, so air at a high-elevation location is less dense than air at sea level at the same temperature. Weather systems also change local pressure. For aviation, ventilation, engineering, and scientific work, the local temperature and absolute pressure are therefore more useful inputs than a generic reference value.
Humidity and the Limits of This Estimate
Water vapor makes humid air slightly less dense than dry air at the same temperature and pressure. This can seem counterintuitive: humid air contains additional water molecules, but a water molecule has a lower molar mass than the average dry-air mixture it displaces. The calculator assumes dry air, so it can overestimate the density of warm, humid air by a modest amount.
For everyday estimates, the dry-air model is often sufficient. More precise calculations may need relative humidity or water-vapor partial pressure, along with a suitable moist-air equation. Likewise, the fixed gas constant and ideal-gas assumption are approximations. For demanding work, use a validated air-property method and measurements appropriate to the application rather than treating this estimate as a calibration value.
Using the Calculator Correctly
- Enter air temperature in °C. The lower limit shown is absolute zero; temperatures close to it are not ordinary atmospheric conditions.
- Enter absolute pressure in kPa. A standard sea-level reference is 101.325 kPa.
- Read the headline result in g/m³. The helper output gives the equivalent kg/m³ value.
Absolute pressure is measured relative to a vacuum. A gauge-pressure reading is measured relative to surrounding atmosphere, so it cannot be entered directly unless converted to absolute pressure. Near sea level, absolute pressure is approximately atmospheric pressure plus gauge pressure. At altitude, use the local atmospheric pressure rather than assuming sea-level conditions.
Do not confuse grams per cubic metre with grams per litre. One cubic metre contains 1,000 litres, so 1,204 g/m³ equals about 1.204 g/L—not 1,204 g/L. Also, adding more decimal places does not make an estimate more accurate than its inputs or assumptions. Temperature and pressure measurement uncertainty, humidity, and the chosen air model all affect the meaningful precision.
Frequently Asked Questions
What is the density of air in g/m³?
Near 20 °C and 101.325 kPa, dry air has a density of about 1,204 g/m³, or 1.204 kg/m³. The value changes with temperature, pressure, and humidity.
Is air density 1.2 kg/m³ or 1,200 g/m³?
Those are equivalent approximate values: 1.2 kg/m³ equals 1,200 g/m³. A more specific value needs stated temperature and pressure.
Does hot air weigh less than cold air?
At the same pressure and volume, hot air is less dense, so the same volume contains less air mass. The comparison assumes pressure and composition are otherwise alike.
Does humidity increase air density?
No. At fixed temperature and pressure, humid air is generally slightly less dense than dry air because water vapor has a lower molar mass than the main components of dry air.
Why does altitude affect air density?
Atmospheric pressure usually falls with altitude. Lower pressure means fewer air molecules in a given volume, reducing density when temperature is comparable.
Can I use this result for exact engineering calculations?
Use it as an ideal-gas estimate for dry air. Applications requiring tight accuracy may need humidity, local conditions, validated property data, and uncertainty analysis.
Related
Formula used
in t | Air temperature | °C | 20 | -273.15 in p | Absolute pressure | kPa | 101.325 | 0 out rho | Air density | g/m³ | (p * 1000) / (287.05 * (t + 273.15)) * 1000 | 1 out rhokg | Air density | kg/m³ | (p * 1000) / (287.05 * (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