human
How do I determine the atomic mass of a compound?
assistant
To determine the atomic mass of a compound, you need to know its molecular formula. The atomic mass of an element is equal to the sum of the masses of all of the atoms in its molecule. For example, water has two hydrogen atoms and one oxygen atom, so it has a molecular formula of H2O, which means that its atomic mass is 2 + 1 = <<2+1=3>>3 amu.