This air-density calculator estimates the density of dry air from its temperature and pressure, then provides a temperature table at the same pressure. Enter temperature in °C and pressure in kPa; the result is density in kg/m³, calculated using the ideal-gas relation.
Formula
The calculator uses the ideal-gas density equation, ρ = p / (Rair T). In the calculator’s units this is ρ = (p × 1000) / [287.05 × (t + 273.15)].
- ρ is air density in kilograms per cubic metre (kg/m³).
- p is absolute air pressure in kilopascals (kPa); multiplying by 1000 converts it to pascals (Pa).
- t is air temperature in degrees Celsius (°C); adding 273.15 converts it to kelvins (K).
- Rair is the specific gas constant used for dry air, 287.05 J/(kg·K).
Pressure must be absolute pressure, not gauge pressure. The expression uses a practical dry-air approximation and returns a calculated value, not a direct measurement.
Worked Example
Using the calculator’s default temperature of 20 °C and pressure of 101.325 kPa:
Convert temperature: T = 20 + 273.15 = 293.15 K.
Convert pressure: p = 101.325 × 1000 = 101325 Pa.
Calculate density: ρ = 101325 / (287.05 × 293.15) = 1.2041 kg/m³, rounded to three decimal places: 1.204 kg/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 in kPa, not pressure relative to the surrounding atmosphere.
- Temperature is uniform and is converted from Celsius to kelvins before calculation.
- The estimate does not separately account for humidity, gas composition, or non-ideal effects.
Air Density Temperature Table
The table below holds pressure at 101.325 kPa, approximately standard sea-level pressure, and applies the same dry-air equation. It is useful for quick comparisons, but local atmospheric pressure and humidity can make actual density differ.
| Temperature | Air density at 101.325 kPa |
|---|---|
| −20 °C | 1.394 kg/m³ |
| −10 °C | 1.342 kg/m³ |
| 0 °C | 1.292 kg/m³ |
| 10 °C | 1.247 kg/m³ |
| 20 °C | 1.204 kg/m³ |
| 25 °C | 1.184 kg/m³ |
| 30 °C | 1.164 kg/m³ |
| 40 °C | 1.127 kg/m³ |
At constant pressure, warmer air has lower density because the same mass occupies more volume as its absolute temperature rises. The change is not a fixed amount per degree: the equation makes density inversely proportional to kelvin temperature. Pressure matters too, so a table is only valid for the pressure stated in its heading.
How to Use the Result
Enter the air temperature and the local absolute pressure. For a weather-station pressure reported in kPa, use that value directly if it is corrected to sea level only when you specifically want sea-level density. To estimate density at a site’s altitude, use the actual local station pressure instead of sea-level-corrected pressure.
- For a quick standard-atmosphere comparison near sea level, 101.325 kPa is a conventional reference pressure.
- For aircraft, ventilation, combustion calculations, or aerodynamic estimates, use the pressure and temperature relevant to the operating location and follow the applicable technical method.
- For a density in g/L, note that 1 kg/m³ has the same numerical value as 1 g/L.
The calculator accepts temperatures down to absolute zero mathematically, but ordinary air cannot remain a gas under all conditions near that limit. Treat unusually low or high temperatures as requiring a more appropriate physical model rather than assuming this simple estimate remains valid.
What Changes Air Density?
Temperature, pressure, and composition are the key influences. At the same pressure, heating air reduces density. At the same temperature, increasing pressure raises density. Water vapor also affects density: humid air is slightly less dense than dry air at the same temperature and pressure because water molecules have lower molar mass than the average molecules in dry air.
Humidity is omitted from this calculator, so its result is best understood as a dry-air estimate. For precision work, use a moist-air calculation that includes water-vapor content and the relevant pressure. Small differences may also arise from the chosen dry-air gas constant, rounding, and the exact atmospheric composition.
Common Mistakes and Limits
- Using gauge pressure: Gauge pressure is measured relative to ambient pressure and cannot be substituted as though it were absolute. Convert it by adding ambient pressure.
- Mixing Celsius and kelvins: The gas-law temperature must be absolute. Using 20 directly instead of 293.15 produces a physically wrong result.
- Assuming pressure is always standard: Weather, altitude, and indoor pressurization change pressure; temperature alone does not determine density.
- Reading more precision than warranted: Three decimal places are convenient for comparison, but they do not mean the input conditions or model are accurate to that precision.
The ideal-gas approximation works well for many ordinary atmospheric calculations. It is not a substitute for a standard-atmosphere model, a humid-air property calculation, or measured values where the application requires greater accuracy.
Frequently Asked Questions
What is the density of air at 20 °C?
At 20 °C and 101.325 kPa, the dry-air estimate is about 1.204 kg/m³. The value changes with pressure and humidity.
Does air density decrease when temperature rises?
Yes, if pressure stays constant. Warm air expands, so its mass per unit volume decreases.
What is the density of air at 0 °C?
At 0 °C and 101.325 kPa, this dry-air calculation gives about 1.292 kg/m³.
Is humid air denser than dry air?
No. At the same temperature and pressure, humid air is generally slightly less dense than dry air because water vapor has a lower molecular mass than dry air’s average molecular mass.
Why does altitude affect air density?
Atmospheric pressure generally decreases with altitude. Lower pressure means fewer air molecules per unit volume, although temperature and weather also influence the local value.
Related
Formula used
in t | Air temperature | °C | 20 | -273.15 in p | Air pressure | kPa | 101.325 | 0.001 out rho | Air density | kg/m^3 | (p * 1000) / (287.05 * (t + 273.15)) | 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
- Isotope Percent Abundance Calculator and How to Use It75.91 %
- Percentage Abundance Calculator and How to Find It
- Isotope Fractional Abundance Calculator and Formula0.2409 fraction
- Percent Abundance Formula: Calculate Isotope Percentages25.00 %
- Isotope Percent Abundance Calculator and How to Use It50.00 %
- Isotope Percent Abundance Calculator and How-To Guide75.91 %