Reactions and Stoichiometry

Molar Mass: Calculating It for Any Compound

Add up atomic weights correctly for simple formulas, parentheses, hydrates and ions, with rounding advice and worked examples.

Key takeaways

  • Count every atom in the formula, applying subscripts outside parentheses to everything inside them.
  • Look up standard atomic weights and keep at least as many significant figures as your measured data.
  • Include water of hydration when the substance is a hydrate.
  • Elements that exist as molecules, such as O₂ or Cl₂, have molar masses based on the whole molecule.
  • Estimate the answer first so that a missed subscript stands out.

To find the molar mass of a compound, multiply the atomic weight of each element by the number of atoms of that element in the formula, then add the results. The unit is grams per mole (g/mol). For water, H₂O, that is 2 × 1.008 + 15.999 = 18.015 g/mol.

Molar mass is the mass of one mole of a substance, and it is the bridge between what a balance reads and how many particles you have. Getting it right depends mostly on counting atoms carefully.

What you need

You need two things: a correct formula and a table of standard atomic weights. The values used in this article are rounded as follows.

Element Symbol Atomic weight (g/mol)
Hydrogen H 1.008
Carbon C 12.011
Nitrogen N 14.007
Oxygen O 15.999
Sodium Na 22.990
Sulfur S 32.06
Chlorine Cl 35.45
Calcium Ca 40.078
Copper Cu 63.546

Textbooks round slightly differently, so answers can differ in the last digit. Say which table you used if precision matters.

An atomic weight is a weighted average over an element's natural isotopes. The method behind those decimals is shown in calculating average atomic mass.

What the number means

A molar mass tells you how many grams you would need to collect one mole of that substance. Eighteen grams of water, about 58 g of table salt and about 180 g of glucose each contain the same number of particles: one mole of molecules or formula units.

The same figure, expressed in atomic mass units, gives the average mass of a single particle. One water molecule averages about 18.015 u. The older phrases molecular weight and formula weight are still common, and they usually appear without units because they are relative values. Molar mass carries g/mol.

Large molar masses do not mean large amounts of anything. They mean heavy individual particles. A sample of 10 g of glucose holds far fewer molecules than 10 g of water, because each glucose molecule is about ten times heavier.

The basic method

  1. Write the correct formula.
  2. List each element and its total number of atoms.
  3. Multiply each count by the atomic weight.
  4. Add the products.
  5. Round at the end and attach the unit g/mol.

Take glucose, C₆H₁₂O₆.

C:  6 × 12.011 =  72.066
H: 12 ×  1.008 =  12.096
O:  6 × 15.999 =  95.994
total          = 180.156 g/mol

You would normally report about 180.16 g/mol.

Building a molar mass
1 Check formula Confirm every subscript and charge 2 Count atoms Expand parentheses and hydrate dots 3 Multiply Count times atomic weight 4 Add Sum all element contributions 5 Round Round once, at the end, in g/mol Check formula Confirm every subscript and charge 1 Count atoms Expand parentheses and hydrate dots 2 Multiply Count times atomic weight 3 Add Sum all element contributions 4 Round Round once, at the end, in g/mol 5

Parentheses and brackets

A subscript after a closing parenthesis multiplies every atom inside. Calcium nitrate, Ca(NO₃)₂, contains 1 Ca, 2 N and 6 O.

Ca: 1 × 40.078 =  40.078
N:  2 × 14.007 =  28.014
O:  6 × 15.999 =  95.994
total          = 164.086 g/mol

Ammonium sulfate, (NH₄)₂SO₄, contains 2 N, 8 H, 1 S and 4 O.

N:  2 × 14.007 = 28.014
H:  8 ×  1.008 =  8.064
S:  1 × 32.06  = 32.06
O:  4 × 15.999 = 63.996
total          = 132.13 g/mol

For nested brackets, work from the inside outward. In [Cu(NH₃)₄]SO₄, the group NH₃ occurs four times, giving 4 N and 12 H, plus 1 Cu, 1 S and 4 O.

Hydrates

A dot in a formula joins water molecules that are part of the solid. Copper(II) sulfate pentahydrate is CuSO₄·5H₂O. The 5 multiplies the whole water unit.

CuSO₄:  63.546 + 32.06 + 4 × 15.999 = 159.60 g/mol
5 H₂O:  5 × 18.015                  =  90.08 g/mol
total                               = 249.68 g/mol

Water makes up more than a third of that mass. If you weigh out the hydrate but calculate with the anhydrous molar mass, your solution will contain far less copper sulfate than you think. To find the number of waters experimentally, see finding a hydrate formula.

Organizing a long calculation

For a complicated formula, a small table keeps you honest. Write one row per element with three columns: number of atoms, atomic weight and product. Fill in the atom counts for every row first, checking them against the formula, and only then reach for the calculator.

A second check is to compute the mass group by group. For calcium nitrate, one calcium is 40.078 and each nitrate group is 14.007 + 3 × 15.999 = 62.004. Then 40.078 + 2 × 62.004 = 164.086. Matching the element-by-element total confirms that both routes counted the same atoms.

Group masses also save time. If you work with sulfates often, remembering that SO₄ is about 96.06 g/mol and water about 18.02 g/mol lets you assemble many totals in one or two steps.

Spreadsheets can do the sums, but they cannot notice that you typed a subscript wrong. Read the formula aloud as you enter it.

Ions, molecules and elements

The mass of electrons is so small that the molar mass of an ion is taken to be the same as that of the neutral group of atoms. Sulfate, SO₄²⁻, is 32.06 + 4 × 15.999 = 96.06 g/mol.

Ionic compounds have no separate molecules, so some books prefer the term formula mass or formula weight. The arithmetic is identical. For sodium chloride, 22.990 + 35.45 = 58.44 g/mol.

For elements, check how they exist. Oxygen gas is O₂ at 31.998 g/mol, while a mole of oxygen atoms is 15.999 g/mol. Nitrogen gas is 28.014 g/mol and chlorine gas is 70.90 g/mol. Metals such as copper are counted atom by atom.

Reading formulas written other ways

Condensed organic formulas can hide atoms. Acetic (ethanoic) acid, CH₃COOH, contains 2 C, 4 H and 2 O, giving 2 × 12.011 + 4 × 1.008 + 2 × 15.999 = 60.05 g/mol.

Line-angle drawings hide even more, because carbons sit at corners and most hydrogens are implied. Convert the drawing into a molecular formula before adding anything. If formulas are new to you, practice with reading chemical formulas.

If you start from a name, translate it first. Iron(II) chloride is FeCl₂ and iron(III) chloride is FeCl₃, and their molar masses differ by one chlorine, 35.45 g/mol.

Rounding and significant figures

Keep extra digits while adding and round the final result. For addition, the decimal places are limited by the least precise term; in multiplication by an exact subscript, the count itself does not limit precision.

Then match the molar mass to your measurement. If your sample mass is 2.5 g, a molar mass of 58 g/mol would be adequate, though carrying 58.44 avoids rounding error. If your mass is 2.4987 g from an analytical balance, use at least five significant figures. The reasons behind these habits are covered in significant figures.

Isotopically labeled compounds

The standard atomic weight assumes a natural isotope mixture. If a formula specifies an isotope, use the mass of that isotope instead. Heavy water, D₂O, contains two deuterium atoms of about 2.014 each, giving a molar mass of about 20.03 g/mol in place of 18.015. The chemistry is similar, but the weighing is noticeably different, and an enriched sample calculated with ordinary values would be about 11% off.

Check by estimating

Round the common weights to H = 1, C = 12, N = 14, O = 16 and add in your head. Calcium nitrate becomes 40 + 28 + 96 = 164. If your detailed answer were 102, you would know that the subscript 2 had been applied to nitrogen but not to oxygen.

Common slips include:

  • Applying an outside subscript to only the last atom in a group.
  • Reading Co (cobalt) as CO (carbon monoxide).
  • Using atomic number in place of atomic weight.
  • Multiplying by a coefficient. The molar mass of water is 18.015 g/mol whether the equation says H₂O or 3H₂O.
  • Forgetting water of hydration printed on the reagent bottle.

A worked use: preparing a solution

Suppose you need 250 mL of a 0.100 mol/L solution of copper(II) sulfate, and the bottle on the shelf is the pentahydrate. The amount required is concentration times volume, 0.100 mol/L × 0.250 L = 0.0250 mol.

Each mole of the pentahydrate supplies one mole of CuSO₄, so you weigh 0.0250 mol × 249.68 g/mol = 6.24 g of the blue crystals. You then dissolve them and make the total volume up to 250 mL in a volumetric flask.

Had you used 159.60 g/mol by mistake while weighing the same blue crystals, you would have taken 3.99 g. That is only 0.0160 mol, so the solution would be about 36% too dilute.

Reagent labels print the formula and molar mass of the exact form supplied. Read them before every calculation, wear eye protection and follow the safety data sheet. Copper salts are harmful if swallowed and should not be poured down drains where rules forbid it.

When molar mass must be measured

Everything above assumes you know the formula. For an unknown compound, chemists measure molar mass instead. A mass spectrometer reports the mass-to-charge ratio of ions. For a volatile substance, gas density at a known temperature and pressure gives an estimate through the ideal gas law. Dissolved substances can be studied through freezing point lowering.

Mass spectrometry also shows something a periodic table hides. Individual molecules have specific isotope compositions, so you see separate peaks and not a single average. The tabulated molar mass is the right figure for bulk samples.

Large synthetic polymers add another wrinkle: their chains differ in length, so chemists quote average molar masses. Proteins, by contrast, usually have a definite sequence and can have a single well-defined composition.

With a molar mass in hand, the next step is converting between grams, moles and particles, or turning the element contributions into percent composition.

Written for 4Chemistry with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 42 articles in Reactions and Stoichiometry →

Latest news on this topic