This calculator estimates the air-density lapse rate between two altitudes: the average change in density per kilometre of vertical rise. Enter the two altitudes and the air densities at those levels to get the rate, with a negative result indicating that density decreases upward.
Formula
The average air-density lapse rate is the change in density divided by the change in altitude:
r = (ρ₂ − ρ₁) / [(z₂ − z₁) / 1000]
- r is the signed average lapse rate in kilograms per cubic metre per kilometre (kg/m³/km).
- ρ₁ and ρ₂ are air densities at the lower and upper measurement levels, in kg/m³.
- z₁ and z₂ are the corresponding altitudes, in metres. The denominator converts the altitude difference from metres to kilometres by dividing by 1,000.
The second output, g, reports the density decrease per kilometre as a positive number when density falls with altitude. It is simply −r. A density increase with height makes g negative. This is an average across the selected layer, not necessarily the local rate at every point within it.
Worked Example
Using the calculator’s defaults, the lower level is z₁ = 0 m with density ρ₁ = 1.225 kg/m³; the upper level is z₂ = 1,000 m with density ρ₂ = 1.112 kg/m³.
- Altitude difference: 1,000 − 0 = 1,000 m.
- Convert the difference to kilometres: 1,000 / 1,000 = 1 km.
- Density change: 1.112 − 1.225 = −0.113 kg/m³.
- Signed lapse rate: −0.113 / 1 = −0.1130 kg/m³/km.
- Density decrease per kilometre: (1.225 − 1.112) / 1 = 0.1130 kg/m³/km.
Assumptions
- The calculation is a straight average between two reported levels; it does not assume that density changes linearly at every intermediate altitude.
- Both density values use the same units and refer to comparable air samples and measurement conditions.
- The upper altitude must be greater than the lower altitude. The density inputs must be nonnegative.
What an Air Density Lapse Rate Means
Air density is mass per unit volume. It depends chiefly on pressure, temperature and the composition of the air. In the lower atmosphere, pressure generally falls with altitude because less air lies above a given level. As a result, density usually decreases upward as well, though temperature changes and weather can alter the amount and pattern of that decrease.
“Lapse rate” can refer to a change per unit height, but the term is especially familiar in meteorology as the temperature lapse rate. There is no single universal air-density lapse rate comparable to a fixed constant: the density change depends on the altitude interval and the atmospheric conditions. Always state the interval and conditions when comparing rates.
The calculator uses a signed convention: a negative rate means density is lower at the upper point. Some references instead describe the positive magnitude of the decrease. The two outputs make this distinction explicit; check which convention a source or application uses before comparing figures.
How Density Changes With Altitude
For dry air treated approximately as an ideal gas, density can be related to pressure and absolute temperature by:
ρ = p / (RdT)
- ρ is density in kg/m³.
- p is air pressure in pascals (Pa).
- T is absolute temperature in kelvins (K).
- Rd is the specific gas constant for dry air, approximately 287.05 J/(kg·K).
This relation explains why altitude alone does not determine density. At a given pressure, warmer air is less dense than colder air. At a given temperature, higher pressure means greater density. Water vapour also matters: moist air is slightly less dense than dry air at the same temperature and pressure because water molecules have lower molar mass than the main constituents of dry air.
In a simplified, hydrostatic atmosphere with constant temperature, density and pressure decline approximately exponentially with height, rather than at a constant rate. Real atmospheric temperature is not constant, so a rate calculated across a layer is an average that can conceal changes within it. Near the ground, local heating, inversions, fronts and terrain can make vertical profiles depart substantially from a simple standard-atmosphere picture.
Choosing Inputs and Reading the Result
Use density observations or values calculated for the same place and time, preferably from a reliable weather or atmospheric dataset. The calculator does not infer density from altitude: it requires density at both endpoints. If the figures were derived from pressure and temperature, use consistent units and a suitable moist-air or dry-air calculation for both.
- Enter altitudes in metres and densities in kg/m³; convert other units before entering them.
- Put the lower-altitude value in the first pair of fields and the higher-altitude value in the second pair.
- Use the same altitude reference for both readings, such as altitude above sea level. Mixing reference datums distorts the layer height.
- Keep meaningful precision in the inputs. The four decimal places shown in the result do not make approximate measurements more precise.
If density decreases from 1.20 kg/m³ at 500 m to 1.10 kg/m³ at 1,500 m, the average signed rate is −0.10 kg/m³/km. This means density fell by an average of 0.10 kg/m³ for each kilometre across that layer. It does not mean density falls by that exact amount in every kilometre at other altitudes.
Common Misconceptions and Limitations
A frequent mistake is to treat the rate as a universal number or assume it is constant throughout the atmosphere. It is not. Another is to confuse density lapse rate with temperature lapse rate: they have different units and describe different quantities. Temperature lapse rate is commonly expressed in degrees per kilometre; this calculator’s output is in kg/m³/km.
Sign errors are also common. Subtracting lower density from upper density gives a negative result when density decreases with height, which is intentional here. If a source reports a positive “decrease rate,” it is likely giving the magnitude instead. The calculator’s second output provides that magnitude for a normal decrease.
This calculation does not correct measurements for sensor error, terrain, vertical motion or changing weather. It also does not produce a detailed vertical profile. For a local rate, use closely spaced observations and calculate each layer separately; for a standard-atmosphere estimate, use the specified atmospheric model and its stated assumptions.
Frequently Asked Questions
What is the normal air density lapse rate?
There is no single normal value for all altitudes and weather conditions. Density commonly decreases with height, but the average rate depends on pressure, temperature, humidity and the altitude range being compared.
Is air density lapse rate the same as temperature lapse rate?
No. Density lapse rate measures change in mass per volume with height, usually in kg/m³/km. Temperature lapse rate measures temperature change with height, commonly in K/km or °C/km.
Why is the calculated rate negative?
The calculator reports the signed change from the lower altitude to the higher one. A negative value means the upper-level density is lower. The separate decrease output expresses the same fall as a positive magnitude.
Can I calculate density from altitude alone?
Not accurately without additional assumptions. Pressure and temperature are needed, or a defined atmospheric model that supplies them as a function of altitude. Weather and humidity can cause actual density to differ from a standard estimate.
What units should I use?
Enter altitude in metres and density in kg/m³. The result is expressed per kilometre of vertical change. Convert feet, g/cm³ or other units before using the calculator.
Related
Formula used
in z1 | Lower altitude | m | 0 | - in d1 | Density at lower altitude | kg/m³ | 1.225 | 0 in z2 | Upper altitude | m | 1000 | - in d2 | Density at upper altitude | kg/m³ | 1.112 | 0 out r | Air density lapse rate | kg/m³/km | (d2 - d1) / ((z2 - z1) / 1000) | 4 out g | Density decrease per kilometre | kg/m³/km | (d1 - d2) / ((z2 - z1) / 1000) | 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