molecalculator

Moles & Molar Mass

Magnesium Sulfate Molar Mass Calculator and Formula

Calculator No. 01-6641 · Updated · Formula and assumptions shown below

Molar mass 120.361 g/mol
Relative formula mass
120.361
= Molar mass
Magnesium atoms per formula unit
1
Set in the form below
Sulfur atoms per formula unit
1
Set in the form below
You enter
Magnesium atoms per formula unit, Sulfur atoms per formula unit, Oxygen atoms per formula unit
You get
Molar mass (g/mol), Relative formula mass
Rounding
3 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This calculator works out the molar mass of magnesium sulfate from its chemical formula and the atomic weights of its elements. Enter the number of magnesium, sulfur, and oxygen atoms in the formula unit; the result is the mass in grams per mole, useful for chemistry calculations.

Formula

The calculator adds the atomic masses of all atoms represented in one formula unit:

Molar mass, M = nMg(24.305) + nS(32.06) + nO(15.999)

  • nMg is the number of magnesium atoms per formula unit.
  • nS is the number of sulfur atoms per formula unit.
  • nO is the number of oxygen atoms per formula unit.
  • 24.305, 32.06, and 15.999 are the adopted atomic weights for magnesium, sulfur, and oxygen, respectively, in g/mol.

For anhydrous magnesium sulfate, MgSO4, the calculation is 1 × 24.305 + 1 × 32.06 + 4 × 15.999 = 120.361 g/mol, or 120.361 as a relative formula mass when expressed as a dimensionless number. The displayed value is rounded to three decimal places. The numerical values of relative formula mass and molar mass correspond when the molar mass is expressed in g/mol, but their units and meanings differ.

Worked Example

For the default formula MgSO4, the calculator uses 1 magnesium atom, 1 sulfur atom, and 4 oxygen atoms:

M = 1 × 24.305 + 1 × 32.06 + 4 × 15.999

M = 24.305 + 32.06 + 63.996 = 120.361 g/mol

Rounded to the calculator’s three decimal places, the molar mass is 120.361 g/mol. The corresponding relative formula mass is 120.361, with no unit.

Assumptions

  • The formula contains integer counts of magnesium, sulfur, and oxygen atoms; it represents anhydrous MgSO4 by default.
  • Atomic weights are the conventional values entered in the formula, not a measurement of a particular sample’s isotopic composition.
  • This is formula arithmetic. It does not account for water of crystallization, impurities, or a substance’s actual purity.

What “Relative Mass” Means

“Relative mass of magnesium sulfate” usually refers to its relative formula mass, sometimes written Mr. For ionic compounds such as magnesium sulfate, “formula mass” is more precise than “molecular mass”: solid magnesium sulfate is made of ions in a repeating crystal structure, not separate MgSO4 molecules. Its simplest formula unit contains one Mg2+ ion and one SO42− ion.

Relative formula mass is the sum of the relative atomic masses in that formula and has no units. Molar mass is the mass of one mole of those formula units and is reported in g/mol. Thus the familiar answer is approximately 120.36 for relative formula mass, or 120.36 g/mol for anhydrous magnesium sulfate’s molar mass. If a worksheet asks only for “relative mass,” the number without units is generally what it expects.

Why the Formula Form Matters

Magnesium sulfate is also commonly encountered as a hydrate: water molecules are included in the crystal. The number of waters changes the formula and therefore changes the mass per mole. A frequently encountered hydrate is magnesium sulfate heptahydrate, MgSO4·7H2O. Its formula-unit mass is the mass of MgSO4 plus seven water molecules:

120.361 + 7 × (2 × 1.008 + 15.999) = 246.514 g/mol.

So 120.361 g/mol is not the molar mass of the heptahydrate. The dot in the hydrate formula means that each formula unit includes seven water molecules; it does not mean multiplication of the whole salt formula by seven. For other hydrates, use the water count shown in the actual formula or specified by the problem.

The calculator accepts atom counts, not a chemical formula string, so for a hydrate you must add the hydrate’s hydrogen and oxygen counts to the element totals. For MgSO4·7H2O, the total counts are Mg = 1, S = 1, H = 14, and O = 11. This calculator is limited to magnesium, sulfur, and oxygen; it does not calculate that hydrate directly because it has no hydrogen input. Its default result applies to anhydrous MgSO4.

Using Molar Mass in Calculations

Molar mass connects a sample’s mass to the amount of substance. For anhydrous MgSO4, divide a mass in grams by 120.361 g/mol to obtain moles. Conversely, multiply moles by 120.361 g/mol to calculate the corresponding mass. For example, 12.0361 g of pure anhydrous material corresponds to 0.10000 mol using this molar mass.

Check that the formula and units match the material and the calculation. A weighed hydrate contains water as part of its formula-unit mass, so treating its sample mass as anhydrous MgSO4 would give the wrong number of moles of magnesium sulfate. Likewise, purity affects the amount of MgSO4 in a real sample but does not alter the ideal formula mass; purity must be accounted for separately when the problem supplies it.

Atomic Weights, Precision, and Common Mistakes

The values used here—Mg 24.305, S 32.06, and O 15.999—are abridged standard atomic weights suitable for ordinary calculations. Atomic weights reflect the isotopic composition used for standard reference values, so a value calculated with a different table may differ slightly in the last decimal place. Follow the values specified by a course, laboratory method, or reference table when exact agreement is required.

  • Do not omit the oxygen subscript: SO4 has four oxygen atoms, contributing 63.996 g/mol in this calculation.
  • Do not confuse mass with molar mass: 120.361 g/mol is not the mass of every sample; it is the mass per mole.
  • Check for waters of crystallization: MgSO4 and MgSO4·7H2O have different molar masses.
  • Round at the end: keeping the unrounded sum until the final step avoids accumulating rounding error.

The formula mass is a calculated value based on a stated chemical formula. It cannot confirm that a container’s contents have that formula, are pure, or are dry. Those are separate questions requiring suitable information about the sample.

Frequently Asked Questions

What is the relative formula mass of MgSO4?
Using Mg = 24.305, S = 32.06, and O = 15.999, it is 120.361, usually given as 120.36. It has no units.

What is the molar mass of magnesium sulfate in g/mol?
Anhydrous MgSO4 has a molar mass of 120.361 g/mol, commonly rounded to 120.36 g/mol.

Is MgSO4 the same as Epsom salt?
They are often associated, but common Epsom salt is magnesium sulfate heptahydrate, MgSO4·7H2O. Its molar mass is about 246.514 g/mol, not 120.361 g/mol.

Why do some tables give a slightly different value?
Tables may use different atomic-weight rounding or conventions. Small differences in the final decimal place are expected; use the atomic weights required by your problem or method.

Does relative formula mass have a unit?
No. Relative formula mass is a ratio and is dimensionless. Molar mass describes mass per mole and has units, commonly g/mol.

Related

Formula used
in mg | Magnesium atoms per formula unit | - | 1 | 0 | 100
in s | Sulfur atoms per formula unit | - | 1 | 0 | 100
in o | Oxygen atoms per formula unit | - | 4 | 0 | 100
out mm | Molar mass | g/mol | mg * 24.305 + s * 32.06 + o * 15.999 | 3
out unit | Relative formula mass | - | mm | 3

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

The whole Moles & Molar Mass section →