Skip to content

Relative formula mass (Mr) calculator

Free TutorAura tool · no sign-up · Updated

Type a chemical formula to find its relative formula mass (MrM_r): the sum of the relative atomic masses (ArA_r) of all the atoms in the formula. The calculator handles brackets, like Ca(OH)₂, and water of crystallisation, like CuSO₄·5H₂O, and shows a table of each element's contribution.

Loading the tool

How to calculate Mr

  1. Count the atoms of each element in the formula.
  2. Multiply each count by that element's ArA_r from the periodic table.
  3. Add them up.

Example: H₂SO₄

  • H: 2×1=22 \times 1 = 2
  • S: 1×32=321 \times 32 = 32
  • O: 4×16=644 \times 16 = 64

Mr=2+32+64=98M_r = 2 + 32 + 64 = 98.

Brackets

A number after a bracket multiplies everything inside it. In Ca(OH)₂ there are 2 oxygen atoms and 2 hydrogen atoms:

Mr=40+2×(16+1)=40+34=74M_r = 40 + 2 \times (16 + 1) = 40 + 34 = 74.

More examples

FormulaMr
H₂O18
CO₂44
NaCl58.5
CaCO₃100
Mg(OH)₂58
CuSO₄·5H₂O249.5

These use the relative atomic masses on the AQA GCSE periodic table, where chlorine is 35.5 and copper is 63.5. Some boards round copper to 64, so always use the periodic table your exam gives you.

Percentage by mass

To find the percentage of an element in a compound:

%=Ar×number of atomsMr×100\% = \frac{A_r \times \text{number of atoms}}{M_r} \times 100

For carbon in CO₂: 1244×100≈27.3%\dfrac{12}{44} \times 100 \approx 27.3\%.

Using Mr for moles

MrM_r is what links mass to moles: moles=mass (g)Mr\text{moles} = \dfrac{\text{mass (g)}}{M_r}. Try the moles calculator, or read relative formula mass explained and moles explained.

Practice questions

  1. What is the MrM_r of ammonia, NH₃?
  2. What is the MrM_r of ammonium sulfate, (NH₄)₂SO₄?
  3. What percentage of magnesium oxide, MgO, is magnesium by mass?

Answers: 17; 2×(14+4)+32+64=1322 \times (14 + 4) + 32 + 64 = 132; 24÷40×100=60%24 \div 40 \times 100 = 60\%.

Frequently asked questions

How do I enter water of crystallisation?

Use a full stop or a dot between the parts, for example CuSO4.5H2O. The number after the dot multiplies the water molecule.

How do you calculate Mr when there are brackets?

Multiply everything inside the bracket by the number after it. In (NH₄)₂SO₄ there are 2 nitrogen and 8 hydrogen atoms.

What is the difference between Ar and Mr?

Ar (relative atomic mass) is for a single element, from the periodic table. Mr (relative formula mass) is for a compound: the sum of the Ar values of all its atoms.

What is the Mr of water?

18: two hydrogen atoms (2 × 1) and one oxygen atom (16).

Does Mr have units?

No. Relative formula mass is a ratio, so it has no units. The molar mass in g/mol has the same number.

Is anything I type sent to a server?

No. The calculation runs in your browser and nothing is stored.

Sources

  1. GCSE Chemistry (8462) specification: subject content. AQA.
  2. Cambridge IGCSE Chemistry 0620 syllabus for 2026, 2027 and 2028. Cambridge International.