Atmospheric pressure falls with altitude because each layer of air only has to carry the weight of the air above it; the standard atmosphere turns that into P = P0·(1 - L·h/T0)5.2559 up to 11 km and an exponential decay above. This free atmospheric pressure calculator gives the pressure at any altitude to 20 km for the sea-level pressure you enter, or the altitude that matches a measured pressure, and shows every step.
Each button writes an altitude and a sea-level pressure into the boxes above and lets the calculator do the rest. The confirmation line quotes the result the engine renders, not a stored answer.
Pick a case above, or type your own numbers.

The atmospheric pressure calculator is a free online tool built on the standard-atmosphere formula P = P0 · (1 − L·h / T0)g·M/(R·L). Enter the altitude and the day's sea-level pressure, in whichever units suit you, and it returns the air pressure at that height with every step of the substitution, or enter a measured pressure and it solves for altitude instead. Valid from sea level to 20 km, with the ISA temperature, air density and mercury column alongside.
| Symbol | Quantity | Default unit | Also accepts | Example value |
|---|---|---|---|---|
| h | Altitude | m | km, ft | 2000 |
| P0 | Sea-level pressure | hPa | kPa, Pa, atm, inHg, psi | 1013.25 |
| P | Pressure at altitude | kPa | hPa, Pa, atm, mmHg, psi | — |
The common mistake is mixing up the two pressures: Pressure at altitude is what a barometer reads where you are standing, while Sea-level pressure is the value reduced to sea level that forecasts quote. Enter a station reading as P0 and every altitude comes out too low.
Start from the page defaults and move a single input per row. Every figure in the table is the string the calculator itself displays for those inputs, so if the table and the tool ever disagree, the tool is right.
| Step | Altitude | Sea-level pressure | Pressure at altitude | ISA temperature | Air density | Mercury column | Share of sea level |
|---|---|---|---|---|---|---|---|
| Start (page defaults) | 2000 m | 1013.25 hPa | 79.5 kPa | 2.0 °C | 1.0065 kg/m³ | 596.3 mm Hg | 78.46 % |
| Climb to Everest | 8849 m | 1013.25 hPa | 31.44 kPa | -42.5 °C | 0.4749 kg/m³ | 235.8 mm Hg | 31.03 % |
| Airliner cruise, tropopause | 11000 m | 1013.25 hPa | 22.63 kPa | -56.5 °C | 0.3639 kg/m³ | 169.8 mm Hg | 22.34 % |
| Top of the model | 20000 m | 1013.25 hPa | 5.475 kPa | -56.5 °C | 0.0880 kg/m³ | 41.1 mm Hg | 5.40 % |
| Back to 2000 m, low-pressure day | 2000 m | 1000 hPa | 78.46 kPa | 2.0 °C | 0.9933 kg/m³ | 588.5 mm Hg | 78.46 % |
| Storm at sea level | 0 m | 950 hPa | 95 kPa | 15.0 °C | 1.1485 kg/m³ | 712.6 mm Hg | 100.00 % |
Rows 1 to 4 climb through the troposphere and into the stratosphere with the standard 1013.25 hPa at sea level: the pressure drops to 78.46 % of sea level by 2000 m, under a third on Everest, and 5.40 % at 20 km. The temperature column falls 6.5 °C for every kilometre until 11 km and then freezes at -56.5 °C, which is why rows 3 and 4 share it. Row 5 keeps the altitude at 2000 m and lowers the sea-level pressure to 1000 hPa: the pressure, density and mercury column all scale down by the same 1.3 %, while the share of sea level and the temperature do not move at all.
Row 6 is the storm preset: at sea level the result is simply the 950 hPa you typed, so the tool reports 95 kPa and 100.00 %. Run the inverse to close the loop. Choose Altitude (h), enter 79.4952 kPa with the standard sea-level pressure, and the calculator returns 2000 m, the row 1 altitude recovered to the metre.
Everything the tool computes comes from the two-layer standard atmosphere: P = P0·(1 - L·h/T0)^(g·M/(R·L)) up to 11 km and P = P11·exp(-g·M·(h - 11000)/(R·T11)) above it, with the density from rho = P·M/(R·T). The constants are fixed; only P0 and the altitude or pressure are yours to change.
| Symbol | Meaning | SI unit | Typical range |
|---|---|---|---|
| P | Pressure at altitude h, the result when solving for P and the input when solving for h | pascal, Pa | 5.475 kPa at 20 km to P0 at sea level (standard day). Must lie between those limits when it is the input. |
| h | Geopotential altitude above mean sea level | metre, m | 0 to 20,000 m in this calculator. Enter km or ft and the tool converts. |
| P0 | Mean sea-level pressure for the day (MSLP, QNH) | pascal, Pa | Standard 1013.25 hPa. Real days run about 950 hPa in a deep storm to 1050 hPa in a strong anticyclone. |
| T0 | Standard sea-level temperature | kelvin, K | Fixed at 288.15 K (15 °C). |
| L | Temperature lapse rate in the troposphere | kelvin per metre, K/m | Fixed at 0.0065 K/m (6.5 °C per km) up to 11 km; zero from 11 to 20 km. |
| T11 | Air temperature from 11 km to 20 km (lower stratosphere) | kelvin, K | Fixed at 216.65 K (-56.5 °C). |
| g | Standard acceleration of gravity | metre per second squared, m/s² | Fixed at 9.80665 m/s². |
| M | Molar mass of dry air | kilogram per mole, kg/mol | Fixed at 0.0289644 kg/mol. |
| R | Universal gas constant (1976 value) | joule per mole-kelvin, J/(mol·K) | Fixed at 8.31432 J/(mol·K). The exponent g·M/(R·L) works out to 5.2559. |
| rho | Air density at h, from the ideal-gas law rho = P·M/(R·T) | kilogram per cubic metre, kg/m³ | 1.225 kg/m³ at sea level to 0.088 kg/m³ at 20 km (standard day). |
Air at rest obeys the hydrostatic balance dP/dh = -rho·g: cross a thin layer upwards and the pressure drops by the weight of that layer per unit area. For water the density is constant and this integrates to the familiar rho·g·h, but air is compressible, so its density is itself set by the pressure.
The ideal-gas law supplies the link, rho = P·M/(R·T), and substituting it gives dP/P = -(g·M/(R·T))·dh. If the temperature were constant the solution would be a pure exponential with a scale height of about 8.4 km at 15 °C.
The troposphere is not isothermal: the standard model cools it at the lapse rate L = 6.5 °C per km. Integrating with T = T0 - L·h turns the exponential into the power law (1 - L·h/T0)^5.2559, and because the exponent is large the two shapes stay close, so the profile is nearly exponential.
At 11 km the model switches to a constant -56.5 °C and the exponential form takes over exactly, with the 11 km pressure of 22.63 kPa as its starting point. The calculator applies whichever branch the altitude falls in, and inverts the same branch when you ask for altitude from pressure.
The formula describes an average dry atmosphere with a fixed temperature profile. Real air differs from it in a handful of predictable ways, and each one has a recognisable effect on the number you get.
For the concept itself, how a barometer works and why we do not feel the weight of the air, read the guide Atmospheric Pressure Explained and the broader pressure in physics article. To put numbers to force over area or to depth in a liquid, use the pressure calculator, and for the density of a gas at any pressure and temperature the gas density calculator. Watch pressure build with depth in the pressure simulator, or browse the library of physics simulations.
They are all units of the same pressure, and 1 hPa is exactly 1 mbar. 1 kPa = 10 hPa, and 1 atm = 101.325 kPa = 1013.25 hPa, which is the standard sea-level pressure this calculator uses by default. Weather reports quote hPa or mbar, engineering tables usually kPa, and aviation altimeter settings hPa or inHg, so pick the unit in the drop-down that matches your source.
Enter the mean sea-level pressure (MSLP or QNH) from a weather report, not the raw station reading. A station reading is the pressure at the station's own height, so it is already lower than sea level; feeding it in as P0 would make every altitude come out too low. If you only want the standard atmosphere, leave the default 1013.25 hPa.
Because the two-layer model it uses is only defined that far: a 6.5 K per km lapse rate to 11 km, then a constant -56.5 °C to 20 km. Above 20 km the standard atmosphere starts warming again through the stratosphere and needs further layers with different exponents. Entering an altitude above 20,000 m, or a pressure below the 20 km value of about 5.47 kPa, therefore returns no result rather than a wrong one.
Choose Altitude (h) in the Solve for menu, enter the pressure you measured and the day's sea-level pressure, and the calculator inverts the barometric formula: h = (T0/L) · (1 - (P/P0)^(R·L/(g·M))). This is exactly what an aircraft altimeter or a phone barometer does. For 79.4952 kPa against 1013.25 hPa it returns 2000 m, the same altitude the forward calculation started from.
The standard atmosphere assumes 15 °C at sea level and a fixed lapse rate, while the real air column has its own temperature. Warm air is less dense, so pressure falls more slowly with height and a given pressure sits higher than the calculator says; cold air does the opposite by a similar few per cent. Entering the correct sea-level pressure removes the biggest error, but the temperature effect stays unless you use a temperature-corrected formula.
Yes, in direct proportion. Every pressure the model returns is P0 multiplied by a factor that depends only on altitude, so 1000 hPa instead of 1013.25 hPa at 2000 m gives 78.456 kPa instead of 79.495 kPa, about 1.3 % lower. The share of sea-level pressure and the ISA temperature do not change at all, because they depend on altitude alone.