Step 1: observe the formula for that compound. Count up the number of elements in the formula of each component element. Step 2: look at the periodic table. Multiply the elements' atomic masses by the number of them in the formula. Step 3: add it all up. That's the mass of 1 mole of that compound. It's called the compound's "molar mass" and the correct unit is grams per mole (g/mol). Example: K3PO4 (potassium phosphate). 3 potassiums at 39 each, 1 phosphorus at 31, and 4 oxygens at 16 each = 212g/mol.