Loading…

Science09.02

Molar Mass Calculator

Calculate the molar mass of any chemical formula, including parentheses and hydrates, plus its percent composition and moles in a sample.

Back to Science

Capitalization matters: Co is cobalt, but CO is carbon monoxide. Write hydrates with “·” or “.”: CuSO4·5H2O.

To find out how many moles and molecules it contains.

This runs entirely in your browser. We don’t store any data.

Molar mass

H₂O

18.015g/mol

  • HHydrogen × 2 = 2.016 g/mol11.19%
  • OOxygen × 1 = 15.999 g/mol88.81%

How to use it

  1. 01

    Type the chemical formula with the correct capitalization (NaCl, not nacl).

  2. 02

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

  3. 03

    To find out how many moles are in a sample, enter its mass in grams.

How it works

Molar mass is the sum of the atomic masses of every atom in the formula, in grams per mole. For water, H₂O, that’s 2 × 1.008 + 15.999 = 18.015 g/mol.

Parentheses multiply everything inside them: Ca(OH)₂ has one calcium, two oxygens and two hydrogens. In a hydrate, the number in front of the water multiplies the whole water molecule, so CuSO₄·5H₂O has 10 hydrogens and 9 oxygens.

To get moles, divide the mass by the molar mass. To get the number of particles, multiply the moles by Avogadro’s number (6.02214076 × 10²³ mol⁻¹, exact since 2019). The calculator uses IUPAC standard atomic weights.

Examples

  • Water

    H₂O: 18.015 g/mol. Oxygen makes up 88.81% of its mass.

  • Glucose

    C₆H₁₂O₆: 180.156 g/mol, so 90 g of glucose is 0.4996 mol.

  • Copper(II) sulfate pentahydrate

    CuSO₄·5H₂O: 249.68 g/mol.

Frequently asked questions

Is molar mass the same as molecular weight?

They have the same numeric value but different units: molecular mass is given in atomic mass units (u or Da), while molar mass is in g/mol.

Can I enter ions with a charge?

You don’t need to include the charge, since electrons weigh almost nothing. Just enter the ion without it, for example SO4 for sulfate.