The formula mass of anhydrous magnesium sulfate, MgSO4, is 120.36 atomic mass units (u); its molar mass is 120.36 g/mol. This calculator sums the atomic masses in the formula, so you can change the number of magnesium sulfate formula units and see the corresponding formula mass; the default is one MgSO4 unit.
Formula
For one formula unit of magnesium sulfate, add the atomic mass of magnesium, one sulfur atom, and four oxygen atoms:
Formula mass = Ar(Mg) + Ar(S) + 4 × Ar(O)
Here, Ar is the relative atomic mass, expressed numerically in atomic mass units (u) when the atoms’ masses are summed. The calculator’s input n is the number of formula units; its first output is n times the mass per unit, in u. The second output is the molar mass: the mass of one mole of MgSO4, in g/mol. The numerical values match because a mole contains Avogadro’s number of entities.
The default atomic masses are Mg = 24.305, S = 32.06, and O = 15.999. These are abridged standard atomic weights. Small differences in the last digit can occur in references using different atomic-weight conventions or rounding.
Worked Example
Using the calculator’s defaults, n = 1, Mg = 24.305 u, S = 32.06 u, and O = 15.999 u:
- Four oxygen atoms contribute 4 × 15.999 u = 63.996 u.
- Add the magnesium and sulfur contributions: 24.305 u + 32.06 u + 63.996 u = 120.361 u.
- For one formula unit, the formula mass is 1 × 120.361 u = 120.361 u, which rounds to 120.36 u.
- The molar mass is 120.361 g/mol, or 120.36 g/mol to two decimal places.
Those are the outputs for anhydrous MgSO4. The second output is not the mass of an individual formula unit: it describes a mole of formula units.
Assumptions
- The formula is anhydrous MgSO4, with one Mg, one S, and four O atoms per formula unit.
- The listed atomic masses are conventional abridged standard values; the result is rounded to two decimal places.
- The molar-mass output refers to pure MgSO4, not a hydrate, solution, or commercial mixture.
- Formula mass is calculated for a formula unit; ionic magnesium sulfate is not treated as a discrete covalent molecule.
Formula Mass, Molecular Mass, and Molar Mass
These related terms describe different quantities. Formula mass is the sum of atomic masses in a chemical formula unit and is commonly reported in u. For an ionic compound such as magnesium sulfate, “formula unit” is more precise than “molecule”: the solid consists of an extended ionic lattice, rather than separate MgSO4 molecules.
Molecular mass is used for a molecule, such as water. Molar mass gives the mass per mole and is written in g/mol. For MgSO4, the formula mass is about 120.36 u and the molar mass is about 120.36 g/mol. The matching numerical values do not mean the units are interchangeable: one is a mass scale for a formula unit, and the other is mass divided by amount of substance.
One mole contains exactly 6.02214076 × 1023 specified entities. For an ionic solid, those entities are formula units. This connection lets you convert between a sample’s mass and amount in moles, provided the sample is pure and its chemical form is known.
Why Hydrated Magnesium Sulfate Has a Different Mass
Magnesium sulfate can occur as a hydrate, meaning water molecules are included in the crystal structure. The hydrate’s written formula includes water after a centered dot. Each water molecule adds two hydrogen atoms and one oxygen atom to the formula mass, so a hydrate cannot be assigned the anhydrous value of 120.36 g/mol.
- Anhydrous magnesium sulfate: MgSO4, about 120.36 g/mol.
- Magnesium sulfate heptahydrate: MgSO4·7H2O. Its formula mass is about 246.47 u, and its molar mass is about 246.47 g/mol.
- Other hydrates: include the number of water molecules actually specified by the hydrate formula. Do not assume every sample is the heptahydrate.
For the heptahydrate, the added water contributes 7 × [2(1.008) + 15.999] = 126.105 u; adding 120.361 u gives 246.466 u, conventionally rounded to 246.47. This difference matters in stoichiometry: equal masses of the anhydrous compound and a hydrate do not contain equal amounts of MgSO4.
Using Molar Mass in Calculations
Molar mass links a weighed sample to moles. For pure anhydrous MgSO4, calculate amount in moles by dividing mass in grams by 120.36 g/mol. For example, 12.036 g corresponds to approximately 0.1000 mol, using the rounded molar mass. Conversely, to find the mass for a target amount, multiply moles by molar mass.
For a hydrate, use the hydrate’s own molar mass. If a problem asks for the amount of MgSO4 present in a hydrated sample, the hydrate’s formula tells you how many MgSO4 units are represented per formula unit: one in MgSO4·7H2O. In an actual material, purity and water content can affect the result, so a calculation based only on the printed formula assumes the stated compound is present as specified.
Common Errors and Limits
- Using the wrong form: 120.36 g/mol applies to anhydrous MgSO4, not MgSO4·7H2O.
- Counting oxygen incorrectly: the subscript 4 applies to oxygen only, so the formula contains four O atoms, one Mg, and one S.
- Confusing units: u applies to a formula unit; g/mol applies to a mole. A sample’s mass in grams is neither of these by itself.
- Rounding too early: keep the atomic-mass contributions until the final step, especially in multi-step stoichiometry.
- Assuming purity: a formula-mass calculation does not account for impurities, absorbed moisture, or an unknown hydrate composition.
The calculator is an arithmetic aid, not a measurement of a physical sample’s composition. If the chemical form is uncertain, identify the hydrate or material specification before using a molar mass in a quantitative calculation.
Frequently Asked Questions
What is the formula mass of MgSO4?
The formula mass of anhydrous MgSO4 is about 120.36 u, using Mg = 24.305, S = 32.06, and O = 15.999.
What is the molar mass of magnesium sulfate?
Anhydrous MgSO4 has a molar mass of about 120.36 g/mol. A hydrated form has a larger molar mass because its formula includes water.
Is formula mass the same as molecular mass?
They are calculated by summing atomic masses, but formula mass is the appropriate term for an ionic compound such as MgSO4. Molecular mass is used for discrete molecules.
What is the formula mass of magnesium sulfate heptahydrate?
MgSO4·7H2O has a formula mass of about 246.47 u and a molar mass of about 246.47 g/mol.
Why do formula mass and molar mass have the same number?
The atomic mass unit and mole are defined so that the numerical value for a formula unit in u matches the mass per mole in g/mol, although the quantities and units differ.
Related
Formula used
in n | Number of MgSO4 formula units | - | 1 | 0 in mg | Magnesium atomic mass | u | 24.305 | 0 in ms | Sulfur atomic mass | u | 32.06 | 0 in mo | Oxygen atomic mass | u | 15.999 | 0 out fm | Formula mass | u | n * (mg + ms + 4 * mo) | 2 out mm | Molar mass | g/mol | mg + ms + 4 * mo | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Serial Dilution Calculation Examples0.2000 mol/L
- Serial Dilution: How It Works & Why It Matters1.000 × 10−5 mol/L
- Serial vs Simple Dilution: Key Differences0.2000 mol/L
- Serial Dilution A Level Biology: How To Do It30
- Milton Tablet Dilution: Mixing Guide0.2000 mol/L
- qPCR Serial Dilution Standard Curve: How to Build One100,000 copies/µL