Magnesium sulfate is MgSO4. In the natural state it is found in the hydrated state, with seven molecules of water of crystallization. In this form it is called as magnesium sulfate heptahydrate or Epsom salt and has the chemical formula MgSO4.7H2O. On heating up to 250