Magnesium Sulfate MgSO4
Magnesium sulfate is MgSO₄, an ionic sulfate salt. The anhydrous compound and hydrated forms such as MgSO₄·7H₂O are chemically distinct mass-calculation and materials contexts; the sulfate ion itself has delocalized bonding.
Also called: magnesium sulphate · Epsom salt (heptahydrate) · MgSO4
What does MgSO4 mean?
Mg²⁺ and SO₄²⁻ combine 1:1. The common heptahydrate adds seven waters of crystallization, MgSO₄·7H₂O; those waters must be included in molar-mass calculations.
Once you can count every element correctly, the same formula becomes the basis for formula mass and molar mass.
What kind of chemical substance is it?
Magnesium sulfate is ionic overall. Sulfate is a tetrahedral polyatomic ion with delocalized S–O bonding descriptions; water coordinates strongly to Mg²⁺ in solution and in hydrates.
Why does Magnesium Sulfate behave this way?
Anhydrous MgSO₄ and Epsom salt (commonly MgSO₄·7H₂O) have different formula masses and material behavior. Many search questions become clearer once the hydration state is stated explicitly.
What is Epsom salt chemically?
Epsom salt commonly refers to magnesium sulfate heptahydrate, MgSO₄·7H₂O.
Why is anhydrous magnesium sulfate used as a drying agent in chemistry?
Anhydrous MgSO₄ can bind water into hydrated forms, so it can remove small amounts of water from compatible organic phases in laboratory work.
What is the molar mass of anhydrous MgSO₄?
About 120.366 g/mol; the heptahydrate is much heavier because it includes seven H₂O.
Is magnesium sulfate ionic or covalent?
The compound is ionic overall (Mg²⁺ and SO₄²⁻); covalent bonding exists within the sulfate ion.
What happens when Mg²⁺ meets hydroxide?
Magnesium hydroxide can precipitate: Mg²⁺ + 2OH⁻ → Mg(OH)₂(s).
What happens when sulfate meets barium ions?
Barium sulfate precipitates: Ba²⁺ + SO₄²⁻ → BaSO₄(s).
Why should medical magnesium-sulfate questions be separated from this chemistry page?
Clinical use depends on route, dose and patient context. This page focuses on composition, hydrates, solution chemistry and reactions.
Find hydrate number x from mass loss instead of memorizing 'Epsom salt'
MgSO₄·xH₂O is a clean quantitative lesson because hydrate water is part of the formula. A mass-loss experiment can reveal x when assumptions are controlled.
Measure initial hydrate mass
This includes MgSO₄ plus stoichiometric water.
Heat to a justified constant-mass endpoint
Mass lost is attributed to water only if decomposition/side reactions are excluded.
Convert masses to moles
Compare moles of H₂O lost with moles of MgSO₄ residue and reduce to a small whole-number ratio.
Check your reasoning A 2.46 g sample loses 1.26 g; x can be found by dividing the two masses directly. Click to reveal the explanation Explanation revealed
Common wrong reasoning: Hydrate subscripts come from mass ratios.
Better answer: Convert each component to moles first; subscripts are mole ratios, not mass ratios.
Common misconceptions and exam traps
Epsom salt commonly refers to MgSO₄·7H₂O.
It is stoichiometrically associated with a defined hydrate crystal form.
Clinical use belongs to medical guidance; the chemistry hub should stay on hydrates, salts and safe context.
Key properties and classification
Why this compound matters: MgSO₄ has high AI Overview exposure on generic/medical queries, but still supports useful lower-AIO chemistry around hydration state, drying-agent behavior, molar mass and precipitation chemistry.
Where does Magnesium Sulfate appear in chemical equations?
These equations are included to connect the compound to chemistry concepts and stoichiometry. They are not laboratory procedures.
Aqueous ions are hydrated.
Illustrates solubility chemistry.
Classic qualitative sulfate reaction.
Safety depends on form, concentration and situation
Magnesium sulfate has legitimate medical uses, but dose/exposure guidance belongs to clinicians and product labeling. Chemistry use of anhydrous drying agents also requires appropriate laboratory safety practice. This page provides concepts, not treatment or handling instructions.
Study the chemistry, not just the topic names
The page intentionally avoids competing for generic medical queries and instead develops hydrate stoichiometry, sulfate structure, drying-agent chemistry and precipitation equilibria.
Hydrates Epsom salt versus anhydrous MgSO₄: same salt ions, different formula mass
Seven waters of crystallization substantially change molar mass and mass percent.

MgSO₄·7H₂O contains the same Mg²⁺/SO₄²⁻ stoichiometry plus seven waters per formula unit. Those waters are part of the crystal composition, not merely surface moisture.
Source: PubChem — Magnesium Sulfate
Laboratory chemistry Why anhydrous MgSO₄ can act as a drying agent
Water binding converts an anhydrous salt toward hydrated forms.
The driving force is hydration of Mg²⁺ and the crystal. The concept is water uptake; this page does not prescribe quantities or experimental procedures.
Source: PubChem — Magnesium Sulfate
Ion structure Sulfate is tetrahedral and resonance-delocalized
A single Lewis structure should not be mistaken for four permanently different S–O bonds.
Lewis contributors are bookkeeping representations. The real sulfate ion has delocalized bonding in a tetrahedral framework.
Precipitation Mg²⁺ and SO₄²⁻ can be tracked independently in solution
Different counterions reveal different solubility behavior.
Hydroxide can remove Mg²⁺ as Mg(OH)₂, while Ba²⁺ can remove sulfate as BaSO₄. Net ionic equations make the reacting species clear.
Source: OpenStax Chemistry 2e — Precipitation and Dissolution
Quantitative chemistry Hydration state can dominate a molar-mass calculation
The heptahydrate contains more than 120 g/mol because seven waters are included.
Students should identify whether a problem refers to MgSO₄ or MgSO₄·7H₂O before converting grams to moles.
Worked examples
24.305+32.06+4(15.999)≈120.36 g/mol
This value does not include water of crystallization.
120.36+7(18.015)≈246.47 g/mol
The hydration state nearly doubles the formula mass.
Related compounds
Sources & evidence Reference sources Open the evidence and reference list used for this compound page.
Compound pages separate formula interpretation from reference data and from contextual explanation. Check the linked source when a value or condition matters to your work.
- PubChem — Magnesium Sulfate — Identity, formula, synonyms, molecular/formula weight and reference safety data.
- NIST Chemistry WebBook — Magnesium Sulfate — Reference thermochemical/spectroscopic data where available for this substance or molecular species.
- OpenStax Chemistry 2e — supporting chemistry concepts — General chemistry framework used for bonding, equilibrium, redox, solubility or organic-chemistry explanations.
Found an error, something unclear, or a missing topic?
Tell us what you noticed. Feedback goes to a private review queue and is never published automatically.
