Home Calculators Categories Category: Science & Engineering

Atmospheric Pressure Calculator

This atmospheric pressure calculator estimates the absolute air pressure at a given elevation in a standard atmosphere. It can also run the calculation in reverse, finding the elevation at which a station pressure reading would occur, and it converts pressure between hPa, kPa, inHg, mmHg and psi. Everything runs locally in your browser.

Input
Load an example elevation and its unit.
Enter a negative elevation for a location below sea level.
m

−500 to 20,000 m

Choose the unit of the elevation you entered.
Choose how to display the calculated pressure.
Visual
Standard atmospheric pressure by elevation Pressure decreases as elevation rises.
Output
Standard atmospheric pressure
—

U.S. Standard Atmosphere 1976, with 1013.25 hPa at sea level.

What the calculator does

The calculator has three tasks. All of them work with absolute pressure, meaning pressure measured against a vacuum, not against the surrounding air.

Simple mode (elevation to pressure). Enter a geometric elevation relative to mean sea level, in meters or feet, and the calculator returns the Standard atmospheric pressure for that elevation. It starts at 0 m with the result in hPa. Negative elevations represent locations below sea level. The supported range is −500 m to 20,000 m, or the equivalent in feet. The Examples menu offers three presets:

  • Sea level (0 m)
  • 1,000 m
  • 10,000 ft (3,048 m)

A preset sets the elevation and its unit but keeps your chosen pressure unit.

Advanced → Elevation from pressure. Enter the uncorrected pressure measured at a station, and the calculator returns the Equivalent geometric elevation: the elevation at which the standard atmosphere has that pressure. The starting reading is 1013.25 hPa and the default result unit is meters. This is the calculation behind a barometric pressure altitude calculator.

Advanced → Pressure unit conversion. Enter a positive pressure from 0.000001 to 1,000,000 in the selected source unit, and the calculator returns the Converted pressure in the destination unit. It starts at 1013.25 hPa converting to kPa, which gives 101.325 kPa. This task has no connection to elevation, so the elevation limits and the chart do not apply.

Simple mode and the inverse task draw the standard pressure-versus-elevation curve with a marker and crosshairs at your selected point. The axes follow the units you choose. Pressure results show up to six significant digits, and equivalent elevation shows one decimal place. Invalid input highlights the field and suppresses the result.

Copy puts the active inputs and result on your clipboard. Export opens your browser's print or Save as PDF dialog. Reset returns to Simple mode at sea level.

How pressure changes with elevation

Air pressure at a point is the weight of the air column above it per unit area. As you climb, less air is overhead, so pressure falls. The fall is not linear. The air is thinner higher up, so each additional meter removes less pressure than the one below it. Near sea level, pressure drops by about 12 hPa per 100 m, and the rate slows with height.

The calculator models this with the lower two layers of the U.S. Standard Atmosphere 1976. The International Standard Atmosphere is closely aligned with this model in the lower atmosphere, so the results also serve as a standard atmosphere calculator for ISA-style estimates. The model uses fixed standard values for temperature and composition. It takes no weather, temperature or humidity inputs.

The barometric formula used by the calculator

The standard atmosphere is built from layers in which temperature either falls at a constant rate or stays constant. Each layer gives its own form of the barometric pressure formula. The calculator uses two layers: a troposphere with falling temperature, and a constant-temperature layer above it.

Constants

Symbol Meaning Value
rr Standard atmosphere reference radius 6,356,766 m
g0g_0 Standard gravity 9.80665 m/s²
MM Molar mass of dry air 28.9644 kg/kmol
RR Universal gas constant 8314.32 J/(kmol·K)
P0P_0 Standard sea-level pressure 101,325 Pa
T0T_0 Standard sea-level temperature 288.15 K
LL Temperature lapse-rate magnitude in the first layer 0.0065 K/m
HbH_b Geopotential height of the layer boundary 11,000 m

Define A=g0M/RA = g_0 M / R. The engine works in meters and pascals. Feet convert with zm=zft×0.3048z_\text{m} = z_\text{ft} \times 0.3048.

Geometric elevation and geopotential height

The input is geometric elevation zz, the actual height above mean sea level. The layer equations use geopotential height HH, which accounts for gravity weakening with height:

H=r zr+zH = \frac{r\,z}{r + z}

The difference is small at everyday elevations. It is about 1.4 m at 3,000 m and about 63 m at 20,000 m. The calculator accepts and returns geometric elevation.

Pressure from elevation

For H≤HbH \le H_b (the first layer), pressure is:

P=P0(1−LHT0)A/L,AL≈5.255876P = P_0\left(1 - \frac{L H}{T_0}\right)^{A/L}, \qquad \frac{A}{L} \approx 5.255876

The calculator extends this branch below sea level within its supported range.

At the layer boundary, the temperature and pressure are:

Tb=T0−LHb=216.65 K,Pb=P0(TbT0)A/L≈22,632.06 PaT_b = T_0 - L H_b = 216.65\ \text{K}, \qquad P_b = P_0\left(\frac{T_b}{T_0}\right)^{A/L} \approx 22{,}632.06\ \text{Pa}

The boundary lies at about 11,019.07 m of geometric elevation. Above it, for H>HbH > H_b, temperature is constant and pressure decays exponentially:

P=Pbexp⁡ ⁣[−A (H−Hb)Tb]P = P_b \exp\!\left[-\frac{A\,(H - H_b)}{T_b}\right]

The two equations give the same pressure at the boundary, so the curve is continuous. This pair is the atmospheric pressure formula in its most common standard-atmosphere form, and it shows the atmospheric pressure and altitude relationship used by the calculator.

Elevation from pressure (the inverse)

Convert the reading to pascals first. If P≥PbP \ge P_b, solve the first-layer equation for HH:

H=T0L[1−(PP0)L/A]H = \frac{T_0}{L}\left[1 - \left(\frac{P}{P_0}\right)^{L/A}\right]

If P<PbP < P_b, solve the upper-layer equation instead, where ln⁡\ln is the natural logarithm:

H=Hb−TbA ln⁡ ⁣(PPb)H = H_b - \frac{T_b}{A}\,\ln\!\left(\frac{P}{P_b}\right)

Then convert back to geometric elevation:

z=r Hr−Hz = \frac{r\,H}{r - H}

Finally, express zz in meters or feet, dividing meters by 0.3048 for feet.

Worked example: pressure at 10,000 ft

Take the 10,000 ft preset, which is 3,048 m.

  1. Geopotential height. H=6,356,766×30486,356,766+3048≈3046.54H = \dfrac{6{,}356{,}766 \times 3048}{6{,}356{,}766 + 3048} \approx 3046.54 m.
  2. Temperature ratio. 1−0.0065×3046.54288.15≈0.9312771 - \dfrac{0.0065 \times 3046.54}{288.15} \approx 0.931277.
  3. Raise to the power. 0.9312775.255876≈0.6878320.931277^{5.255876} \approx 0.687832.
  4. Scale by sea-level pressure. Multiplying the unrounded ratio from step 3 by 101,325 Pa gives about 69,694.6 Pa, displayed as 696.946 hPa.

That is about 69.69 kPa or 10.11 psi, roughly 69% of sea-level pressure.

Reference values

These values come from the calculator's standard-atmosphere model.

Geometric elevation Standard pressure
−500 m (lower model limit) 1074.78 hPa
0 m (sea level) 1013.25 hPa
1,000 m 898.763 hPa
3,048 m (10,000 ft) 696.946 hPa
≈11,019.07 m (layer boundary) ≈226.321 hPa
20,000 m (upper model limit) 55.2931 hPa

The pressure limits of the inverse task follow from the first and last rows: roughly 55.2931189 to 1074.780023 hPa. The interface rounds these inward and shows 55.2932 to 1074.78 hPa.

Finding equivalent elevation from station pressure

The inverse task answers a different question from the simple mode. Given a pressure measured at a station, it reports the elevation where the standard atmosphere has that pressure.

For example, suppose a station barometer reads 850 hPa. The calculator gives an equivalent elevation of about 1,458 m (roughly 4,782 ft). If the real station sits at a different elevation, that is not an error. Weather and temperature shift the real pressure away from the standard profile, and the equivalent elevation absorbs that difference.

Be careful about what you enter:

  • Use station pressure. The input must be the uncorrected absolute pressure measured where you are.
  • Do not use sea-level-adjusted pressure. Weather reports and forecasts often show pressure reduced to sea level, and altimeter settings use their own sea-level adjustment. If a mountain town's report shows a sea-level pressure of 1013 hPa, entering it returns an elevation near 0 m. The calculator displays a "Use station pressure" advisory for this reason.
  • The result is geometric elevation. Aviation pressure-altitude conventions are often tied to geopotential height, which differs slightly from geometric elevation at high altitude.

Accepted readings are limited to the model's pressure range. The reading slider uses these steps:

Reading unit Slider step
hPa 1
kPa 0.1
inHg 0.05
mmHg 1
psi 0.05

The number field accepts decimals between slider ticks.

Converting barometric pressure units

Every conversion goes through pascals: multiply the reading by its pascals-per-unit factor, then divide by the destination unit's factor. The calculator uses these factors.

Unit Pa per unit
hPa 100
kPa 1000
inHg 3386.389
mmHg 133.3224
psi 6894.757

One hPa equals one millibar in magnitude. The selectors do not include mbar, so choose hPa for mbar values.

Standard sea-level pressure looks like this in each unit:

Unit Standard sea-level pressure
hPa 1013.25
kPa 101.325
inHg 29.9213
mmHg 760.000
psi 14.6959

For the conversions people ask about most:

  • Barometric pressure to psi. Multiply inHg by 0.491154, or divide hPa by 68.94757. For example, 29.92 inHg is about 14.695 psi.
  • Mercury units. One inHg is approximately 25.4 mmHg using the calculator's factors. Mercury-unit readings are treated here as plain pressure values, and the calculator applies no temperature or gravity correction to a mercury column.
  • Other common ratios. One kPa is 10 hPa, 0.2953 inHg, 7.5006 mmHg and 0.14504 psi.

The conversion task changes only the unit. It preserves the pressure and what it is referenced to, so an absolute reading stays absolute. The standard-atmosphere elevation limits do not apply here. When you change an input unit, the same typed number is reinterpreted in the new unit, and changing a result unit re-expresses the calculated result.

Reproducing the calculation in Excel

The calculator has no Excel export, but the model is short enough to rebuild in a spreadsheet. The layout below works in Excel, LibreOffice Calc and Google Sheets.

Constants. Put labels in column H and values in column I:

Cell Value or formula Meaning
I1 6356766 rr
I2 9.80665 g0g_0
I3 28.9644 MM
I4 8314.32 RR
I5 101325 P0P_0
I6 288.15 T0T_0
I7 0.0065 LL
I8 11000 HbH_b
I9 =I2*I3/I4 AA
I10 =I6-I7*I8 TbT_b
I11 =I5*(I10/I6)^(I9/I7) PbP_b

Elevation to pressure. Enter elevation in meters in B2 (multiply feet by 0.3048 first), then:

Cell Formula
C2 (geopotential height, m) =$I$1*B2/($I$1+B2)
D2 (pressure, Pa) =IF(C2<=$I$8, $I$5*(1-$I$7*C2/$I$6)^($I$9/$I$7), $I$11*EXP(-$I$9*(C2-$I$8)/$I$10))
E2 (pressure, hPa) =D2/100

Pressure to elevation. Enter pressure in pascals in B6, then:

Cell Formula
C6 (geopotential height, m) =IF(B6>=$I$11, ($I$6/$I$7)*(1-(B6/$I$5)^($I$7/$I$9)), $I$8-($I$10/$I$9)*LN(B6/$I$11))
D6 (geometric elevation, m) =$I$1*C6/($I$1-C6)

As a check, 1,000 m should return about 898.763 hPa. A spreadsheet does not enforce the −500 m to 20,000 m range or the matching pressure limits, so results outside them are not covered by this model.

Limits and interpretation

  • Standard, not measured. The results describe a standard atmosphere. Real pressure at a given elevation varies with weather systems and with the actual temperature profile.
  • Range. Elevations are limited to −500 to 20,000 m. The model uses two layers, and typed feet values reach the same limits.
  • Absolute pressure only. The outputs are absolute pressures. Gauge pressure is not modeled.
  • Dry air. The model uses the molar mass of dry air and has no humidity input.
  • Equivalent is not actual. An equivalent elevation is a way of expressing a pressure reading on the standard scale. It is not a survey of where the station is.

Frequently asked questions

What is standard atmospheric pressure at sea level?

It is 101,325 Pa: 1013.25 hPa, 101.325 kPa, 29.9213 inHg, 760 mmHg or 14.6959 psi.

How much does pressure drop with altitude?

Near sea level it falls by about 12 hPa per 100 m, and the rate slows as you climb. In the calculator's model, pressure is 898.763 hPa at 1,000 m and 696.946 hPa at 3,048 m (10,000 ft).

Can I use my local weather report pressure in the inverse task?

Only if it reports uncorrected station pressure. Check the reported reference before entering the reading.

Why is the equivalent elevation different from my actual elevation?

Actual pressure depends on current weather and the real temperature profile. The standard model fixes both. The difference is expected.

Is hPa the same as mbar?

Yes, one hPa equals one mbar in magnitude. Select hPa for millibar values.

Does the calculator export to Excel?

No. Use the formulas in the Excel section to rebuild the calculation in a spreadsheet, or use Copy to take the active inputs and result with you.

Calculation Methodology Documented

Read the formula definitions, supported input ranges, and limitations before using this estimate.

Review Methodology
Debjeet Bhowmick
Author Debjeet Bhowmick AWS Certified Solutions Architect • Cloud & DevOps Consultant

AWS Certified Solutions Architect Professional and Senior Cloud & DevOps Consultant with over 14 years of hands-on expertise architecting resilient cloud infrastructure across AWS, GCP, and Azure. Specializes in infrastructure as code, continuous delivery automation, and telemetry across Terraform, Ansible, Docker, Kubernetes, ELK, Python, and SQL. Creator of OrangeCalc, delivering client-side high-precision computational tools.