Skip to content
M2TOOLKIT

Molar Mass Calculator

Type a chemical formula to get its molar mass and percent composition.

  • Free
  • No sign-up
  • Nothing is sent or stored

Element symbols are case-sensitive: Co is cobalt, CO is carbon monoxide.

Result

Molar mass of C6H12O6
180.156 g/mol
Atoms per formula unit
24
Composition by mass
ElementAtomsAtomic massMass (g/mol)Mass %
Carbon (C)612.01172.06640.002%
Hydrogen (H)121.00812.0966.714%
Oxygen (O)615.99995.99453.284%

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved.

How to use the Molar Mass Calculator

  1. Type the formula, e.g. H2SO4, Ca(OH)2 or CuSO4·5H2O.
  2. Read the molar mass in g/mol.
  3. Check the composition table for each element's share.

What does this tool do?

Molar mass is the mass of one mole of a substance — the sum of the atomic masses of every atom in its formula. Water, H₂O, is 2 × 1.008 + 15.999 = 18.015 g/mol.

The parser understands nested brackets, square brackets and hydrates. Symbols are case-sensitive: Co is cobalt, while CO is carbon monoxide.

Why use it?

  • Brackets and hydrates supported.
  • Percent composition by mass.
  • IUPAC standard atomic weights.

The formula

M = Σ (atomic mass × number of atoms)

Privacy

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the molar mass calculator.