keepcalculator

06 Numbers and Powers

Atmospheric Pressure to Altitude Formula

Card No. 06·88688 · Updated · Standard formula, shown below

The calculator on this card is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

This calculator converts atmospheric pressure readings into altitude above sea level using the standard barometric formula. You enter the current pressure (and optionally sea-level pressure), and it returns the equivalent altitude in meters or feet. The result is an estimate based on the International Standard Atmosphere (ISA), which is accurate for most weather and aviation purposes.

Formula

The barometric formula used here is the hypsometric equation in its simplified ISA form:

Altitude = 44330 × [1 − (P / P₀)^0.1903]

Where:

  • P = measured atmospheric pressure (hPa or mbar, they are numerically equal)
  • P₀ = sea-level pressure, usually 1013.25 hPa (standard atmosphere) or the local QNH from a weather report
  • 44330 = a constant that comes from the scale height of the atmosphere (in meters)
  • 0.1903 = the exponent derived from the temperature lapse rate and gas constant for air

The result is in meters. Multiply by 3.28084 to get feet.

Worked Example

Using the default values: measured pressure = 950 hPa, sea-level pressure = 1013.25 hPa.

  1. Compute the ratio: 950 / 1013.25 = 0.9376
  2. Raise to the power 0.1903: 0.9376^0.1903 ≈ 0.9879
  3. Subtract from 1: 1 − 0.9879 = 0.0121
  4. Multiply by 44330: 44330 × 0.0121 ≈ 536.4 meters

So 950 hPa at standard sea-level pressure corresponds to about 536 meters (1,760 feet) above sea level. The calculator shows 536 m and 1,759 ft (due to rounding).

How the Barometric Formula Works

The atmosphere is not uniform; pressure decreases roughly exponentially with altitude because air is compressible and gravity pulls it downward. The relationship is derived from the hydrostatic equation (dP/dh = −ρg) combined with the ideal gas law and an assumed temperature profile. The standard atmosphere model assumes a constant lapse rate of −6.5 K per kilometer up to 11 km (the troposphere). That assumption leads to the exponent 0.1903 and the constant 44330.

Above 11 km, the temperature becomes constant, so the formula changes. This calculator is intended for altitudes below 11 km (about 36,000 feet), which covers most terrain, skydiving, and general aviation.

The formula is also used in reverse: if you know your altitude, you can estimate pressure. Many altimeters in aircraft and GPS devices use this same standard model.

How to Use the Calculator

  • Enter the measured pressure from a barometer, weather station, or aircraft instrument. Units: hPa (hectopascals) or mbar (millibars) – they are the same.
  • Enter the sea-level pressure (QNH) if you have it. This is the pressure corrected to sea level, reported by weather services. If you don’t have it, use 1013.25 hPa (standard atmosphere).
  • Read the altitude in meters or feet. The first output is the headline answer in meters.

If you are using a barometer to estimate your elevation, the accuracy depends heavily on the sea-level pressure value. A difference of 1 hPa in P₀ changes the altitude by about 8.5 meters at sea level.

Common Mistakes and Misconceptions

Mistake: Using inches of mercury (inHg) without converting. The formula expects hPa. To convert inHg to hPa, multiply by 33.8639. For example, 29.92 inHg × 33.8639 = 1013.2 hPa.

Mistake: Confusing absolute pressure with sea-level pressure. The measured pressure is what your barometer reads at your location. The sea-level pressure is what it would read if you were at sea level. The difference between them is what gives altitude.

Misconception: Pressure decreases linearly with altitude. It does not. At 5,000 meters, pressure is about half of sea-level pressure, but at 10,000 meters it is about a quarter. The exponential relationship is why the formula uses an exponent.

Mistake: Using the formula above 11 km. The standard lapse rate changes, so the formula underestimates altitude in the stratosphere. For high-altitude balloons or skydiving from 30,000+ feet, use a more complex model.

When to Use This Formula

This formula is used in:

  • Aviation – to determine pressure altitude for aircraft performance calculations.
  • Hiking and mountaineering – GPS devices often use pressure sensors to refine altitude readings.
  • Weather stations – to convert station pressure to sea-level pressure for weather maps.
  • Barometric altimeters – in watches and phones, though they often use a more detailed model.

For most outdoor activities, the standard atmosphere approximation is accurate to within a few percent, provided you use the correct sea-level pressure.

Limitations and Accuracy

The formula assumes the standard atmosphere: a specific temperature profile and no humidity. Real-world conditions differ:

  • Temperature: On a hot day, the air is less dense, so pressure at a given altitude is higher than standard. The formula will underestimate altitude if you use standard P₀.
  • Humidity: Water vapor is lighter than nitrogen and oxygen, so moist air is less dense. This can cause errors of a few meters.
  • Weather systems: High and low pressure systems change sea-level pressure. Using the local QNH corrects for this.

For precise work, you need the actual temperature and humidity profile, which is beyond the scope of a simple formula. For general use, the error is usually less than 100 meters in the troposphere.

Frequently Asked Questions

Why is the constant 44330?

It comes from the scale height of the atmosphere: the temperature at sea level (288.15 K) divided by the lapse rate (0.0065 K/m) gives 44,330 meters. It represents the altitude at which pressure would drop to zero if the atmosphere were isothermal.

What is the difference between pressure altitude and true altitude?

Pressure altitude is what this formula gives: the altitude in the standard atmosphere that corresponds to the measured pressure. True altitude is your actual height above mean sea level. They differ when the actual temperature deviates from standard. Aircraft use pressure altitude for performance but true altitude for terrain clearance.

Can I use this formula on Mars or other planets?

No. The constants 44330 and 0.1903 are specific to Earth’s gravity, atmospheric composition, and temperature lapse rate. Other planets have different values.

How does a barometric altimeter work?

It measures pressure and applies the same formula, but it must be calibrated with the current sea-level pressure (QNH) to read correctly. Without calibration, it reads pressure altitude, not true altitude.

Why does my phone’s altitude reading differ from this calculator?

Phones use a combination of GPS and barometric pressure, and they often use a more detailed model that accounts for temperature and humidity. They also update the sea-level pressure from local weather data automatically. The calculator gives a quick estimate that is accurate to within a few dozen meters.

Related

Formula used
in p | Measured pressure | hPa | 950 | 100 | 1100
in p0 | Sea-level pressure (QNH) | hPa | 1013.25 | 800 | 1100
out alt | Altitude | m | 44330 * (1 - (p / p0) ^ 0.1903) | 0
out alt_ft | Altitude | ft | 44330 * (1 - (p / p0) ^ 0.1903) * 3.28084 | 0

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, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →