Ma · Mathematics

How to Calculate Barometric Pressure at an Altitude

Published By the 9to5Science editorial team

At a glance

  1. 1. Model the air

    Assume the air is in hydrostatic balance and has constant temperature over the altitude range.

  2. 2. Write the pressure equation

    Combine the hydrostatic equation with the ideal-gas law to obtain a differential equation for pressure.

  3. 3. Apply the boundary value

    Use pressure at a known altitude, usually sea level, to determine the integration constant.

  4. 4. Evaluate the result

    Substitute the target altitude and check that pressure decreases as altitude increases.

Barometric pressure is the pressure exerted by the air above a location. To calculate how it changes with altitude, model a thin vertical layer of air and relate the pressure difference across it to the weight of the air. Combining that hydrostatic balance with the ideal-gas law produces a first-order differential equation.

The simplest useful model assumes the air has a constant temperature. Under that assumption, pressure falls exponentially with height. The formula and a worked example follow; a later section explains how the result changes when temperature varies with altitude.

Derive the barometric formula

Let hh denote altitude measured upward from a reference level, and let P(h)P(h) be the absolute pressure at that altitude. For a stationary atmosphere, hydrostatic balance gives

dPdh=−ρg,\frac{dP}{dh}=-\rho g,

where ρ\rho is air density and gg is gravitational acceleration. The minus sign appears because pressure decreases as you move upward.

For air treated as an ideal gas, density and pressure are related by

ρ=MPRT,\rho=\frac{MP}{RT},

where MM is the molar mass of air, RR is the universal gas constant, and TT is absolute temperature in kelvins. Substituting this expression for density gives

dPdh=−MgRTP.\frac{dP}{dh}=-\frac{Mg}{RT}P.

If gg, MM, and TT are constant over the altitude range, separate variables and integrate from the reference altitude h=0h=0, where pressure is P0P_0:

dPP=−MgRT dh,ln⁡(P(h)P0)=−MghRT.\begin{aligned} \frac{dP}{P}&=-\frac{Mg}{RT}\,dh,\\ \ln\left(\frac{P(h)}{P_0}\right)&=-\frac{Mgh}{RT}. \end{aligned}

Thus the isothermal barometric formula is

P(h)=P0exp⁡(−MghRT).P(h)=P_0\exp\left(-\frac{Mgh}{RT}\right).

The quantity H=RT/(Mg)H=RT/(Mg) is called the scale height, so the same result can be written P(h)=P0e−h/HP(h)=P_0e^{-h/H}. For dry air near 15°C, HH is about 8.43 km. The model is an approximation: real atmospheric temperature and gravity are not perfectly constant.

Worked example: pressure at 1,000 m

Estimate the pressure 1,000 m above a location where the pressure is 101.325 kPa. Use an isothermal temperature of 288.15 K (15°C), molar mass of dry air M=0.0289644 kg/molM=0.0289644\ \text{kg/mol}, gravitational acceleration g=9.80665 m/s2g=9.80665\ \text{m/s}^2, and R=8.31446 J/(mol⋅K)R=8.31446\ \text{J/(mol·K)}.

First calculate the scale height:

H=RTMg=(8.31446)(288.15)(0.0289644)(9.80665)≈8435 m.H=\frac{RT}{Mg} =\frac{(8.31446)(288.15)}{(0.0289644)(9.80665)} \approx 8435\ \text{m}.

Then substitute h=1000 mh=1000\ \text{m}:

P(1000)=101.325exp⁡(−10008435)≈90.00 kPa.P(1000)=101.325\exp\left(-\frac{1000}{8435}\right) \approx 90.00\ \text{kPa}.

So the model predicts about 90.0 kPa. This is lower than the reference pressure, as expected. If pressure is known and you want to estimate altitude instead, rearrange the formula:

h=Hln⁡(P0P(h)).h=H\ln\left(\frac{P_0}{P(h)}\right).

For example, using the same model, a pressure of 90.0 kPa corresponds to approximately 1,000 m above the reference level.

When temperature varies with altitude

The isothermal assumption is convenient but not always realistic. In the troposphere, a common simplified model assumes temperature falls linearly with altitude: T(h)=T0−LhT(h)=T_0-Lh, where LL is a positive lapse rate. Integrating the hydrostatic equation with this temperature profile gives

P(h)=P0(T0−LhT0)Mg/(RL).P(h)=P_0\left(\frac{T_0-Lh}{T_0}\right)^{Mg/(RL)}.

This expression applies only over a layer where the linear temperature model is appropriate and T0−LhT_0-Lh remains positive. For more accurate atmospheric calculations, use a standard-atmosphere model with separate layers and specified temperature profiles.

Common mistakes

  • Using Celsius in the exponential. Convert temperature to kelvins; 15°C is 288.15 K.
  • Mixing units. With RR in joules per mole-kelvin, use MM in kilograms per mole, gg in metres per second squared, and altitude in metres. The exponent must be dimensionless.
  • Treating the result as exact weather pressure. The formula gives an idealized pressure profile. Actual pressure also depends on local weather, temperature structure, and the reference pressure at the time and place of measurement.
  • Using gauge pressure. The barometric law uses absolute pressure, measured relative to a vacuum, not pressure relative to the surrounding atmosphere.
  • Assuming pressure drops linearly. Under the isothermal ideal-gas model, pressure follows an exponential curve, not a straight line in altitude.

References

  1. U.S. Standard Atmosphere, 1976
  2. OpenStax University Physics Volume 1: Fluid Statics

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.