Question: how to calculate how many moles in a substance?
Answer: Use the molecular formula to find the molar mass; to obtain the number of moles, divide the mass of compound by the molar mass of the compound expressed in grams.