keepcalculator

06 Numbers and Powers

Altitude from Pressure: Step-by-Step Guide

Card No. 06·89115 · 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 guide shows you how to convert a pressure reading (from a barometer, weather station, or altimeter setting) into an approximate altitude above sea level. You’ll need the current pressure and a reference pressure (usually sea-level pressure). The result is an estimate, not a survey-grade measurement, but it’s accurate enough for hiking, drone flights, and general outdoor use.

Formula

The standard formula used is the barometric formula (international standard atmosphere, ISA):

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

  • P = pressure at your location (hPa, same as millibar)
  • P₀ = reference pressure at sea level (hPa)
  • 44330 = scale height constant (meters) that accounts for average temperature lapse rate
  • 0.1903 = exponent derived from the gas constant, gravity, and lapse rate

If you work in inches of mercury (inHg) or mmHg, convert to hPa first: 1 hPa = 0.02953 inHg = 0.75006 mmHg.

An Example

Using the defaults from the calculator: P = 950 hPa, P₀ = 1013.25 hPa.

  1. Divide P by P₀: 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 m

So 950 hPa at sea-level reference 1013.25 hPa corresponds to about 536 meters (1,759 feet) altitude.

When to Use This

Use this calculation when you have a pressure reading and want a quick altitude estimate. It’s common for:

  • Hiking or climbing – if you know the sea-level pressure from a weather report
  • Drone operations – many drones report pressure altitude
  • Weather observation – comparing pressure at different locations
  • Educational projects – understanding atmospheric physics

The result is pressure altitude, not true altitude above ground. It assumes the standard atmosphere (15°C at sea level, temperature lapse rate of 6.5°C per km). Real conditions differ, so expect errors of a few percent.

How to Read the Result

The output is meters above the reference level (usually sea level). If you use a local reference pressure (e.g., from a nearby airport at a known elevation), the result becomes altitude above that airport’s elevation. For example, if the airport is at 200 m and you use its pressure as P₀, a result of 150 m means you are at 350 m above sea level.

Remember: lower pressure at the same location usually means higher altitude, but weather systems also change pressure. A passing storm can drop pressure by 30–50 hPa, which would shift your altitude reading by roughly 250–400 m. That’s why you need an up-to-date reference pressure.

Common Mistakes

  • Using the wrong units – the formula expects hPa. If your pressure is in kPa, multiply by 10; if in inHg, multiply by 33.8639; if in mmHg, multiply by 1.33322.
  • Forgetting to update the reference pressure – using yesterday’s sea-level pressure will cause significant errors.
  • Ignoring temperature – the formula assumes 15°C at sea level. On a hot day (30°C), the air is less dense, so the same pressure occurs at a higher altitude than the formula predicts. On cold days, the opposite.
  • Confusing absolute and gauge pressure – barometers give absolute pressure. If you use a gauge that measures relative to atmospheric (like a tire gauge), you’ll get nonsense.

Tips

  • For best accuracy, get the current sea-level pressure from a nearby weather station or aviation METAR report. Update it every hour if possible.
  • If you’re measuring pressure yourself, use a calibrated barometer. Smartphone pressure sensors are surprisingly good but can drift.
  • For altitudes above 5,000 m, the formula still works but errors grow because the atmosphere deviates more from standard.
  • If you need true altitude (above ground), subtract the ground elevation from the result.
  • Use the calculator with different reference pressures to see how sensitive the result is – this helps you understand the weather effect.

Troubleshooting

Result seems too high or too low. Check your units. If you entered pressure in kPa, the result will be wildly off. Convert to hPa first. Also verify the reference pressure is sea-level, not station pressure.

Calculator shows “Cannot compute”. This happens if the pressure at altitude is higher than the reference pressure. That’s physically impossible for a valid reading (unless you’re below the reference level, like in a valley below sea level). Check your inputs – you may have swapped P and P₀.

Result changes rapidly during the day. That’s likely due to changing weather, not your altitude. If you’re stationary, the pressure changes with weather fronts. Use a more stable reference pressure (e.g., from a local airport that updates hourly).

Reading from a smartphone seems inconsistent. Phone barometers are sensitive but not calibrated. Compare with a known altitude (e.g., a surveyed point) and adjust the reference pressure until the result matches – that’s a simple field calibration.

Frequently Asked Questions

What is the difference between pressure altitude and true altitude?

Pressure altitude is the altitude in the standard atmosphere that corresponds to your pressure. True altitude is your actual height above sea level. They differ when the real atmosphere is warmer or colder than standard. At 15°C they are the same; on a hot day, true altitude is higher than pressure altitude.

Can I use this formula for any planet?

No. The constants 44330 and 0.1903 are specific to Earth’s gravity, air composition, and average temperature lapse rate. On Mars, for example, the scale height is different.

How accurate is this method?

With a current, accurate sea-level pressure, expect accuracy within about 2–5% of true altitude for the first few thousand meters. Errors increase with altitude and with temperature deviation from 15°C.

What if I don’t know the sea-level pressure?

You can use a standard value of 1013.25 hPa, but that’s only an average. For better accuracy, check a weather website or aviation METAR for your area. Many weather apps show sea-level pressure directly.

Why does my altimeter (GPS) disagree with this calculation?

GPS gives geometric altitude (above a reference ellipsoid), while pressure altitude is based on the atmosphere. They can differ by hundreds of meters due to weather and the geoid shape. Also, GPS vertical accuracy is often worse than horizontal.

Does humidity affect the calculation?

Yes, slightly. Moist air is less dense than dry air, so the same pressure occurs at a slightly higher altitude. The effect is usually less than 1% and is ignored in the standard formula.

Related

Formula used
in p | Pressure at altitude | hPa | 950 | 300 | 1100
in p0 | Sea-level reference pressure | hPa | 1013.25 | 800 | 1100
out alt | Altitude | m | 44330 * (1 - (p / p0)^0.1903) | 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 →