Molar mass calculator
Type a chemical formula to get its molar mass, the mass of each element, and percent composition, with the working shown step by step.
How molar mass is calculated
Molar mass is the mass of one mole of a substance, in grams per mole (g/mol). To find it, multiply the atomic mass of each element by how many atoms of it are in the formula, then add everything up. For water, H2O: 2 × 1.008 + 15.999 = 18.015 g/mol.
This calculator uses standard atomic weights. For elements with no stable isotopes, it uses the mass of the most stable isotope, which is how most textbooks handle them.
Connected tools
The same idea from another angle, across the site.