Relative formula mass (Mr): how to calculate it, with exam questions and answers
Work out Mr for any formula, brackets included, find percentage by mass and practise with exam questions marked step by step.
On this page
Relative formula mass (Mr) is the total of the relative atomic masses of all the atoms in a chemical formula. To find it, you count the atoms of each element, multiply each count by that element's relative atomic mass and add the results. This guide shows the method for AQA GCSE Chemistry (8462) and Combined Science: Trilogy (8464), at both tiers, with percentage by mass and exam questions marked step by step.
What is relative formula mass (Mr)?
Relative formula mass is the sum of the relative atomic masses of every atom shown in a formula. AQA's specification puts it like this: "The relative formula mass (Mr) of a compound is the sum of the relative atomic masses of the atoms in the numbers shown in the formula."
Relative atomic masses (Ar) compare the masses of atoms. You'll find them on the periodic table, and in a calculation you use the values the question or data sheet gives you. Our guide to relative atomic mass explains where those values come from.
Relative formula mass has no unit, because it's a relative value. You never write "g" after an Mr.
Paper 1, for both AQA courses: see the Paper 1 guide. AQA also says Paper 2 questions may draw on the fundamental concepts of the first three topics, so relative formula mass can come up there too: our Paper 2 guide has AQA's wording.
How to calculate relative formula mass
Work through the formula one element at a time:
- Identify each element in the formula.
- Count how many atoms of each element there are.
- Multiply each element's Ar by its number of atoms.
- Add the contributions together.
Step 2 needs the most care, so be sure how a formula shows its atoms:
- A subscript counts the atoms of the element just before it: H₂O has two hydrogen atoms and one oxygen atom.
- No subscript means one atom: CO₂ has one carbon atom.
- A number outside brackets multiplies every atom inside the brackets.
- A large number in front of a formula in an equation multiplies the whole formula.
| Formula | Atoms it shows |
|---|---|
| NaCl | 1 sodium, 1 chlorine |
| CO₂ | 1 carbon, 2 oxygen |
| Ca(OH)₂ | 1 calcium, 2 oxygen, 2 hydrogen |
| 2MgO | 2 magnesium, 2 oxygen |
These are the relative atomic masses this page's worked examples use, as they appear on the periodic table AQA gives you in the exam:
| Element | Symbol | Ar |
|---|---|---|
| Hydrogen | H | 1 |
| Carbon | C | 12 |
| Nitrogen | N | 14 |
| Oxygen | O | 16 |
| Magnesium | Mg | 24 |
| Sulfur | S | 32 |
| Chlorine | Cl | 35.5 |
| Calcium | Ca | 40 |
| Iron | Fe | 56 |
AQA's table notes: "Relative atomic masses for Cu and Cl have not been rounded to the nearest whole number." So chlorine is 35.5, and copper is 63.5.
On AQA's GCSE science papers from 2027, where a calculation says "show your working", the right answer alone earns one mark (see our Paper 1 guide).
Worked example: carbon dioxide, CO₂
There is one carbon atom and there are two oxygen atoms.
Mr = 12 + (2 × 16) = 12 + 32 = 44
The oxygen contributes 32, not 16, because the formula has two oxygen atoms.
Worked example: calcium hydroxide, Ca(OH)₂
The 2 outside the bracket applies to both the oxygen and the hydrogen inside it.
| Element | Number of atoms | Ar | Contribution |
|---|---|---|---|
| Ca | 1 | 40 | 1 × 40 = 40 |
| O | 2 | 16 | 2 × 16 = 32 |
| H | 2 | 1 | 2 × 1 = 2 |
Mr = 40 + 32 + 2 = 74
How to calculate percentage by mass
Percentage by mass tells you how much of a compound's Mr comes from one element. AQA expects you to "calculate the percentage by mass in a compound given the relative formula mass and the relative atomic masses".
percentage by mass = (total relative mass of the element in the formula ÷ Mr of the compound) × 100
When an element appears more than once in the formula, multiply its Ar by the number of atoms first.
Worked example: carbon in methane, CH₄
Carbon contributes 12 and hydrogen contributes 4 × 1 = 4, so the Mr is 16.
percentage by mass of carbon = (12 ÷ 16) × 100 = 75%
Worked example: oxygen in calcium hydroxide, Ca(OH)₂
There are two oxygen atoms, so oxygen contributes 2 × 16 = 32. The Mr is 74, from the worked example above.
percentage by mass of oxygen = (32 ÷ 74) × 100 = 43.243...%
That's 43.2% to 3 significant figures.
Relative formula mass in a balanced equation
In a balanced equation, the total relative mass on each side is the same. AQA's specification says: "In a balanced chemical equation, the sum of the relative formula masses of the reactants in the quantities shown equals the sum of the relative formula masses of the products in the quantities shown."
The number in front of a formula multiplies its whole Mr. In 2MgO, the Mr of MgO is still 40, but 2MgO represents 2 × 40 = 80, not 40.
2Mg + O₂ → 2MgO
| Substance | Ar or Mr | Number in front | Total relative mass |
|---|---|---|---|
| Mg | 24 | 2 | 48 |
| O₂ | 32 | 1 | 32 |
| MgO | 40 | 2 | 80 |
Reactants: 48 + 32 = 80. Products: 80. The two totals match.
CaCO₃ → CaO + CO₂
| Substance | Working | Total relative mass |
|---|---|---|
| CaCO₃ | 40 + 12 + (3 × 16) | 100 |
| CaO | 40 + 16 | 56 |
| CO₂ | 12 + (2 × 16) | 44 |
Reactant: 100. Products: 56 + 44 = 100.
This is Higher tier content: the mass of one mole of a substance in grams is numerically equal to its Mr, which is how relative formula mass is used in moles calculations.
Where marks are lost on relative formula mass questions
Mark schemes award relative formula mass questions in steps, so the working you write down can earn marks even if the final answer slips. The first two rows are from AQA's GCSE Chemistry (8462) Higher Paper 1 mark schemes.
| What happens | What the mark scheme or method says | How to keep the marks |
|---|---|---|
| A wrong Mr in a percentage question | AQA's June 2024 Higher Paper 1 mark scheme (question 07.5, 3 marks): 1 mark for Mr of Fe₃O₄ = 232, 1 for (3 × 56 ÷ 232) × 100 and 1 for 72.4%. It allows "correct use of an incorrectly determined Mr", and allows 72.41379 rounded to at least 2 significant figures | Write the Mr and the percentage set-up on separate lines |
| Showing an equation obeys conservation of mass | AQA's June 2025 Higher Paper 1 (question 03.5, 2 marks) gave WO₃ + 3H₂ → W + 3H₂O. The scheme gives 1 mark for 232 + (3 × 2) = 238 and 1 for 184 + (3 × 18) = 238, where 232 is the Mr of WO₃, 2 of H₂ and 18 of H₂O, and 184 is the Ar of tungsten. If neither is awarded, it allows 1 mark for writing the two sums as equal, or for both sides = 238 | Multiply each Mr by its number in front and show both totals |
| Brackets | A number outside brackets multiplies every atom inside | Count Ca(OH)₂ as 1 Ca, 2 O and 2 H |
| Numbers in front of a formula | 2MgO represents 80, not 40 | Multiply the whole Mr by the number in front |
Relative formula mass exam questions with answers
Each question below is an exam-style question from Medly, marked with Medly's mark scheme. They get harder as you go.
Question 1: (2 marks)
Potassium hydroxide reacts with nitric acid to produce potassium nitrate and water:
KOH + HNO₃ → KNO₃ + H₂O
Relative atomic masses: Ar(K) = 39, Ar(N) = 14, Ar(O) = 16 and Ar(H) = 1.
Calculate the relative formula mass (Mr) of potassium nitrate.
Answer
- KNO₃ has 1 potassium, 1 nitrogen and 3 oxygen atoms, so Mr = 39 + 14 + (3 × 16) (1 mark).
- Mr = 39 + 14 + 48 = 101 (1 mark).
Medly's mark scheme accepts only 101, and rejects an answer with a unit.
Question 2: (4 marks)
When iron is heated in chlorine gas, it reacts to produce iron(III) chloride.
Relative atomic masses (Ar): Cl = 35.5, Fe = 56.
(a) Iron(III) ions have charge 3+ and chloride ions have charge 1−. Which is the correct formula for iron(III) chloride? Select one answer. [1 mark]
A. FeCl₃
B. FeCl₂
C. Fe₃Cl
D. Fe₃Cl₂
(b) Calculate the percentage by mass of chlorine in iron(III) chloride, FeCl₃. [3 marks]
Answer
(a) A (1 mark). One iron(III) ion has charge 3+ and three chloride ions have a total charge of 3−, so the compound has no overall charge.
B. This formula has only two chloride ions for one iron ion, so the charges do not cancel.
C. This formula reverses the required ratio of iron ions to chloride ions.
D. The ratio of ions does not give a compound with no overall electrical charge.
(b)
- Mr(FeCl₃) = 56 + (3 × 35.5) = 56 + 106.5 = 162.5 (1 mark).
- Percentage by mass of chlorine = (106.5 ÷ 162.5) × 100 (1 mark).
- = 65.538...%, which is 65.5% to 3 significant figures (1 mark).
Medly's mark scheme accepts 65.5% or an unrounded equivalent.
Question 3: (3 marks)
Explain why ammonium nitrate has a higher percentage by mass of nitrogen than calcium nitrate. You should refer to the data in the table in your answer.
| compound | formula | Mr | total relative mass of nitrogen | percentage by mass of nitrogen |
|---|---|---|---|---|
| ammonium nitrate | NH₄NO₃ | 80 | 28 | 35.0% |
| calcium nitrate | Ca(NO₃)₂ | 164 | 28 | 17.1% |
Answer
Medly's mark scheme gives 1 mark for each of these points:
- Ammonium nitrate contains 35.0% nitrogen, compared with 17.1% in calcium nitrate.
- Both compounds have a total relative nitrogen mass of 28, while calcium nitrate has the larger Mr (164 compared with 80).
- Ammonium nitrate has the lower Mr for the same nitrogen contribution, so its percentage of nitrogen is higher. This point is needed for full marks.
The scheme accepts the same reasoning written the other way round, starting from calcium nitrate.
If a formula with brackets slows you down, practise a few more until counting the atoms feels automatic. Medly has AQA GCSE Chemistry courses at Foundation and Higher, and AQA GCSE Combined Chemistry courses at Foundation and Higher for Combined Science students. Medly marks written answers like Question 3 against the mark scheme, so you can see which point you missed. In a randomised controlled trial in GCSE science, students using Medly for 30 minutes a week for four weeks scored 22% higher on the post-test than students revising in their usual way, adjusted for where they started. The students it was compared with used revision guides, notes, videos and, in most classes, other online revision platforms. The trial covered biology, chemistry and physics, so it speaks most directly to those subjects, chemistry included.
Frequently asked questions
Does relative formula mass have a unit?
No. Relative formula mass is a relative value, so it has no unit. A mass you measure in grams does have a unit, but Mr does not.
What is the difference between Ar and Mr?
Ar is the relative atomic mass of one element, read from the periodic table. Mr is the relative formula mass of a whole formula, found by adding up the Ar values of all its atoms.
How do brackets change the relative formula mass?
A number outside brackets multiplies every atom inside them. In Ca(OH)₂ there are two oxygen atoms and two hydrogen atoms, so the Mr is 40 + 32 + 2 = 74.
What is the relative formula mass of H₂SO₄?
- With H = 1, S = 32 and O = 16, the working is (2 × 1) + 32 + (4 × 16) = 2 + 32 + 64 = 98.
Which relative atomic masses should I use?
Use the values the question gives. If it gives none, use the periodic table you're given in the exam, where chlorine is 35.5 and copper is 63.5.