# How to calculate mass proportions of each compound in air?

We know average volume proportions between compounds in dry air. Here are the more important (in terms of proportions) ones:

How can we calculate mass proportions between these gases?

I'm considering a more general case, not only the exact values from the chart.