Earth’s atmosphere is held on by gravity, pulling it towards the centre of the planet. This means the air can move sideways around the planet in a relatively unrestricted manner, creating wind and weather systems, but it has trouble flying upwards into space.
It is possible for a planet’s atmosphere to leak away into space, if the gravity is too weak to hold it. Planets have an escape velocity, which is the speed at which an object fired directly upwards must have in order for it to fly off into space, rather than slow down and fall back down. For Earth, this escape velocity is 11.2 km/s. Almost nothing on Earth goes this fast – but there are some things that do. Gas molecules.
Air is made up of a mixture of molecules of different gases. The majority, around 78%, is nitrogen molecules, made of two atoms of nitrogen bonded together, followed by 21% oxygen molecules, similarly composed of two bonded oxygen atoms. Almost 1% is argon, which is a noble gas, its atoms going around as unbonded singletons. Then there are traces of carbon dioxide, helium, neon, methane, and a few others. On top of these is a variable amount of water vapour, which depending on local weather conditions can range from almost zero to around 3% of the total.
Gas is the state of matter in which the component atoms and molecules are separated and free to move mostly independently of one another, except for when they collide. This contrasts with a solid, in which the atoms are rigidly connected, a liquid, in which the atoms are in close proximity but able to flow and move past one another, and a plasma, in which the atoms are ionised and surrounded by a freely moving electrically charged cloud of electrons. The deciding factors on which state a material exists in are temperature and pressure.
Temperature is a measurable quantity related to the amount of thermal energy in an object. This is the form of energy which exists in the individual motion of atoms and molecules. In a solid, the atoms are vibrating slightly. As they increase in thermal energy they vibrate faster, until the energy breaks the bonds holding them together, and they form molecules and start to flow, becoming a liquid. As the temperature rises and more thermal energy is added, the molecules begin to fly off the mass of liquid completely, dispersing as a gas. And if more energy is added, it eventually strips the outer electrons off the atoms, ionising the gas into a plasma.
The speed at which molecules move in a gas is determined by the relationship between temperature and the kinetic energy of the molecules. The equipartition theorem of thermodynamics says that the average kinetic energy of molecules in a gas is equal to (3/2)kT, where T is the temperature and k is the Boltzmann constant. If T is measured in kelvins, the Boltzmann constant is about 1.38×10-23 joules per kelvin. So the kinetic energy of the molecules depends linearly on the temperature, but kinetic energy equals (1/2)mv2, where m is the mass of a molecule and v is the velocity. So the average speed of a gas molecule is then √(3kT/m). This means that more massive molecules move more slowly.
For example, here are the molecular masses of some gases and the average speed of the molecules at room temperature:
|Gas||Molecular mass (g/mol)||Average speed (m/s)|
|Water vapour (H2O)||18.015||642|
|Carbon dioxide (CO2)||44.010||411|
Remember that these are the average speeds of the gas molecules. The speeds actually vary according to a statistical distribution known as the Maxwell-Boltzmann distribution. Most molecules have speeds around the average, but there are some with lower speeds all the way down to zero, and some with higher speeds. At the upper end, the speed distribution is not limited (except by the speed of light), although very few molecules have speeds more than 2 or 3 times the average.
These speeds are low enough that essentially all the gas molecules are gravitationally bound to Earth. At least in the lower atmosphere. As you go higher the air rapidly gets thinner—because gravity is pulling it down to the surface—but the pressure means it can’t all just pile up on the surface, so it spreads ever thinly upwards. The pressure drops exponentially with altitude: at 5 km the pressure is half what it is at sea level, at 10 km it’s one quarter, at 15 km one eighth, and so on.
The physics of the atmosphere changes as it moves to higher altitudes and lower pressures. Some 99.998% of the atmosphere by mass is below 85 km altitude. The gas above this altitude, in the thermosphere and exosphere, is so rarefied that it is virtually outer space. Incoming solar radiation heats the gas and it is so thin that heat transport to lower layers is inefficient and slow. Above about 200 km the gas temperature is over 1000 K, although the gas is so thin that virtually no thermal energy is transferred to orbiting objects. At this temperature, molecules of hydrogen have an average speed of 3516 m/s, and helium 2496 m/s, while nitrogen is 943 m/s.
While these average speeds are still well below the escape velocity, a small fraction of molecules at the high end of the Maxwell-Boltzmann distribution do have speeds above escape velocity, and if moving in the right direction they fly off into space, never to return to Earth. Our atmosphere leaks hydrogen at a rate of about 3 kg/s, and helium at 50 g/s. The result of this is that any molecular hydrogen in Earth’s atmosphere leaks away rapidly, as does helium.
There is virtually no molecular hydrogen in Earth’s atmosphere. Helium exists at an equilibrium concentration of about 0.0005%, at which the leakage rate is matched by the replacement of helium in the atmosphere produced by alpha decay of radioactive elements. Recall that in alpha decay, an unstable isotope emits an alpha particle, which is the nucleus of a helium atom. Radioactive decay is the only source of helium we have. Decaying isotopes underground can have their alpha particles trapped in petroleum and natural gas traps underground, creating gas reservoirs with up to a few percent helium; this is the source of all helium used by industry. Over the billions of years of Earth’s geological history, it has only built up enough helium to last our civilisation for another decade or two. Any helium that we use and is released to the atmosphere will eventually be lost to space. It will become increasingly important to capture and recycle helium, lest we run out.
Because of the rapid reduction in probabilities for high speeds of the Maxwell-Boltzmann distribution, the leakage rate for nitrogen, oxygen, and heavier gases is much slower. Fortunately for us, these gases leak so slowly from our atmosphere that they take billions of years for any appreciable loss to occur.
This is the case for a spherical Earth. What if the Earth were flat? Well, the atmosphere would spill over the sides and be lost in very quick time. But wait, a common feature of flat Earth models is impassable walls of ice near the Antarctic rim to keep adventurous explorers (and presumably animals) from falling off the edge. Is it possible that such walls could hold the atmosphere in?
If they’re high enough, sure! Near the boundary between the thermosphere and the exosphere, the gas density is extremely low, and most (but not all) of the molecules that make it this high are hydrogen and helium. If the walls were this high, it would stop virtually all of the nitrogen and oxygen from escaping. However, if the walls were much lower, nitrogen and oxygen would start leaking at faster and faster rates. So how high do the walls need to be? Roughly 500-600 kilometres.
That’s well and truly impassable to any explorer using anything less than a spacecraft, so that’s good. But walls of ice 500 km high? We saw when discussing hydrostatic equilibrium that rock has the structural strength to be piled up only around 10 km high before it collapses under its own gravity. The compressive strength of ice, however, is of the order 5-25 megapascals, about a tenth that of granite.
Ice is also less dense than rock, so a mountain of ice has a lot less mass than a mountain of granite. However, doing the sums shows that an Everest-sized pile of ice would produce a pressure of 30 MPa at its base, meaning it would collapse under its own weight. And that’s more than 50 times shorter than the walls we need to keep the atmosphere in.
So the fact that we can breathe is a consequence of our Earth being spherical. If it were flat, there would be no physically plausible way to keep the atmosphere in. (There are other models, such as the Earth being covered by a fixed firmament, like a roof, to which the stars are affixed, but these have even more physical problems – which will be discussed another day.)
 Jones, S. J. “The confined compressive strength of polycrystalline ice”. Journal of Glaciology, 28 (98), p. 171-177, 1982. https://doi.org/10.1017/S0022143000011874
 Petrovic, J. J. “Review: Mechanical properties of ice and snow”. Journal of Materials Science, 38, p. 1-6, 2003. https://doi.org/10.1023/A:1021134128038