Atomic mass
The atomic mass ("m") is the mass of an atom. Its unit is the unified atomic mass units ("abbr." u) where 1 unified atomic mass unit is defined as of the mass of a single carbon-12 atom, at rest. For atoms, the protons and neutrons of the nucleus account for nearly all of the total mass, and the atomic mass measured in u has nearly the same value as the mass number.
Molecular mass
In the example above the atomic mass of carbon is given as 12.011, not 12. This is because naturally occurring carbon is a mixture of the isotopes C, C and C which have relative atomic masses of 12, 13 and 14 respectively. Moreover, the proportion of the isotopes varies between samples, so 12.011 is an average value. By contrast, there is less variation in naturally occurring hydrogen so the average atomic mass is known more precisely. The precision of the molecular mass is determined by precision of the least precise atomic mass value, in this case that of carbon. In high-resolution mass spectrometry the isotopomers CH and CH are observed as distinct molecules, with molecular masses of 16 and 17, respectively. The intensity of the mass-spectrometry peaks is proportional to the isotopic abundances in the molecular species. C H H can also be observed with molecular mass of 17.