Compound reference · Ionic compound

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

Formula MgSO4 Molar mass 120.366 g/mol CAS 7487-88-9
Formula decoder

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.

From formula to amount

Once you can count every element correctly, the same formula becomes the basis for formula mass and molar mass.

Structure & bonding

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.

What a one-line answer misses

Why does Magnesium Sulfate behave this way?

“Magnesium sulfate” can mean different hydration states

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.

Learn by doing

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.

1

Measure initial hydrate mass

This includes MgSO₄ plus stoichiometric water.

2

Heat to a justified constant-mass endpoint

Mass lost is attributed to water only if decomposition/side reactions are excluded.

3

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 is simply another name for anhydrous MgSO₄.

Epsom salt commonly refers to MgSO₄·7H₂O.

Water of crystallization is accidental surface moisture.

It is stoichiometrically associated with a defined hydrate crystal form.

Medical dosing queries should shape this chemistry page.

Clinical use belongs to medical guidance; the chemistry hub should stay on hydrates, salts and safe context.

Quick reference

Key properties and classification

FormulaMgSO4
ClassIonic compound
FamilySulfate salt
Molar mass120.366 g/mol
IonsMg²⁺ + SO₄²⁻
Sulfate geometryTetrahedral
Common hydrateMgSO₄·7H₂O
Anhydrous roleWater-binding drying agent
Solution behaviorSoluble electrolyte

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.

Reaction connections

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.

DissociationMgSO4 → Mg2+ + SO4^2−

Aqueous ions are hydrated.

Hydroxide precipitationMg2+ + 2 OH− → Mg(OH)2(s)

Illustrates solubility chemistry.

Sulfate precipitationBa2+ + SO4^2− → BaSO4(s)

Classic qualitative sulfate reaction.

Learn why equation coefficients conserve every element →

Health, safety & context

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.

Deeper chemistry

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.

Magnesium sulfate compared with magnesium sulfate heptahydrate and water of crystallization
MgSO₄ and MgSO₄·7H₂O have different formula masses because water is part of the crystalline hydrate formula.

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.

Source: OpenStax Chemistry 2e — Lewis Structures

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.

Source: OpenStax Chemistry 2e — Formula masses

Worked examples

Anhydrous molar massEstimate the molar mass of MgSO₄.

24.305+32.06+4(15.999)≈120.36 g/mol

This value does not include water of crystallization.

Heptahydrate comparisonEstimate the molar mass of MgSO₄·7H₂O.

120.36+7(18.015)≈246.47 g/mol

The hydration state nearly doubles the formula mass.

Keep exploring
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.

  1. PubChem — Magnesium Sulfate — Identity, formula, synonyms, molecular/formula weight and reference safety data.
  2. NIST Chemistry WebBook — Magnesium Sulfate — Reference thermochemical/spectroscopic data where available for this substance or molecular species.
  3. OpenStax Chemistry 2e — supporting chemistry concepts — General chemistry framework used for bonding, equilibrium, redox, solubility or organic-chemistry explanations.
Switch light / dark mode