Molar Mass Calculator
Fill in the fields and press Calculate to see the result.
About the Molar Mass Calculator
Calculate the molar mass of any chemical formula in g/mol, with each element’s share by mass, and convert grams to moles or moles to grams.
Write formulas as usual: groups in brackets such as Ca(OH)2, complexes such as [Cu(NH3)4]SO4 and hydrates such as CuSO4·5H2O.
How it is calculated
Molar mass = Σ (number of atoms × atomic weight) · moles = grams ÷ molar mass
The molar mass of a compound is the sum of the atomic weights of all its atoms, in grams per mole. Water, H2O, has two hydrogens (2 × 1.008) and one oxygen (15.999): 18.015 g/mol. A number after a bracket multiplies everything inside it, and a hydrate adds its water molecules: in CuSO4·5H2O, the 5 applies to the whole H2O.
The atomic weights are the standard values published by IUPAC, rounded as in the periodic tables used in labs; for elements without a standard atomic weight, the mass number of the longest-lived isotope is used. Symbols are case-sensitive: Co is cobalt, CO is carbon monoxide. Deuterium can be written as D.
Example
Copper sulfate pentahydrate, CuSO4·5H2O, has a molar mass of 249.677 g/mol, 25.45% of it copper; 25 g of it is 100.13 mmol. Calcium hydroxide, Ca(OH)2, has 74.092 g/mol.
Frequently asked questions
How do I find the molar mass of a compound?
Multiply the atomic weight of each element by the number of its atoms in the formula and add them up. For NaCl: 22.990 + 35.45 = 58.44 g/mol.
How do I convert grams to moles?
Divide the mass in grams by the molar mass. 10 g of NaCl is 10 ÷ 58.44 = 0.171 mol, or 171 mmol.