Humid air is less dense than dry air because a molecule of water (M ≈ 18 u) is less massive than either a molecule of nitrogen (M ≈ 28) or a molecule of oxygen (M ≈ 32). About 78% of the molecules in dry air are nitrogen (N2). Another 21% of the molecules in dry air are oxygen (O2).