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.
Relative atomic mass
Modern relative atomic masses (a term specific to a given element sample) are calculated from measured values of atomic mass (for each nuclide) and isotopic composition of a sample. Highly accurate atomic masses are available for virtually all non-radioactive nuclides, but isotopic compositions are both harder to measure to high precision and more subject to variation between samples. For this reason, the relative atomic masses of the 22 mononuclidic elements (which are the same as the isotopic masses for each of the single naturally occurring nuclides of these elements) are known to especially high accuracy. For example, there is an uncertainty of only one part in 38 million for the relative atomic mass of fluorine, a precision which is greater than the current best value for the Avogadro constant (one part in 20 million).