Molar Mass: Definition and How to Calculate It
By the Periodixy Editorial Team · Last reviewed July 11, 2026
Molar mass is the mass of one mole (6.022 × 10²³ particles) of a substance, measured in grams per mole (g/mol). To find it, add up the standard atomic masses of every atom in the chemical formula. It is the conversion factor between the grams you weigh on a balance and the moles you use in equations — which makes it the most-used calculation in all of chemistry class.
The good news: calculating it is pure arithmetic. If you can read a formula and use a periodic table, you can find any molar mass.

The three-step method
- List every element in the formula and count its atoms (watch the subscripts).
- Look up each element's atomic mass on the periodic table.
- Multiply each atomic mass by its atom count, then add everything up.
Example 1: Water (H₂O)
Find the molar mass of H₂O.
- Hydrogen: 2 atoms × 1.008 g/mol = 2.016 g/mol
- Oxygen: 1 atom × 15.999 g/mol = 15.999 g/mol
- Add: 2.016 + 15.999
Answer: ≈ 18.02 g/mol
Example 2: Glucose (C₆H₁₂O₆)
Find the molar mass of glucose.
- Carbon: 6 × 12.011 = 72.066 g/mol
- Hydrogen: 12 × 1.008 = 12.096 g/mol
- Oxygen: 6 × 15.999 = 95.994 g/mol
- Add: 72.066 + 12.096 + 95.994
Answer: ≈ 180.16 g/mol
Example 3: Table salt (NaCl)
What is the molar mass of sodium chloride, NaCl?
- Sodium: 1 × 22.990 = 22.990 g/mol
- Chlorine: 1 × 35.45 = 35.45 g/mol
- Add: 22.990 + 35.45
Answer: ≈ 58.44 g/mol — check it in the molar mass calculator.
Handling parentheses
A subscript after a closing parenthesis multiplies everything inside. In Ca(OH)₂ the “₂” applies to both the O and the H, so the compound contains 1 Ca, 2 O and 2 H.
Example 3: Calcium hydroxide, Ca(OH)₂
Find the molar mass of Ca(OH)₂.
- Calcium: 1 × 40.078 = 40.078 g/mol
- Oxygen: 2 × 15.999 = 31.998 g/mol
- Hydrogen: 2 × 1.008 = 2.016 g/mol
- Add them together.
Answer: ≈ 74.09 g/mol
Hydrates: the dot is not multiplication… but acts like it
Hydrates like CuSO₄·5H₂O contain water molecules locked into the crystal. The “·5H₂O” means five extra water molecules per formula unit. Calculate the anhydrous part and the water part separately, then add: CuSO₄ (≈159.6) + 5 × H₂O (≈ 5 × 18.02) ≈ 249.7 g/mol.
Molar mass vs atomic mass vs molecular weight
Atomic mass (in amu) describes a single atom; molar mass (in g/mol) describes a mole of the substance. Numerically they match — one oxygen atom is 15.999 amu, and one mole of oxygen atoms is 15.999 g. “Molecular weight” is an older term for the same idea applied to molecules.
Try the Molar Mass Calculator to check your work — it shows the full element-by-element breakdown, just like these examples.
Summary
- Molar mass = sum of (atomic mass × atom count) for every element in the formula.
- Subscripts outside parentheses multiply everything inside.
- For hydrates, add the water separately: CuSO₄·5H₂O = CuSO₄ + 5 × H₂O.
- Atomic mass (amu, one atom) and molar mass (g/mol, one mole) share the same number.