Mathwords logoMathwords

Barometric Formula — Definition, Formula & Example

The barometric formula is an exponential decay model that predicts how air pressure drops as you climb higher. Each fixed gain in altitude cuts the pressure by the same fraction.

For an ideal-gas atmosphere at constant temperature TT and constant gravitational acceleration gg, hydrostatic equilibrium dPdh=−ρg\frac{dP}{dh} = -\rho g gives the pressure at height hh as P(h)=P0e−h/HP(h) = P_0 e^{-h/H}. Here H=RTMgH = \frac{RT}{Mg} is the scale height and P0P_0 is the pressure at h=0h = 0. This version is called the isothermal barometric formula.

Key Formula

P(h)=P0 e−MghRT=P0 e−h/H,H=RTMgP(h) = P_0\, e^{-\frac{Mgh}{RT}} = P_0\, e^{-h/H}, \qquad H = \frac{RT}{Mg}
Where:
  • P(h)P(h) = Air pressure at height h
  • P0P_0 = Pressure at the reference height h = 0 (usually sea level)
  • hh = Height above the reference level, in meters
  • MM = Molar mass of air, about 0.029 kg/mol
  • gg = Gravitational acceleration, about 9.8 m/s²
  • RR = Universal gas constant, 8.314 J/(mol·K)
  • TT = Absolute temperature in kelvins, assumed constant
  • HH = Scale height: the climb over which pressure falls by a factor of e

How It Works

The derivation starts with a thin slab of air. The weight of the slab sets how much pressure changes across it: dP=−ρg dhdP = -\rho g\,dh. The ideal gas law gives the density as ρ=PMRT\rho = \frac{PM}{RT}. Substituting yields dPdh=−MgRTP\frac{dP}{dh} = -\frac{Mg}{RT}P, so the rate of change is proportional to PP itself. Separate the variables to get dPP=−MgRT dh\frac{dP}{P} = -\frac{Mg}{RT}\,dh. Integrate from 00 to hh to get ln⁡PP0=−MghRT\ln\frac{P}{P_0} = -\frac{Mgh}{RT}, and exponentiate to reach the formula. Physics uses SI units by convention, so heights are in meters and temperatures are in kelvins.

Worked Example

Problem: Model the atmosphere as isothermal at T = 273 K, with M = 0.029 kg/mol, g = 9.8 m/s², and R = 8.314 J/(mol·K). Find the scale height H. Then find the altitude at which air pressure is half its sea-level value.
Step 1: Compute the scale height from its definition.
H=RTMg=(8.314)(273)(0.029)(9.8)=2269.7220.2842≈7986 mH = \frac{RT}{Mg} = \frac{(8.314)(273)}{(0.029)(9.8)} = \frac{2269.722}{0.2842} \approx 7986 \text{ m}
Step 2: Set the pressure equal to half of the sea-level pressure. Then solve the exponential equation for h. The constant P₀ cancels, so you do not need its value.
12P0=P0e−h/H  ⟹  −hH=ln⁡12  ⟹  h=Hln⁡2\tfrac{1}{2}P_0 = P_0 e^{-h/H} \;\Longrightarrow\; -\frac{h}{H} = \ln\tfrac{1}{2} \;\Longrightarrow\; h = H\ln 2
Step 3: Substitute the scale height. Convert to feet using 1 ft = 0.3048 m.
h≈7986.35×0.6931≈5536 m≈18,200 fth \approx 7986.35 \times 0.6931 \approx 5536 \text{ m} \approx 18{,}200 \text{ ft}
Answer: The scale height is about 7,986 m. Pressure falls to half its sea-level value at about 5,536 m (roughly 18,200 ft).

Why It Matters

In a calculus or differential equations course, this is a classic physical example of a separable equation of the form dP/dh = −kP. In introductory atmospheric science and thermal physics, it shows how the Boltzmann factor works: the exponent compares gravitational energy Mgh with thermal energy RT. Real air cools with height, so standard atmosphere models replace the pure exponential with a lapse-rate version. The isothermal formula is a first approximation.

Common Mistakes

Mistake: Entering temperature in degrees Fahrenheit or Celsius, or entering the molar mass in g/mol.
Correction: The formula needs T in kelvins and M in kg/mol so the exponent has no units. If you use 0 °C instead of 273 K, H comes out as zero. If you use 29 g/mol instead of 0.029 kg/mol, H comes out 1000 times too small.

Related Terms

  • Exponential Decay — General model this pressure-altitude law is a case of
  • e — Natural base that appears from integrating dP/P
  • Exponential Function — Function family that pressure versus height belongs to
  • Decay Factor — Each scale height multiplies pressure by factor 1/e
  • Exponential Equation — Solved with logarithms to find altitude from pressure
  • Doubling Time — Same ln 2 logic gives the half-pressure altitude