molecalculator

Moles & Molar Mass

Air Density Formula by Altitude: Calculate It

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

Air density 1.087 kg/m^3
Standard-atmosphere pressure
89,875 Pa
Result, rounded to a whole number
Altitude above sea level
1000 m
Set in the form below
Air temperature
15 °C
Set in the form below
You enter
Altitude above sea level (m), Air temperature (°C)
You get
Air density (kg/m^3), Standard-atmosphere pressure (Pa)
Rounding
3 dp · 0 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.

The air-density formula by altitude estimates how much a given volume of air weighs at a specified height, using air pressure and temperature. Enter altitude and temperature to calculate density from the standard atmosphere; the result is an estimate, since actual weather changes pressure and temperature.

Formula

This calculator uses the ideal-gas relation for dry air, paired with the standard-atmosphere pressure model for the troposphere:

ρ = p / (Rd T)

For the pressure estimate, it uses p = 101325 × (1 − 0.0065h / 288.15)5.25588.

  • ρ is air density in kilograms per cubic metre (kg/m³).
  • p is air pressure in pascals (Pa), calculated from altitude under the standard atmosphere.
  • Rd is the specific gas constant for dry air, 287.05287 joules per kilogram per kelvin (J/(kg·K)).
  • T is absolute air temperature in kelvins (K), calculated as temperature in °C + 273.15.
  • h is altitude above mean sea level in metres (m).

The pressure expression assumes the tropospheric standard temperature lapse rate of 0.0065 K per metre and sea-level standard pressure of 101325 Pa. The calculator’s altitude range is limited to this model’s useful lower-atmosphere context; it is not an all-altitude atmosphere model.

Worked Example

For the default inputs, altitude is 1000 m and air temperature is 15 °C. First convert the temperature to kelvins:

T = 15 + 273.15 = 288.15 K

Estimate standard pressure at 1000 m:

p = 101325 × (1 − 0.0065 × 1000 / 288.15)5.25588 ≈ 89874.6 Pa

Then apply the ideal-gas relation:

ρ = 89874.6 / (287.05287 × 288.15) ≈ 1.086 kg/m³

The calculator displays 1.086 kg/m³ to three decimal places. Its pressure output is rounded to the nearest pascal, so use the unrounded pressure in the density calculation when reproducing the result.

Assumptions

  • Air is treated as dry and as an ideal gas, with constant specific gas constant Rd = 287.05287 J/(kg·K).
  • Pressure follows the standard-atmosphere tropospheric model, not live weather measurements.
  • Temperature is supplied independently; it need not equal the standard-atmosphere temperature at that altitude.
  • Altitude is measured relative to mean sea level, and temperature is converted from °C to K by adding 273.15.

How Altitude Changes Air Density

Air becomes less dense as altitude increases mainly because the weight of the air above a location falls, reducing pressure. At the same temperature, lower pressure means fewer air molecules in each cubic metre. Temperature matters too: at the same pressure, warmer air is less dense because the gas expands.

At standard sea-level pressure and 15 °C, the ideal-gas equation gives a density of about 1.225 kg/m³. The worked example at 1000 m gives about 1.086 kg/m³ at the same temperature. These are reference estimates, not guaranteed local observations. A weather system can make actual pressure differ from standard pressure, and the local temperature can depart substantially from the assumed value.

When to Use This Estimate

Altitude-based density estimates are useful when a rough atmospheric value is needed for an engineering calculation, a classroom problem, or understanding why conditions change with elevation. Air density affects aerodynamic lift and drag, engine air intake, and the buoyancy of objects. For precise work, calculate from measured local pressure, temperature, and—if necessary—humidity rather than treating altitude as a substitute for weather data.

When measured pressure is available, use ρ = p/(RdT) directly, with pressure in pascals and temperature in kelvins. Do not feed altitude into a pressure formula and then also use a measured pressure; those are alternative ways to obtain p. If pressure is reported in kilopascals, multiply by 1000 to convert to pascals before using the equation.

Common Mistakes and Model Limits

  • Using Celsius in the gas-law denominator: convert to kelvins by adding 273.15. Dividing by 15 °C would be physically invalid.
  • Mixing pressure units: the expression here produces pascals. The gas constant is in J/(kg·K), equivalent to Pa·m³/(kg·K), so the units yield kg/m³.
  • Assuming altitude determines actual conditions: it supplies a standard pressure estimate only. Weather, terrain, and local temperature create differences.
  • Applying the troposphere equation too high: the pressure expression is not a universal formula for the entire atmosphere. Above the troposphere, atmospheric temperature patterns change and a different layer model is needed.
  • Ignoring water vapour: humid air at the same pressure and temperature is slightly less dense than dry air because water molecules have lower molar mass than the average dry-air mixture.

The calculator allows temperatures down to absolute zero as a mathematical boundary, but air is not a real gas with ordinary atmospheric behaviour near that limit. Its pressure and temperature model should be used only for plausible atmospheric conditions. For aircraft performance, detailed weather analysis, or safety-critical design, use the applicable technical standard and verified local atmospheric data.

Frequently Asked Questions

What is the formula for air density at altitude?
Use ρ = p/(RdT), where density is in kg/m³, pressure is in Pa, temperature is in K, and Rd for dry air is 287.05287 J/(kg·K). To estimate pressure from altitude in the troposphere, use a standard-atmosphere pressure model.

What is the density of air at 1000 metres?
It depends on temperature and weather. Under the calculator’s standard-pressure estimate at 1000 m and 15 °C, density is about 1.086 kg/m³.

Does air density always decrease with altitude?
In the lower atmosphere, pressure generally decreases with altitude, so density usually decreases too. A local temperature change affects the exact value, and the atmosphere’s temperature profile changes by layer.

Does humidity increase or decrease air density?
At the same pressure and temperature, adding water vapour generally lowers air density slightly, because water vapour has a lower molecular mass than the average dry-air mixture.

Can I calculate air density from altitude alone?
You can estimate it only by adopting a standard atmosphere and a temperature assumption. For actual density, use local pressure and temperature; humidity may also matter when accuracy is important.

Related

Formula used
in h | Altitude above sea level | m | 1000 | -5000 | 20000
in t | Air temperature | °C | 15 | -273.15 | 100
out rho | Air density | kg/m^3 | (101325 * (1 - 0.0065 * h / (288.15)) ^ 5.25588) / (287.05287 * (t + 273.15)) | 3
out p | Standard-atmosphere pressure | Pa | 101325 * (1 - 0.0065 * h / 288.15) ^ 5.25588 | 0

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 →