Relative formula mass (Mr) calculator
Free TutorAura tool · no sign-up · Updated
Type a chemical formula to find its relative formula mass (): the sum of the relative atomic masses () 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.
How to calculate Mr
- Count the atoms of each element in the formula.
- Multiply each count by that element's from the periodic table.
- Add them up.
Example: H₂SO₄
- H:
- S:
- O:
.
Brackets
A number after a bracket multiplies everything inside it. In Ca(OH)₂ there are 2 oxygen atoms and 2 hydrogen atoms:
.
More examples
| Formula | Mr |
|---|---|
| H₂O | 18 |
| CO₂ | 44 |
| NaCl | 58.5 |
| CaCO₃ | 100 |
| Mg(OH)₂ | 58 |
| CuSO₄·5H₂O | 249.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:
For carbon in CO₂: .
Using Mr for moles
is what links mass to moles: . Try the moles calculator, or read relative formula mass explained and moles explained.
Practice questions
- What is the of ammonia, NH₃?
- What is the of ammonium sulfate, (NH₄)₂SO₄?
- What percentage of magnesium oxide, MgO, is magnesium by mass?
Answers: 17; ; .
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
- GCSE Chemistry (8462) specification: subject content. AQA.
- Cambridge IGCSE Chemistry 0620 syllabus for 2026, 2027 and 2028. Cambridge International.
Keep reading
Moles calculator: moles, mass or Mr
Moles, mass or Mr from the other two, with Mr worked out from a formula if you like.
Relative formula mass (Mr): how to calculate it
Mr step by step, brackets, percentage by mass and conservation of mass, with examples.
Moles in chemistry explained: formula and examples
Moles = mass ÷ Mr, Avogadro's constant, reacting masses, limiting reactants and concentration.
An AI chemistry tutor for equations, moles and bonding
Balancing equations, mole calculations, bonding and more, explained step by step for high school chemistry.