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
Older (pre-1961) historical relative scales based on the atomic mass unit (symbol: "a.m.u." or "amu") used either the oxygen-16 relative isotopic mass or else the oxygen relative atomic mass (i.e., atomic weight) for reference. See the article on the history of the modern unified atomic mass unit for the resolution of these problems.