ScienceChemistry

Molar Mass
calculator.

Get the grams per mole of any chemical formula, then convert grams, moles and particles.

How it's worked out

Molar mass is the mass in grams of one mole of a substance. A mole is exactly 6.02214076 × 10²³ particles, so molar mass links what you weigh to how many molecules or formula units you have.

To find it, count the atoms of each element in the formula, multiply each count by that element's atomic weight, and add the results.

M\displaystyle M=∑(atoms×atomic weight)\displaystyle {}= \sum (\text{atoms} \times \text{atomic weight})

For water that is two hydrogens and one oxygen, so the sum below is 18.015 g/mol. Oxygen is 88.81% of that mass. Each element's share is its subtotal over the whole.

MH2O\displaystyle M_{\text{H}_2\text{O}}=2×1.008+15.999\displaystyle {}= 2 \times 1.008 + 15.999=18.015\displaystyle {}= 18.015
mass share\displaystyle \text{mass share}=atoms×atomic weightM×100\displaystyle {}= \frac{\text{atoms} \times \text{atomic weight}}{M} \times 100

Moles are the mass divided by the molar mass, and particles are moles times the Avogadro constant.

moles\displaystyle \text{moles}=gramsM\displaystyle {}= \frac{\text{grams}}{M}

Reading formulas. Groups in brackets are multiplied by the number after them, so Ca(OH)₂ has two O and two H, 74.092 g/mol. Square brackets work the same way: K₄[Fe(CN)₆] is 368.345 g/mol. Water of hydration goes after a dot, an asterisk or a bullet. A charge at the end is ignored, because an electron adds almost nothing.

The atomic weights are the IUPAC standard values in short form. Each is an average over the element's natural isotopes, which is why chlorine is 35.45 and not a whole number. For an element with no stable isotope, the mass number of its longest-lived isotope is used.

Worked examples

Lucy turns 100 g of glucose into moles

Glucose is C₆H₁₂O₆: 6 carbons, 12 hydrogens and 6 oxygens. That adds up to 180.156 g/mol. Lucy has 100 g, so she has 0.55507 mol, or 3.34 × 10²³ molecules.

moles\displaystyle \text{moles}=100180.156\displaystyle {}= \frac{100}{180.156}=0.55507\displaystyle {}= 0.55507

Open this example in the tool

Raj weighs copper sulfate for a solution

The blue crystals on Raj's shelf are CuSO₄·₅H₂O, 249.677 g/mol. The dry salt is only 159.602 g/mol, so water is 36.08% of what he weighs.

For 250 mL of 0.1 M copper sulfate he weighs 6.2419 g of the crystals. Using the dry salt's molar mass would give 3.9901 g, and his solution would come out weaker than he planned.

Open this example in the tool

How many millimoles are in a 200 mg caffeine dose?

Caffeine, C₈H₁₀N₄O₂, is 194.194 g/mol. A 200 mg dose is 1.0299 mmol, which is 6.2 × 10²⁰ molecules. Nitrogen is 28.85% of its mass.

Open this example in the tool

Reading your result

Molar mass and molecular weight are the same number. Molar mass has units of g/mol. Relative molecular mass, often called molecular weight, is the same value with no unit. For a salt such as NaCl, which has no single molecule, OpenStax uses formula mass instead.

How many figures to trust. The short-form atomic weights carry about five significant figures. So 180.156 g/mol for glucose is good to about 180.16, plenty for any balance. The precision setting changes only how many figures you see.

From molar mass to a solution. Molarity times liters gives moles, and moles times molar mass gives grams. A liter of 0.1 M NaCl needs 5.844 g. Dissolve it in less water than you need, then make up to the final volume.

Mass shares work backwards too. Glucose is 40% C, 6.714% H, 53.28% O by mass. Those are the figures an elemental analysis would report, and the empirical formula calculator turns them back into a formula. If your measured shares sit far from these, the sample is not pure glucose or is still damp.

Common compounds. H₂O 18.015, CO₂ 44.009, NH₃ 17.031, CH₄ 16.043, C₂H₅OH 46.069, H₂SO₄ 98.072, CaCO₃ 100.086, NaHCO₃ 84.006, and sucrose 342.297, all in g/mol. Paste your own list into the batch box for the rest.

Common mistakes

  • Getting the case wrong. Co is cobalt and CO is carbon monoxide. HF is hydrogen fluoride, while Hf is hafnium. Only the first letter of a symbol is a capital.
  • Leaving the water off a hydrate. If the bottle says pentahydrate, the five waters are part of what you weigh. Enter the full formula.
  • Reading a group number wrongly. In Al₂(SO₄)₃ the 3 multiplies the whole sulfate group, giving 3 S and 12 O, not just one more O.
  • Using a mass number for an atomic weight. Chlorine-35 is one isotope. The average for natural chlorine is 35.45, and that is what a lab sample has.

Questions people ask

They are the same number in different clothes. Molar mass is grams per mole of the substance, and molecular weight is the mass of one molecule relative to one twelfth of a carbon-12 atom, with no unit. Use g/mol when you are weighing.

Sources