Atomic mass
The atomic mass and relative isotopic mass are sometimes confused, or incorrectly used, as synonyms of standard atomic weight (also known as atomic weight) and the standard atomic weight (a particular variety of atomic weight, in the sense that is a standardized atomic weight). However, as noted in the introduction, atomic weight and standard atomic weight represent terms for (abundance-weighted) averages of atomic masses in elemental samples, not for single nuclides. As such, atomic weight and standard atomic weight often differ numerically from relative isotopic mass and atomic mass, and they can also have different units than atomic mass when this quantity is not expressed in unified atomic mass units (see the linked article for atomic weight).
Atomic mass
In the 20th century, until the 1960s chemists and physicists used two different atomic-mass scales. The chemists used a "atomic mass unit" (amu) scale such that the natural mixture of oxygen isotopes had an atomic mass 16, while the physicists assigned the same number 16 to only the atomic mass of the most common oxygen isotope (O, containing eight protons and eight neutrons). However, because oxygen-17 and oxygen-18 are also present in natural oxygen this led to two different tables of atomic mass. The unified scale based on carbon-12, C, met the physicists' need to base the scale on a pure isotope, while being numerically close to the chemists' scale.