Skip to content
Chemistry

Molar Mass Calculator

The molar mass of a compound is the mass of one mole of it, found by adding the atomic masses of every atom in the formula. Type a formula and this calculator gives the molar mass and the contribution of each element.

Formula

Molar mass = Σ (atomic mass × number of atoms)

  • Brackets multiply everything inside them
  • A hydrate dot adds the water of crystallisation

Ca(OH)₂: 40.078 + 2 × 15.999 + 2 × 1.008 = 74.092 g/mol

Molar Mass Calculator

Handles brackets and hydrates, for example Al2(SO4)3 or CuSO4·5H2O. Write the dot as a dot or a full stop.

Brackets and Hydrates

Write Al2(SO4)3 and the calculator multiplies the sulfate group by three. For a hydrate, write CuSO4.5H2O with a full stop or dot, and the five waters are added. Capital letters matter: Co is cobalt, but CO is carbon and oxygen.

Molar Mass, Molecular Weight and Formula Mass

These are used almost interchangeably. Molar mass is in grams per mole, and the numbers are the same as the molecular weight or formula mass in atomic mass units. Ionic compounds have formula masses rather than molecular masses, but the calculation is identical.

Quick Reference

Molar mass of some common compounds.
CompoundFormulag/mol
WaterH₂O18.015
Carbon dioxideCO₂44.009
Sodium chlorideNaCl58.44
Sulfuric acidH₂SO₄98.07
Calcium carbonateCaCO₃100.09
GlucoseC₆H₁₂O₆180.16

Frequently Asked Questions

How do I calculate molar mass?
Add the atomic masses of all the atoms in the formula, multiplying by any subscripts.
What is the molar mass of water?
18.015 g/mol.
How do I write a hydrate?
Put a full stop or dot between the salt and the water, such as CuSO4.5H2O.

Related Calculators