Skip to content
Element Tango

Molar Mass Calculator

Calculate a compound’s molar mass in grams per mole and see how every element contributes to it.

Symbols are case-sensitive. Parentheses, brackets and hydrate dots work.

H₂O

18.015 g/mol

Atomic mass breakdown

Element Atoms Mass per mole of atoms Total g/mol
Hydrogen (H)21.0082.016
Oxygen (O)115.99915.999

How to calculate molar mass

Multiply each element’s atomic weight by its atom count, then add the subtotals. Water has two hydrogen atoms and one oxygen atom, so its molar mass is 2 × 1.008 + 15.999 = 18.015 g/mol.

Use a centered dot for hydrates, as in CuSO₄·5H₂O. For an ion’s charge, use a caret or superscript, as in Fe^3+ or Fe³⁺.

Last checked .

Cite this page