How to find molar mass, step by step
Molar mass is the mass of 1 mole of a substance, in grams per mole (g/mol). To find it for any formula, look up the atomic weight of each element, multiply by how many atoms of that element the formula has, and add. The 3 steps are worked below for H2O and CO2, followed by a mistake that catches diatomic elements.
How to calculate molar mass: the 3 steps
- Look up the atomic weight of each element in the formula.
- Multiply each atomic weight by the number of atoms of that element: the small number after its symbol, or 1 when there is none.
- Add the results. The sum is the molar mass in g/mol.
Step 1: look up each atomic weight
This site takes atomic weights from NIST's Atomic Weights and Isotopic Compositions table. For hydrogen, carbon and oxygen, NIST gives an interval rather than a single number: [1.00784,1.00811] for hydrogen, [12.0096,12.0116] for carbon and [15.99903,15.99977] for oxygen.
To get one number to multiply, this site takes the midpoint of the interval, rounded to 3 decimal places: hydrogen 1.008, carbon 12.011 and oxygen 15.999. calculated An element NIST lists as a single value with an uncertainty, such as fluorine or phosphorus, is rounded to 3 decimal places instead.
Step 2: multiply by the number of atoms
H2O has 2 hydrogen atoms and 1 oxygen atom. CO2 has 1 carbon atom and 2 oxygen atoms. Each atomic weight is multiplied by its count, one element at a time.
| Element | Atomic weight | Atoms | Subtotal |
|---|---|---|---|
| hydrogen (H) | 1.008 | 2 | 2.016 |
| oxygen (O) | 15.999 | 1 | 15.999 |
| Molar mass of H2O | 18.015 g/mol | ||
| Element | Atomic weight | Atoms | Subtotal |
|---|---|---|---|
| carbon (C) | 12.011 | 1 | 12.011 |
| oxygen (O) | 15.999 | 2 | 31.998 |
| Molar mass of CO2 | 44.009 g/mol | ||
Step 3: add the subtotals
For H2O: 2.016 + 15.999 = 18.015 g/mol. calculated For CO2: 12.011 + 31.998 = 44.009 g/mol. calculated Keep the unit: a molar mass is always grams per mole.
Each atomic weight is rounded to 3 decimal places before it is multiplied, and the subtotals are added as they stand, so a molar mass here has at most 3 decimal places (a trailing zero is not shown). A calculator that keeps more digits, or a table that rounds atomic weights to fewer places, can differ in the last digit.
Each molecule page repeats this sum in its molar mass section and adds the Lewis structure, shape and polarity: H2O and CO2 are worked above. For how every number on this site is sourced and checked, see Method.
Diatomic elements: the 2 that is easy to drop
The N2 page works the nitrogen case through its Lewis structure. HF and HCl are also 2-atom molecules, but they are compounds: their formulas already show 1 atom of each element, so nothing is doubled.