esc
Calculators

Molecular weight calculator:
molar mass from a formula

Type any chemical formula, with brackets and hydrates, and get the molar mass (molecular weight) and the mass percentage of each element.

Case matters: CO is carbon monoxide, Co is cobalt. Use · or * for hydrates.
Molar mass74.092 g/mol5 atoms per formula unit
  • Ca 54.1%
  • O 43.2%
  • H 2.7%
Mass of one molecule
74.092 u (Da)
Mass of 1 mol
74.092 g
Moles in 1 g
0.013497 mol
ElementAtomsAtomic weightMass (g/mol)Mass %
Ca140.07840.07854.09%
O215.99931.99843.19%
H21.0082.0162.72%
  • Atomic weights: IUPAC 2021 standard (conventional) values. Elements without a stable isotope use the mass number of their longest-lived isotope.

How to use Molecular weight calculator

  1. 01Type the formulaCapital letter per element.
  2. 02Use brackets and dotsCa(OH)2, CuSO4·5H2O.
  3. 03Read the molar massWith mass % per element.
File character arranging marked pages

Atoms × atomic weights.

The formula is read element by element, multiplying counts inside brackets and adding hydrate parts after a dot. Each element’s count is multiplied by its standard atomic weight (IUPAC 2021) and the results are added. Mass % is each element’s part of the total.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

What is the molar mass of Ca(OH)2?

Ca 40.078 + 2 × (O 15.999 + H 1.008) = 40.078 + 34.014 = 74.092 g/mol.

How do I type a hydrate?

Use a dot, a middle dot or an asterisk: CuSO4·5H2O, CuSO4.5H2O or CuSO4*5H2O all give 249.68 g/mol.

Is molecular weight the same as molar mass?

They have the same number. Molar mass is in grams per mole; molecular weight (relative molecular mass) has no unit, and the mass of one molecule is the same number in daltons (u).

Is what I type sent anywhere?

No. The calculation runs in your browser and nothing you type leaves your device.