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.
Atomic mass
Similar definitions apply to molecules. One can compute the molecular mass of a compound by adding the atomic masses of its constituent atoms (nuclides). One can compute the molar mass of a compound by adding the relative atomic masses of the elements given in the chemical formula. In both cases the multiplicity of the atoms (the number of times it occurs) must be taken into account, usually by multiplication of each unique mass by its multiplicity.