Amazacalc
Home › Chemistry › Molar Mass

Molar Mass Calculator

Type any chemical formula to get its molar mass in g/mol, with an element-by-element breakdown and mass percent. Handles parentheses, brackets, and hydrates, and converts grams to moles and molecules.

Capitalization matters: Co is cobalt, CO is carbon monoxide. For hydrates use a dot or asterisk, like CuSO4·5H2O or CuSO4*5H2O.

Grams ⇄ moles

Molar mass
—
ElementAtomsAtomic massSubtotalMass %

How to calculate molar mass

What is molar mass?

Molar mass is the mass of one mole of a substance, in grams per mole (g/mol). One mole is 6.02214076 × 1023 particles (Avogadro's number), so molar mass tells you how many grams that many molecules or atoms weigh.

How do you calculate molar mass by hand?

Count the atoms of each element in the formula, multiply each count by that element's atomic mass from the periodic table, and add the results. For water (H2O): 2 × 1.008 + 1 × 15.999 = 18.015 g/mol. The table on this page shows every step.

How do parentheses and hydrates work?

A number after parentheses multiplies everything inside: Ca(OH)2 has 1 Ca, 2 O, and 2 H. In a hydrate like CuSO4·5H2O, the 5 multiplies the whole water molecule, adding 10 H and 5 O.

How do I convert grams to moles?

Divide the mass in grams by the molar mass: moles = grams ÷ (g/mol). To go from moles to grams, multiply instead. Use the grams ⇄ moles box above, and it also shows the number of molecules.

Is molar mass the same as molecular weight?

They're numerically the same. Molecular weight (or formula weight) is in atomic mass units (u or Da) for one molecule, while molar mass is in grams per mole. Water is 18.015 u per molecule and 18.015 g/mol.

What's the molar mass of water, salt, and glucose?

Water (H2O) is 18.015 g/mol, table salt (NaCl) is 58.44 g/mol, glucose (C6H12O6) is 180.156 g/mol, and carbon dioxide (CO2) is 44.009 g/mol. Tap the examples above to see the breakdowns.

Where do the atomic masses come from?

They're the IUPAC standard atomic weights (the conventional values used in textbooks). For radioactive elements with no stable isotopes, like technetium, the mass of the longest-lived isotope is shown in brackets.