Question: how to determine moles of an element in a compound?
Answer: This is the molar mass of the compound; it has units of grams per mole. Divide the mass of the compound in grams by the molar mass you just calculated. The answer is the number of moles of that mass of compound. For example, 25 grams of water equals 25/18.016 or 1.39 moles.