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.
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
- Relative masses and the mole (5070)
- Reacting masses, gas volumes and concentration (5070)
- A Level: the mole, formulae and equations (9701)
- A Level: reacting masses, gases, solutions and titrations (9701)
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
- Graphing calculator: Plot curves with sliders, roots and intersections.
- Scientific calculator: Exact fractions, surds, π, degrees and radians.
- SUVAT solver: Any three of s, u, v, a, t give the other two.
- Unit converter: Length, mass, temperature, speed, energy and more.
- Make your own calculator: Type any formula; solve for any letter.