Question: how to find moles of water in hydrated mgso4?
Answer: Take the mass of the hydrate and subtract the mass of the anhydrate to get the mass of water. ... 
Divide the mass of water by the molar mass of water to get moles of water. ... 
Divide the mass of anhydrate by the molar mass of anhydrate to get moles of anhydrate.