# Why do helium balloons expand in volume as they go higher?

I realize as balloons go higher, the atmospheric pressure decreases, doing less to counteract the force of the gas particles pushing against the inner walls of the balloon. But at the same time, doesn't the outside temperature decrease, causing the gas particles in the balloon to lose energy and have less impactful collisions and a lower velocity? Is the reason why the volume nonetheless increases because the pressure outside decreases faster than the temperature? Or am I overthinking this?

I didn't know that balloons expanded during the fly because of thermodynamics, and I didn't know how high they can fly, but a rapid search tells that a partially unfilled regular balloon can fly until an altitude of around $\pu{25 km}$.

Now, $\pu{25 km}$ means that it reaches the first part of the stratosphere, with temperatures of $\pu{-60 ^\circ C}$, that gradually increase until $\pu{0 ^\circ C}$ at $\pu{50 km}$. As for the pressure, it goes from around $\pu{40 mmHg}$ to $<\pu{1 mmHg}$ in the range $25\text{–}\pu{50 km}$.

If you try a $pV=nRT$ calculation on these data, you see that the gas is already at around 10 times its initial volume with $\pu{40 mmHg}$ pressure and a $\pu{213 K}$ temperature, and that at the $\pu{50 km}$ point the volume is increased 700 times!

Also: while the trend of the pressure is quite logical, that of temperature is caused by complex interations (eg: sun rays that heat particles). You can find this image quite interesting:

You are exactly correct that it is a matter of atmospheric pressure decreasing at a rate great enough to overcome the contraction due to decrease in temperature. On a nice, clear, dry 25°C day at sea level, atmospheric pressure decreases by about 12% per km, where the air temperature decreases by about 3% per km.

This is very similar to the process that allows convectional clouds to expand with height and the resulting thunderstorms to form. If an air mass started to rise then contract due to cooling, that would be the end of that convection event.

Thanks to the ideal gas law, the volume of the balloon doesn't really depend on the fact that the gas inside is helium in particular. So we should get the same volume if we fill the balloon with ordinary air and hoist it into the atmosphere mechanically instead of letting it rise by its own buoyancy.

In this modified thought experiment, the density of the gas inside the balloon is exactly the same as the density of the surrounding air, assuming that both pressure and temperature are equalized.

If the volume of the balloon stayed the same, this would require that the atmosphere has the same density at all altitudes. But then there would need to be infinitely much of it, which is absurd in conflict with observations: It is well known that the density in space approaches zero, and since the atmosphere is not a liquid, it has no distinct upper edge, so its density must decrease gradually as we move up.

Also, if the density were the same everywhere, air at sea level would not be compressed by the weight of the atmosphere above us, which is also absurd. (Consider what happens if we compress a portion of air with a piston -- say, a bicycle pump. Both pressure and temperature will increase -- but temperature does not rise so fast that the volume will stay constant!)