Molar Mass Calculator

Calculate the molar mass of any chemical compound from its molecular formula.

How It Works

Enter a molecular formula (e.g. H2O, NaCl, C6H12O6). The calculator parses each element symbol and subscript, looks up atomic masses from the periodic table, and sums all contributions to give molar mass in g/mol.

Formula

Molar Mass = Sum of (atomic mass × number of atoms) for each element

Examples

H2O = 18.015 g/mol | NaCl = 58.443 g/mol | C6H12O6 (glucose) = 180.156 g/mol

Frequently Asked Questions

What is molar mass?

Molar mass is the mass of one mole (6.022 × 10²³ particles) of a substance, expressed in grams per mole (g/mol). It equals the sum of atomic masses of all atoms in the formula.

How do I find the molar mass of H2SO4?

H2SO4 has 2 H (2 × 1.008 = 2.016), 1 S (32.065), and 4 O (4 × 15.999 = 63.996). Total = 98.077 g/mol.

What is the difference between molar mass and molecular weight?

They are numerically identical. Molar mass is expressed in g/mol while molecular weight is a dimensionless ratio relative to carbon-12.