Question: how to find how many moles of an element are in a compound?
Answer: 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.