Cans of compressed air get cold while they re discharging because of a thermodynamic principle known as the adiabatic effect.
Why does compressed air get cold when released.
This is the principle operation of air conditioners refrigerators and other heat pumps.
The reason the can gets cold after being used is due to a process known as adiabatic cooling a property of thermodynamics.
There is no reason that the compressed air tank should have a lower temperature in the compressed state when the pressure was not changed for a couple hours.
Eventually your hand gets cold.
The secret behind this freezing property of the cans is the do not shake warning that is mentioned on the can.
When air or other gas is compressed work is done and the gas heats up.
Metal however feels cold to touch even when at environment temperature due to the high thermal conductivity.
When you pressurize a gas by compressing it into a container you re putting all those molecules into a smaller volume of space and you re adding potential energy by the compression.
A gas initially at high pressure cools significantly when that pressure is released.
The cold temperature profile sneaks back towards the can because the air is such a lousy conductor of heat so the heat is all coming from the can.
Then the gas is released through a nozzle the gas expands again and cools.
If the container is stored the temperature equalizes to the ambient temperature.
The video will explain what really happens inside the compressed air cans.