You cannot get the current barometric pressure from the outdoor temperature alone, because pressure depends on the weight of the whole air column and the weather systems moving over you, not on how warm it is where you stand. Temperature does let you calculate pressure in three common situations: the change of pressure with height using the barometric or hypsometric formula, the pressure of a fixed amount of gas in a sealed container using the ideal gas law in kelvin, and the local air pressure from the temperature at which water boils. Pick the one that matches your problem and work in absolute units.
Why a thermometer cannot replace a barometer
Barometric pressure is the weight of all the air above a point, from the ground to the top of the atmosphere, divided by area. Two places at the same temperature can have very different pressures because one sits under a large high pressure system and the other under a storm. A cold winter high can read 1040 hPa while a warm tropical low reads 990 hPa, and the opposite combinations happen too.
The ideal gas law, P = rho R T, does link pressure, density and temperature, but it has three unknowns at any point in the open air. Knowing T leaves density and pressure free. That is why weather stations measure pressure with a sensor rather than calculate it.
What temperature can do is tell you how pressure changes once you already know it somewhere, or how it behaves when the amount of gas and its volume are fixed. The three methods below cover nearly every real question that leads someone to search for this.
Choosing the right method for your problem
| Your situation | Method | What you must already know | Typical use |
|---|---|---|---|
| You know pressure at one height and want it at another | Hypsometric or barometric formula | Starting pressure, height difference, average air temperature | Hiking, altitude estimates, sea level reduction |
| Gas trapped in a rigid container is heated or cooled | Gay-Lussac form of the gas law, p1/t1 = p2/t2 | Starting absolute pressure and both temperatures | Sealed jars, enclosures, lab problems |
| You can boil water but have no barometer | Vapour pressure equation for water | Accurate boiling temperature | Field estimate of local air pressure |
| Old mercury barometer reading | Temperature correction to a reference temperature | Attached thermometer reading and the instrument’s correction table | Antique and laboratory instruments |
Pressure at another height, using air temperature
Air pressure falls roughly exponentially with height, and the rate depends on how warm the air column is. Warm air is less dense, so pressure falls more slowly with height in warm air than in cold air. The hypsometric equation captures that:
p2 = p1 x e ^ (-(z2 – z1) / H), where the scale height H = R x T / g.
Here R is the gas constant for dry air, 287.05 J/(kg K), g is 9.81 m/s squared, and T is the average temperature of the layer in kelvin.
Worked example. The sea level pressure is 1013 hPa and the average temperature between sea level and 1,000 m is 10 degrees C.
- Convert to kelvin: 10 + 273.15 = 283.15 K.
- Scale height: 287.05 x 283.15 / 9.81 = about 8,285 m.
- Exponent: -1,000 / 8,285 = -0.1207.
- e to the power -0.1207 is about 0.8863.
- p2 = 1013 x 0.8863 = about 897.8 hPa at 1,000 m.
Repeat with an average of 30 degrees C and the scale height rises to about 8,870 m, giving roughly 905 hPa. The 20 degree warmer column holds 7 hPa more pressure at the top. Reversing the same equation is how weather stations convert their raw reading to sea level pressure, and why they ask for your elevation; the barometer buying guide explains absolute and relative readings.
Gas in a sealed container, and pressure from boiling water
Sealed rigid container. When neither the volume nor the amount of gas changes, absolute pressure is proportional to absolute temperature: p2 = p1 x t2 / t1, with both temperatures in kelvin.
- A jar is sealed at 1013 hPa and 20 degrees C, which is 293.15 K.
- It is warmed to 40 degrees C, 313.15 K.
- p2 = 1013 x 313.15 / 293.15 = 1013 x 1.0682 = about 1082 hPa.
The most common mistake is using Celsius, which would predict a doubling of pressure from 20 to 40 degrees. The second is using gauge pressure, as shown on a tyre gauge, instead of absolute pressure. Add the atmospheric pressure first, do the calculation, then subtract it again.
Boiling water as a barometer. Water boils when its vapour pressure equals the surrounding air pressure, so an accurate boiling temperature tells you the air pressure. Instruments built on this idea were once called hypsometers. The Antoine equation for water, valid between about 1 and 100 degrees C, is:
log10(P in mmHg) = 8.07131 – 1730.63 / (233.426 + T)
- Water boils at 95.0 degrees C on a mountain.
- 233.426 + 95.0 = 328.426, and 1730.63 / 328.426 = 5.2694.
- 8.07131 – 5.2694 = 2.8019, and 10 to that power is about 634 mmHg.
- Multiply by 1.3332 to convert: about 845 hPa, the standard pressure near 1,500 m.
A 0.1 degree error in the boiling temperature shifts the result by roughly 3 hPa, so this needs a calibrated thermometer, a full rolling boil and a probe held in the water, not the steam bubbles or the pan base.
Checking your answer, and when to just measure
- Sanity check the size. Sea level pressure almost always lies between about 950 and 1050 hPa. Pressure at 1,000 m is near 900 hPa, at 3,000 m near 700 hPa. An answer far outside those numbers points to a unit mistake.
- Check the units. Temperatures in kelvin, pressure absolute, heights in metres with g in metres per second squared. Mixing feet and metres is the most common slip in altitude problems.
- Compare with an official observation. For any real world calculation, look up the nearest airport or weather service pressure and see whether your result agrees within a few hPa.
- Mercury barometers. Mercury expands with temperature, so a warm room makes the column read slightly high. Old instruments carry an attached thermometer and a correction table to a reference temperature. Use the table supplied with the instrument rather than a generic factor.
If you need pressure regularly rather than as a one-off calculation, a small electronic sensor is cheaper in effort than any formula. Most units in our weather station list and the barometers roundup log pressure continuously alongside temperature.
Write down what you already know
Before picking a formula, list which values you actually have: a pressure at some height, a sealed volume, or a boiling point. If you have none of them and only an outdoor temperature, the honest route is to look up the nearest official pressure observation or use a barometer, because no equation can recover the weather from temperature alone.
Frequently Asked Questions
Does pressure go up when temperature goes up?
In a sealed rigid container, yes, in proportion to absolute temperature. In the open atmosphere there is no fixed link; a warm day can have high or low pressure depending on the weather system overhead.
Why must I use kelvin in gas law calculations?
The gas laws are proportional to absolute temperature, which starts at absolute zero. Celsius and Fahrenheit have arbitrary zero points, so ratios calculated with them give badly wrong answers.
Can I estimate altitude from pressure and temperature?
Yes. Rearranging the hypsometric equation gives the height difference as the scale height multiplied by the natural log of the pressure ratio. Barometric altimeters do this, and their accuracy depends on knowing the current sea level pressure.
How accurate is the boiling point method?
It is only as good as the thermometer. A sensor accurate to a few tenths of a degree gives pressure to within roughly ten hPa, which is enough to estimate altitude but not to follow the weather.
Does humidity change the calculation?
Slightly. Moist air is a little less dense than dry air, which meteorologists handle with a virtual temperature that can sit a few degrees above the real one in warm humid air. For everyday estimates the effect is small.