Find the molar mass of each element within the compound. Each element has its own molar mass noted at the bottom of its square in the periodic table. For example, oxygen is about 15.999 grams per mole. You should write down each individual element's molar mass before continuing. This is especially helpful when you get into looking at the molar mass of more complex chemical compounds.
Decide how many atoms of each element make up the chemical compound. This will be given to you in the chemical compound formula. For example, in water, H20, there are two atoms of hydrogen and one atom of oxygen. The subscript number relates to the element directly before it. If no number is present, assume it is a 1.
Multiply the number of atoms by the molar mass of the specific element. If you are looking at water, you will find that the molar mass of hydrogen is 1.008 and the molar mass of oxygen is 15.999. Because there are two atoms of hydrogen, multiply 1.008 by 2, and since there is only one atom of oxygen, you multiply 15.999 by 1. Therefore, the resulting amounts are 15.999 grams/mole of oxygen and 2.016 grams/mole of hydrogen.
Add the resulting molar mass for each element together to find the total molar mass of the chemical compound. In the example using water, you would add the molar mass of oxygen (15.999) to the molar mass of two atoms of hydrogen (2.016); the resulting total molar mass of the compound would be 18.015.