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.

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³⁺.