Question: what is the formula to calculate relative atomic mass?
Answer: Relative molecular mass = (number of atoms of element 1 × relative mass of element 1) + (number of atoms of element 2 × relative mass of element 2) + … You can use this same approach for any molecule.