Air density decreases with altitude because there is less atmosphere stacked above you to compress the air at your level. At sea level, the entire weight of the atmosphere pushes down and squeezes air molecules closer together, producing a density of about 1.225 kg/m³. Climb higher, and there’s less air above you doing the compressing, so the molecules spread out and density drops.
The Weight of the Air Above You
The atmosphere behaves like a tall column of fluid. The pressure at any point in that column depends on the weight of all the air sitting above it. At sea level, roughly 100 kilometers of atmosphere bears down on you, generating an average pressure of about 101 kiloPascals. At 5,500 meters, only about half the atmosphere’s mass remains overhead, and pressure drops to roughly 50% of its sea level value. By the summit of Everest at 8,900 meters, pressure is just 30% of what you feel at the beach.
This relationship is called hydrostatic balance: pressure at each layer must be just high enough to support the weight of everything above it. Because less weight means less compression, the air molecules at higher altitudes have more room to spread apart. That spreading is exactly what lower density means, fewer molecules packed into the same volume of space.
How Pressure and Temperature Work Together
Density isn’t controlled by pressure alone. Temperature plays a role too. The basic physics linking all three quantities is straightforward: density equals pressure divided by temperature (multiplied by a constant for the type of gas). So density rises when pressure increases and falls when temperature increases, and vice versa.
In the troposphere, the lowest layer of the atmosphere where weather happens, temperature drops at a steady rate of about 6.5 °C for every 1,000 meters you climb. That cooling effect, on its own, would actually make air denser, because colder air molecules move more slowly and can pack together more tightly. But the pressure drop with altitude is far steeper than the temperature drop. Pressure decreases exponentially while temperature decreases only linearly. The net result is that density still falls dramatically as you go up, just not quite as fast as it would if temperature stayed constant.
Why the Drop Is Exponential, Not Gradual
A common misconception is that air thins out at a steady rate as you climb. It doesn’t. The decrease is exponential, meaning each additional kilometer of altitude removes a smaller absolute amount of air but roughly the same percentage. NASA’s Earth atmosphere model describes pressure in the troposphere as an exponential decay, with density derived from it at each altitude.
Think of it this way: the bottom layers of the atmosphere are the most compressed because they carry the greatest load. Remove one layer from the top and the remaining stack gets slightly less compressed. But the layers near the bottom barely notice, while the layers near the top expand substantially. This creates a curve where density is packed heavily near the surface and thins rapidly in the first several kilometers before tapering off more gradually higher up.
What This Means for Breathing
The percentage of oxygen in the air stays the same at every altitude, roughly 21%. What changes is how many oxygen molecules are present in each breath you take. At 5,500 meters, atmospheric pressure is about half the sea level value, so every lungful of air contains roughly half the oxygen molecules it would at the coast. Your lungs rely on pressure to push oxygen across membranes and into the blood, and with fewer molecules and lower driving pressure, gas exchange becomes less efficient.
This is why altitude sickness begins for many people above 2,500 meters and becomes dangerous above 5,000 meters. Your body compensates by breathing faster and producing more red blood cells over time, but the physics of fewer molecules per volume sets a hard limit on how much oxygen you can extract from thin air.
What This Means for Flight
Aircraft wings generate lift by forcing air to move faster over their curved upper surface, creating a pressure difference. The amount of lift depends directly on air density: thinner air produces less lift for the same wing shape and speed. Research on fixed-wing aircraft has shown that even modest changes in air density cause measurable drops in lift performance, and large enough changes can push an aircraft toward stall.
This is why pilots use a concept called “density altitude,” which is the pressure altitude corrected for temperature. On a hot day at a high-elevation airport, the air is even thinner than the altitude alone would suggest, because heat further reduces density. Planes need longer runways to take off and climb more slowly under these conditions. Commercial jets cruising at 10,000 to 12,000 meters fly through air that is a fraction of sea level density, which dramatically reduces drag and improves fuel efficiency, but requires pressurized cabins to keep passengers breathing comfortably.
The Core Takeaway
Gravity pulls air molecules toward Earth’s surface, and the accumulated weight of the atmosphere compresses the layers beneath it. The higher you go, the less air sits above you, so there’s less compression and molecules spread out. Temperature changes along the way modulate the effect, but pressure dominates. The result is an atmosphere that is densest at the surface and thins exponentially with altitude, shaping everything from how easily you breathe on a mountain hike to how efficiently a plane flies at cruising altitude.

