Air density is about 1.225 kg/m³ at 15 °C and standard atmospheric pressure at sea level; the exact value changes with temperature, pressure, humidity, and altitude. This calculator estimates the density of dry air from pressure and temperature, with pressure entered in kilopascals and temperature in degrees Celsius, and returns kilograms per cubic metre.
Formula
The ideal-gas density equation is ρ = p / (Rair T). In this calculator’s units it is ρ = (p × 1000) / [287.05 × (t + 273.15)].
- ρ is dry-air density in kilograms per cubic metre (kg/m³).
- p is absolute pressure in kilopascals (kPa); multiplying by 1,000 converts it to pascals (Pa).
- Rair is the specific gas constant for dry air, 287.05 joules per kilogram per kelvin (J/(kg·K)).
- T is absolute temperature in kelvins (K); convert Celsius with T = t + 273.15.
The relationship follows from the ideal-gas law. Density equals mass divided by volume, and for a gas its pressure, temperature, and volume are related by pV = nRT. Using air’s molar mass to express the gas constant per unit mass gives the density form above. The estimate assumes air behaves as an ideal gas, a good approximation for ordinary atmospheric conditions.
Worked Example
Using the calculator’s defaults, pressure is 101.325 kPa and temperature is 15 °C.
- Convert the temperature: T = 15 + 273.15 = 288.15 K.
- Convert pressure: p = 101.325 × 1,000 = 101,325 Pa.
- Substitute: ρ = 101,325 / (287.05 × 288.15).
- Calculate: ρ ≈ 1.225 kg/m³ when rounded to three decimal places.
The result is an estimate for dry air at the stated pressure and temperature. The second output, absolute temperature, is included to make the Celsius-to-kelvin conversion visible.
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.
- Temperature is uniform and entered in degrees Celsius; the equation uses kelvins.
- At ordinary weather conditions, this is a useful approximation, not a humidity-corrected measurement.
What Air Density Means
Density describes how much mass occupies a given volume. A density of 1.225 kg/m³ means that one cubic metre of air has a mass of approximately 1.225 kilograms under the specified conditions. It does not mean that air has a fixed mass: the same volume can contain more or less air as its pressure, temperature, and composition change.
Because air is compressible, quoting a density without stating conditions can be misleading. A value near 1.2 kg/m³ is a familiar rule of thumb around sea level at moderate temperatures, but it should not be treated as a universal constant. For engineering, weather, or laboratory calculations, use the pressure and temperature relevant to the situation.
How Temperature, Pressure, and Humidity Affect It
At fixed pressure, warmer air is less dense: heating increases the volume occupied by a given mass of gas. At fixed temperature, raising pressure makes air denser because more gas mass is packed into each unit of volume. These statements assume the other listed conditions stay constant.
Altitude usually affects density because atmospheric pressure generally falls as elevation increases. Temperature also varies with altitude and weather, so elevation alone is not enough to determine an exact value. If a reliable local pressure is available, enter it directly rather than trying to infer density from altitude alone.
Moist air is slightly less dense than dry air at the same temperature and pressure. Water molecules have a lower molar mass than the average molecules in dry air, so replacing some nitrogen and oxygen with water vapour lowers the mixture’s average molecular mass. The calculator uses a dry-air approximation; for high-accuracy meteorology or psychrometric work, account for humidity with an appropriate moist-air equation.
Using the Calculator Correctly
- Enter pressure in kPa. For example, standard sea-level pressure is 101.325 kPa, equivalent to 101,325 Pa.
- Use absolute pressure. A gauge-pressure reading is relative to surrounding air, so it cannot be entered directly; add local atmospheric pressure to gauge pressure first, using consistent units.
- Enter temperature in °C, including negative values when appropriate. The calculator converts it to kelvins; physical temperatures cannot be below −273.15 °C.
- Read the first result as kg/m³. To estimate the mass in a known volume, multiply density by volume in m³: mass = density × volume.
For example, if air density is 1.225 kg/m³, a volume of 2 m³ contains about 2.45 kg of air under those same conditions. Keep the conditions consistent: if the air changes temperature or pressure, recalculate before applying the density to a different volume or location.
Common Mix-Ups and Limits
The most common error is confusing gauge pressure with absolute pressure. A gauge pressure of zero means pressure equals the surrounding atmosphere, not that pressure is zero. Using zero in the density equation would incorrectly give zero density.
Another frequent mistake is using Celsius directly in the gas-law equation. Temperature must be absolute, so add 273.15 before multiplying by the gas constant. Also check pressure units: the displayed formula converts kPa to Pa by multiplying by 1,000. If you substitute pascals into a formula that already applies this conversion, the answer will be too large by a factor of 1,000.
The calculation is not intended for unusual high-pressure or very low-temperature conditions where non-ideal gas behaviour can matter, nor does it model humidity, changing air composition, or local variations in gravity. For high-precision work, use a standard moist-air or real-gas model and measured environmental inputs. Density also differs from weight: kilograms measure mass, while weight is a force measured in newtons and depends on gravitational acceleration.
Frequently Asked Questions
What is the density of air in kg/m³?
At 15 °C and 101.325 kPa, dry air has a density of about 1.225 kg/m³. Other conditions produce different values.
How many kilograms does one cubic metre of air weigh?
At the stated reference conditions, one cubic metre has a mass of about 1.225 kg. Strictly, kilograms express mass; its weight on Earth is a force of roughly 12.0 N.
Is air density always 1.225 kg/m³?
No. That is a reference value for particular temperature and pressure conditions. Warmer air and lower pressure generally mean lower density; humidity also makes a small difference.
How do I calculate air density from pressure and temperature?
Use ρ = p/(287.05T), with absolute pressure in pascals and temperature in kelvins. Convert kPa to Pa by multiplying by 1,000 and Celsius to kelvins by adding 273.15.
Does altitude change air density?
Usually. Atmospheric pressure generally decreases with altitude, reducing density, although temperature and weather also influence the result. For an estimate, use the actual local pressure and temperature.
Related
Formula used
in p | Absolute pressure | kPa | 101.325 | 0 in t | Air temperature | °C | 15 | -273.15 out rho | Density of dry air | kg/m³ | (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
- Pressure Density Depth Formula for Fluids98,066 Pa
- Pressure Density Temperature Equation Calculator100,961.74 Pa
- Pressure Density Cup: What It Measures and How It Works1.0000 g/mL
- Pressure, Density, and Temperature: How They Relate101,307 Pa
- Pressure-Based vs Density-Based Solvers in CFD
- Pressure-Based vs Density-Based Solvers in CFD