Salam Academy

Molar mass calculator

Type any chemical formula to get its relative formula mass (Mr) with the working shown, using the values from the O Level, IGCSE or A Level Periodic Table, then turn grams into moles.

Relative atomic masses

Capital letter starts each element (Co is cobalt, CO is carbon monoxide). Use brackets for groups and a dot for water of crystallisation.

Mr of H2SO4 = 98 (molar mass 98 g/mol)

ElementAtomsArAtoms × Ar
H (hydrogen)212
S (sulfur)13232
O (oxygen)41664
Total98

Working: 2 × 1 + 32 + 4 × 16 = 98

Mass to moles

moles = mass ÷ Mr = 4.9 ÷ 98 = 0.05 mol (3 significant figures)

How to use it

Type the formula exactly as you would write it, with a capital letter for each element and the numbers after the symbols. The calculator counts how many atoms of each element there are, multiplies by each relative atomic mass (Ar) and adds them up, the same three steps an examiner expects to see.

Worked example: for calcium carbonate, CaCO3, there is 1 Ca, 1 C and 3 O, so Mr = 40 + 12 + 3 × 16 = 100.

Learn the topic

Questions students ask

What is the difference between Mr and molar mass?

Mr (relative formula mass) has no unit: it compares the mass of the formula unit with one twelfth of a carbon-12 atom. Molar mass is the mass of one mole of the substance and has the same number, in g/mol. So Mr of water is 18 and its molar mass is 18 g/mol.

Which Ar values should I use in my exam?

Use the ones printed on the Periodic Table in your paper. O Level and IGCSE tables give whole numbers except chlorine (35.5) and copper (64). A Level tables give one decimal place, for example Mg = 24.3 and Cl = 35.5. Choose the matching table above.

How do I work out Mr when there are brackets?

Multiply everything inside the bracket by the number after it. In Ca(OH)2 there are 2 oxygens and 2 hydrogens, so Mr = 40 + 2 × 16 + 2 × 1 = 74.

How do I include water of crystallisation?

Add the water molecules as a separate part after a dot. CuSO4·5H2O = 160 + 5 × 18 = 250. Type it here as CuSO4.5H2O.

How do I change grams into moles?

Divide the mass in grams by Mr: moles = mass ÷ Mr. For 4.9 g of sulfuric acid, 4.9 ÷ 98 = 0.05 mol. To go back, multiply: mass = moles × Mr.

More calculators