On this page
A thin tube, closed at the bottom and open at the top, holds air sealed in by a column of mercury above it. Warm the air slowly and it expands, pushing mercury over the rim. You might expect the tube to empty at the temperature where the air fills the whole tube. It does not. In a long enough tube the required temperature climbs to a peak and then falls, so once the air reaches that peak the last few centimetres of mercury are pushed out with no further heating. Here it is as a paper calculation, as set in olympiad and JEE-style gas-law questions.
Safety: this is a calculation only. Never heat mercury or try to set this up. Mercury vapour is toxic: the WHO's mercury and health fact sheet says people are exposed mainly by breathing elemental mercury vapour, and lists effects on the nervous system, lungs and kidneys.
What is the pressure of air trapped under a mercury column?
Measure lengths in cm and pressures in cm of mercury (cmHg). Then a mercury column h long adds exactly h cmHg. Take atmospheric pressure as H = 76 cmHg, which matches the standard atmosphere of 760 mmHg listed by HyperPhysics.
Call the tube length L and the air column l. The mercury above the air is L − l long, as long as the tube stays full to the rim. The mercury is at rest, so the air must hold up both the atmosphere and the mercury:
p = H + (L − l)
This is the same force balance as the Boyle's law version in air trapped by mercury in a tube: upright, inverted and flat. What is new here is heating, with mercury overflowing as the air grows.
How does the temperature depend on the air column?
The tube has a uniform cross-section A, so the air's volume is A × l. The amount of air is fixed, so the ideal gas law (HyperPhysics: ideal gas law) gives pV/T = constant. A cancels, and with the starting state written p₁, l₁, T₁:
T = T₁ × l(H + L − l) / (p₁l₁)
As the air grows, l rises but the pressure H + L − l falls, because mercury is spilling out. Their sum, H + L, is fixed, and a product of two numbers with a fixed sum is largest when they are equal. So T has a maximum at
l = (H + L)/2
where the air column equals its own pressure in cmHg.
When does the mercury leave on its own?
The peak lies inside the tube only if (H + L)/2 < L, that is, if L > H. For L > 76 cm, then, the required temperature rises until the air column reaches (H + L)/2, and beyond that point it falls.
Slow heating cannot follow that falling part. At the peak, every longer air column would need a lower temperature than the air already has, so there is no resting position left: the air expands and drives the remaining mercury out without extra heat. The length left at the peak is
L − (H + L)/2 = (L − H)/2
It does not depend on how much air you started with.
The same point appears as a stability test. Push the mercury up a tiny distance δ at fixed temperature. The air pressure drops by about (p/l)δ, while the pressure needed to hold the mercury drops by exactly δ. If p > l, the mercury sinks back: stable. If p < l, it keeps going. The boundary p = l is l = (H + L)/2. This is a maximum giving way to instability, as in the hilltop picture of stable and unstable equilibrium.
Worked example: a 100 cm tube, half air
A 100 cm tube holds 50 cm of air at 17 °C (290 K) under 50 cm of mercury. Take H = 76 cmHg and ignore the mercury's own expansion. When does all the mercury leave?
Starting state. p₁ = 76 + 50 = 126 cmHg, so p₁l₁ = 126 × 50 = 6300 cmHg·cm.
General state. p = 76 + 100 − l = 176 − l, so T = 290 K × l(176 − l)/6300.
Check the start. At l = 50: 50 × 126 = 6300, so T = 290 K.
Find the peak. l = 176/2 = 88 cm. Then l(176 − l) = 88 × 88 = 7744, and T = 290 × 7744/6300 ≈ 356.5 K, about 83 °C.
What is left. At the peak, 100 − 88 = 12 cm of mercury remains. From here it is pushed out with no further heating.
The tempting wrong answer. Putting l = L = 100 cm gives T = 290 × 100 × 76/6300 ≈ 349.8 K, about 77 °C. That is lower than the peak, so it is not the answer. The air must first pass 83 °C to get there.
Units. (cm × cmHg)/(cmHg × cm) is a pure number, so T comes out in kelvin.
On the way up the air column is about 61 cm at 50 °C and 80 cm at 80 °C (the smaller root of the quadratic). The last 8 cm, from 80 to 88 cm, takes only about 3 °C more.
Two variations, starting at 17 °C:
Less air, 30 cm. p₁l₁ = 146 × 30 = 4380. The peak is still at l = 88 cm, but T ≈ 513 K (about 240 °C). The 12 cm that leaves on its own is the same.
A short tube, 60 cm with 20 cm of air. Now L < H, the peak (68 cm) lies outside the tube, and the temperature keeps rising until the last of the mercury leaves, at 290 × 60 × 76/2320 ≈ 570 K.
What does the model leave out?
The tube is uniform and the heating slow, so the air passes through resting states.
Expansion of the mercury and the glass, and surface tension at the rim, are ignored.
The air is taken to stay at the peak temperature while it pushes the last mercury out; a fast push would cool it a little, which is beyond this calculation.
For more gas-law numericals with a hydrostatic twist, the Fermi Problem Library has a step-by-step solver that explains the reasoning. If you are preparing for JEE Main & Advanced, Fermi Test Prep offers personalised preparation with an AI tutor, live classes, adaptive mocks, mentorship and a study plan that updates based on mastery.
Problem idea: Czech Physics Olympiad 2007/08 (49th), first round, category A, problem 4 (CC BY 3.0 CZ), from the olympiad's archive. The numbers, the variations and the wording here are our own.
Quick checklist
Air pressure under the plug: p = H + (L − l) in cmHg.
Gas law with the area cancelled: T ∝ l(H + L − l).
Peak at l = (H + L)/2, inside the tube only if L > H.
Mercury left at the peak, (L − H)/2, leaves with no more heating.
100 cm tube, 50 cm air at 17 °C: peak 356.5 K (about 83 °C), not 77 °C.
Calculation only: never heat mercury.



