The density of air at sea level is about 1.2 kilograms per cubic meter. This density becomes less at higher altitudes at the same rate that pressure becomes less. The total mass of the atmosphere is about 5.1 × 10 kg, which is only a very small part of the Earth's total mass.