Air density decreases as altitude increases because atmospheric pressure falls, so fewer air molecules occupy each cubic metre. This calculator estimates air density from altitude using the standard atmosphere; enter altitude in metres above sea level to get density in kg/m³, along with the corresponding standard pressure and temperature.
Formula
This calculator uses the International Standard Atmosphere (ISA) model for the troposphere, from sea level through 11,000 m. Its density equation is:
ρ = 1.225 × (1 − 0.0065h / 288.15)4.2558797
- ρ is air density in kilograms per cubic metre (kg/m³).
- h is altitude above mean sea level in metres (m).
- 1.225 kg/m³ is the ISA sea-level density; 288.15 K is the ISA sea-level temperature.
- 0.0065 K/m is the standard temperature lapse rate in the troposphere.
The same model gives pressure as p = 101325 × (1 − 0.0065h / 288.15)5.2558797, where p is in pascals (Pa), and temperature as T = 288.15 − 0.0065h, where T is in kelvins (K). The density relationship follows the ideal-gas law, ρ = p/(RairT), with the dry-air specific gas constant Rair approximately 287.05 J/(kg·K). The exponents are the standard-atmosphere form of that pressure and temperature relationship.
Worked Example
At the default altitude, h = 0 m:
- Temperature: T = 288.15 − 0.0065 × 0 = 288.15 K.
- Pressure: p = 101325 × (1 − 0.0065 × 0 / 288.15)5.2558797 = 101325 Pa.
- Density: ρ = 1.225 × (1 − 0.0065 × 0 / 288.15)4.2558797 = 1.225 kg/m³, shown to three decimal places.
For a practical comparison, substituting h = 5,000 m gives a standard-atmosphere density of about 0.736 kg/m³. That is roughly 60% of the sea-level value: the air is substantially thinner, although it is not close to a vacuum.
Assumptions
- Altitude is measured above mean sea level, not height above a nearby field or building.
- The atmosphere follows the ISA temperature profile and hydrostatic pressure model in the troposphere.
- Air behaves as an ideal gas and is treated as dry air with a fixed gas constant.
- The model represents standard conditions, not the actual weather at a particular location and time.
Why Air Gets Thinner With Altitude
Gravity pulls air toward Earth, making the atmosphere denser near the surface. The weight of the air above a location creates atmospheric pressure. As altitude rises, there is less air overhead, so pressure falls. Lower pressure means fewer molecules in a given volume, which is why density generally declines with height.
Temperature also matters. At a given pressure, warmer air is less dense than cooler air because its molecules occupy more volume. In the standard troposphere, temperature falls with altitude as well as pressure, so the density change is not simply a direct copy of the pressure change. The calculator accounts for both effects through the standard-atmosphere formula.
Altitude is only one influence on density. Real air changes with temperature, humidity, and weather systems. 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. For precise engineering or flight calculations, current local pressure, temperature, and humidity may be needed instead of a standard-atmosphere estimate.
Example Altitudes and Practical Effects
The ISA sea-level reference is 1.225 kg/m³. At about 5,000 m, the standard value is roughly 0.736 kg/m³; by 11,000 m, where the ISA tropospheric temperature lapse ends, it is about 0.364 kg/m³. These are model values, not guarantees for every place at those elevations. A high plateau can have different pressure and temperature from the ISA atmosphere at the same elevation.
Lower density affects several everyday and technical situations:
- Aircraft: Wings and propellers interact with fewer air molecules per unit volume, affecting lift, engine performance, and takeoff distance. Pilots use air-density-related measures such as density altitude, which also accounts for nonstandard temperature and pressure.
- Engines: A naturally aspirated engine takes in less oxygen per intake volume in thin air, generally reducing available power. Engine controls and forced induction can change the details.
- Sports and breathing: Each breath at altitude contains fewer oxygen molecules than the same volume at sea level. The oxygen fraction of dry air remains close to 20.95%; what falls is total pressure and therefore oxygen partial pressure.
- Wind and sound: Air density affects aerodynamic drag and the propagation of sound, though temperature, speed, and other factors also matter.
Limits and Common Misconceptions
The calculator is designed for the troposphere, from −5,000 m to 11,000 m. Its temperature equation assumes a constant lapse rate of 6.5 K per kilometre. Above 11,000 m the standard atmosphere uses a different temperature layer, so extending this expression upward would give misleading results. Below sea level the equation can be useful within its stated range, but local conditions may differ.
A common misconception is that the percentage of oxygen in air drops sharply with altitude. For ordinary atmospheric air, the oxygen fraction stays nearly constant; the lower barometric pressure means each breath delivers fewer oxygen molecules. Another mistake is treating a mountain’s elevation as its exact atmospheric altitude. Local pressure varies with weather, and temperature can differ markedly from standard conditions, so a real density measurement or a model using observed conditions may be more appropriate.
Density is mass per volume, not pressure itself. Pressure is measured in pascals, while density is measured in kg/m³. They are related through temperature and gas composition, but you cannot convert one to the other without those assumptions or additional inputs. This calculator is for standard-atmosphere estimates rather than a substitute for operational aviation data or detailed atmospheric measurements.
Frequently Asked Questions
How much does air density decrease with altitude?
There is no single percentage per kilometre because the relationship is nonlinear and depends on atmospheric conditions. Under the ISA model, density is about 1.225 kg/m³ at sea level and about 0.736 kg/m³ at 5,000 m.
What is the density of air at sea level?
The standard-atmosphere sea-level value is 1.225 kg/m³ at 15 °C (288.15 K) and 101,325 Pa. Actual air density varies with local temperature, pressure, and humidity.
Does oxygen percentage decrease at high altitude?
The oxygen fraction of dry air remains close to 20.95% through the lower atmosphere. Oxygen partial pressure decreases as total atmospheric pressure falls, so a given breath contains fewer oxygen molecules.
Is air density the same at a given altitude everywhere?
No. Altitude alone does not determine actual density. Weather-related pressure changes, temperature, and humidity mean that two locations at the same elevation can have different air densities.
What is the difference between altitude and density altitude?
Altitude is a geometric height above a reference level, commonly mean sea level. Density altitude is the altitude in the standard atmosphere at which air would have the same density as the air being considered; it changes with actual temperature and pressure and is useful in aviation performance calculations.
Related
Formula used
in h | Altitude above sea level | m | 0 | -5000 | 11000 out rho | Air density | kg/m^3 | 1.225 * (1 - 0.0065 * h / 288.15) ^ 4.2558797 | 3 out p | Standard atmospheric pressure | Pa | 101325 * (1 - 0.0065 * h / 288.15) ^ 5.2558797 | 0 out t | Standard air temperature | K | 288.15 - 0.0065 * h | 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
- 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