Molar Mass

The mass of one mole of a substance, expressed in grams per mole (g/mol). Numerically equal to the relative atomic or molecular mass but in different units — the bridge between atoms and grams.

Definition and units

The molar mass (symbol M) of a substance is the mass of exactly one mole of that substance. One mole contains 6.022 140 76 × 10²³ entities (atoms, molecules, formula units) — Avogadro's constant.

M = m / n

M = molar mass (g/mol) m = mass (g) n = amount of substance (mol)

The molar mass of an element is numerically equal to its relative atomic mass — the average mass of its atoms weighted by isotope abundance, expressed in unified atomic mass units (u). For example, carbon has a relative atomic mass of 12.011 u, so its molar mass is 12.011 g/mol.

For the concept of isotopes and why atomic masses are non-integer averages, see our isotope glossary entry. For Avogadro's constant and the mole itself, see our moles guide.

How to calculate molar mass

For a compound: identify every element in the formula, multiply each element's atomic mass by its subscript, and sum the results.

Worked example — CaCO₃ (calcium carbonate):

  • Ca: 1 × 40.078 = 40.078
  • C: 1 × 12.011 = 12.011
  • O: 3 × 15.999 = 47.997
  • Total M = 100.086 g/mol

Our molar mass calculator does this for any formula in real time, using IUPAC 2021 atomic weights. For the periodic table of atomic masses, see our periodic table guide.

Common molar mass values

FormulaNameCalculationM (g/mol)
H₂O Water 2(1.008) + 15.999 18.015
NaCl Sodium chloride 22.990 + 35.45 58.44
CO₂ Carbon dioxide 12.011 + 2(15.999) 44.009
C₆H₁₂O₆ Glucose 6(12.011) + 12(1.008) + 6(15.999) 180.156
H₂SO₄ Sulfuric acid 2(1.008) + 32.06 + 4(15.999) 98.072
CaCO₃ Calcium carbonate 40.078 + 12.011 + 3(15.999) 100.086

For the balancing equations that use these molar masses in stoichiometry, see our balancing equations guide. For concentration calculations that require molar mass conversions, see molarity and dilutions.

Molar mass in stoichiometry

Stoichiometry — calculating quantities in chemical reactions — requires working in moles because balanced equations state mole ratios. The molar mass enables the conversion:

Mass (g) ÷ M → mol Moles (mol) × mole ratio Moles (mol) × M → g Mass (g)

Example: How much CO₂ (M = 44.009 g/mol) is produced from burning 10 g of methane CH₄ (M = 16.043 g/mol)?

CH₄ + 2O₂ → CO₂ + 2H₂O. Mole ratio CH₄ : CO₂ = 1 : 1.

  • n(CH₄) = 10 / 16.043 = 0.6233 mol
  • n(CO₂) = 0.6233 × 1 = 0.6233 mol
  • m(CO₂) = 0.6233 × 44.009 = 27.4 g

Questions about molar mass

Molar mass (M) is the mass in grams of one mole (6.022 × 10²³ entities) of a substance. For elements, it equals the relative atomic mass (e.g., carbon: 12.011 g/mol). For compounds, it is the sum of atomic masses of all atoms in the formula (e.g., H₂O: 2 × 1.008 + 15.999 = 18.015 g/mol). Use our molar mass calculator to compute this for any formula. See also: IUPAC atomic weights.

Calculate any molar mass instantly

Type any chemical formula and see its molar mass — with every element's atomic weight sourced from IUPAC 2021.

Open the calculator →