Barometric formula
The barometric formula is a formula used to model how the air pressure changes with altitude.
Model equations
The U.S. Standard Atmosphere gives two equations for computing pressure as a function of height, valid from sea level to 86 km altitude. The first equation is applicable to the atmospheric layers in which the temperature is assumed to vary with altitude at a non null temperature gradient of :The second equation is applicable to the atmospheric layers in which the temperature is assumed not to vary with altitude :
, where:
- = reference pressure
- = reference temperature
- = temperature gradient, e.g. -6.5 K/km at sea level. This is the lapse rate with the opposite sign convention.
- = geopotential height at which pressure is calculated
- = geopotential height of reference level b
- = universal gas constant: taken to be 8.31432×103 N·m/, although the actual constant's value in those units rounds to 8.31446.
- = mean molar mass of air at sea level: 28.9644 kg/kmol
- *Neither * nor 0 use correct SI units - both use kmol rather than mol. In particular, care must be taken when replacing 0 with more current values.
- = The gravitational acceleration in units of geopotential height, 9.80665 m/s2
- = reference pressure
- = reference temperature
- = temperature gradient
- = height at which pressure is calculated
- = height of reference level b
- = universal gas constant; using feet, kelvins, and moles: taken to be roughly by correctly converting the taken constant from metric to imperial.
- = gravitational acceleration:
- = mean molar mass of Earth's air: .
Density can be calculated from pressure and temperature using
, where
- is the molecular weight at sea level
- is the mean molecular weight at the altitude of interest
- is the temperature at the altitude of interest
- is the molecular-scale temperature.
Alternatively, density equations can be derived in the same form as those for pressure, using reference densities instead of reference pressures.
This model, with its simple linearly segmented temperature profile, does not closely agree with the physically observed atmosphere at altitudes below 20 km. From 51 km to 81 km it is closer to observed conditions.
Derivation
The barometric formula can be derived using the ideal gas law:Assuming that all pressure is hydrostatic:
and dividing this equation by we get:
Integrating this expression from the surface to the altitude z we get:
Assuming linear temperature change and constant molar mass and gravitational acceleration, we get the first barometric formula:
Instead, assuming constant temperature, integrating gives the second barometric formula:
In this formulation, R* is the gas constant, and the term R*T/''Mg'' gives the scale height.
The derivation shown above uses a method that relies on classical mechanics. There are several alterantive derivations, the most notable are the ones based on thermodynamic forces and statistical mechanics.