The barometric formula is a
formula
In science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''chemical formula''. The informal use of the term ''formula'' in science refers to the general construct of a relationship betwe ...
used to model how the
air pressure
Atmospheric pressure, also known as air pressure or barometric pressure (after the barometer), is the pressure within the atmosphere of Earth. The Standard atmosphere (unit), standard atmosphere (symbol: atm) is a unit of pressure defined as , whi ...
(or
air density
The density of air or atmospheric density, denoted '' ρ'', is the mass per unit volume of Earth's atmosphere at a given point and time. Air density, like air pressure, decreases with increasing altitude. It also changes with variations in atmosph ...
) changes with
altitude
Altitude is a distance measurement, usually in the vertical or "up" direction, between a reference datum (geodesy), datum and a point or object. The exact definition and reference datum varies according to the context (e.g., aviation, geometr ...
.
Pressure equations

There are two equations for computing pressure as a function of height. The first equation is applicable to the atmospheric layers in which the temperature is assumed to vary with altitude at a non null
lapse rate of
:
The second equation is applicable to the atmospheric layers in which the temperature is assumed not to vary with altitude (
lapse rate is null):