Molecular Weight Calculator

Molar mass of any chemical formula, with composition

Calculate the molar mass (molecular weight) of a chemical formula - with brackets and hydrates - the percentage of each element, and moles in a given mass.
Share
Try an example:
Your result will appear here as you type.

About Molecular Weight Calculator

Formula

M = Σ (atomic weight × number of atoms)

Worked examples

Glucose

6 × 12.011 + 12 × 1.008 + 6 × 15.999 = 180.156 g/mol; 90 g is about 0.5 mol.

How it works

  1. The formula is split into elements and counts, including groups in brackets and hydrates.
  2. Each element's IUPAC standard atomic weight is multiplied by its count and added up.

What you need

  • A chemical formula with correct capitals (Co is cobalt; CO is carbon monoxide).

Tips

  • Write hydrates with a dot: CuSO4·5H2O or CuSO4.5H2O.

Limitations

  • Charges and isotopes are not supported.

Runs in your browser. Calculations run in your browser - nothing you enter is sent anywhere or saved.

Definitions

Molar mass
Mass of one mole, in g/mol.
Mole
6.022 × 10²³ particles.

Frequently asked questions

Is molecular weight the same as molar mass?+

Numerically yes - molecular weight is in daltons (u) per molecule, molar mass in grams per mole.

Was this calculator helpful?