Molar Mass Calculator

Type a chemical formula and get its molar mass from IUPAC standard atomic weights, with the mass percentage of each element.

Case matters: Co is cobalt, CO is carbon monoxide. Use · or * for hydrates.
Results update as you type.

Molar mass

249.677 g/mol

Atoms in the formula
21
Mass of one molecule
4.14598 × 10^-22 g

Composition by mass

Composition by mass
ElementAtomsAtomic massMass %
Cu163.54625.451%
S132.0612.841%
O915.99957.671%
H101.0084.0372%

About this calculator

Brackets, square brackets and water of crystallisation all work: Ca(OH)2, K4[Fe(CN)6], CuSO4·5H2O.

How to use it

  1. Type the formula with correct capitals.
  2. Read the molar mass and composition.

The formula

Molar mass = Σ (number of atoms × atomic mass)
Atomic mass
standard atomic weight in g/mol

Worked example

CuSO4·5H2O

  1. Cu 63.546 + S 32.06 + O 9 × 15.999 + H 10 × 1.008.
  2. = 249.68 g/mol; copper is 25.45% by mass.

What the result means

Molar mass in g/mol has the same number as the molecular mass in u.

Assumptions

  • Natural isotopic abundance.

Limitations

  • Enter formulas without charges.

Frequently asked questions

Is molar mass the same as molecular weight?

Numerically yes; molar mass has units of g/mol.

Why do capitals matter?

Co is cobalt, CO is carbon monoxide.

How do I enter a hydrate?

Use a dot or star: CuSO4·5H2O or CuSO4*5H2O.

Last reviewed on 6 October 2026. Found a mistake? Tell us.