Molecular Weight Calculator

Calculate molar mass from any chemical formula, including hydrates.

  • Free, no sign-up
  • Runs in your browser — files stay private

Use brackets for groups and “·”, “.” or “*” for hydrates. Element symbols are case-sensitive (Co = cobalt, CO = carbon monoxide). Examples: NaClTris baseEDTA disodium(NH4)2SO4Glucose

What is the Molecular Weight Calculator?

The Molecular Weight Calculator adds up atomic masses to give the molar mass of a compound in g/mol. Type a formula such as Ca(OH)2 or MgCl2·6H2O; the tool also shows the mass percentage of each element. Atomic weights follow IUPAC standard values.

How to use the Molecular Weight Calculator

  1. Type a chemical formula with correct capitalisation (e.g. NaCl, not NACL).
  2. Use brackets for groups and a dot for water of crystallisation.
  3. Read the molar mass and element breakdown.

Formula and method

MW = Σ (number of atoms of element × atomic weight of element)

Worked example

Copper(II) sulfate pentahydrate, CuSO₄·5H₂O: Cu 63.546 + S 32.06 + O 9 × 15.999 + H 10 × 1.008 = 249.68 g/mol.

Frequently asked questions

Why does capitalisation matter?

Element symbols are case-sensitive: “Co” is cobalt while “CO” is carbon plus oxygen.

Is molecular weight the same as molar mass?

Numerically yes: molar mass in g/mol equals molecular weight in daltons (Da).

Last updated · Part of Lab & Biology Calculators