Atomic mass
The atomic mass or relative isotopic mass refers to the mass of a single particle, and therefore is tied to a certain specific isotope of an element. The dimensionless standard atomic weight instead refers to the average (mathematical mean) of atomic mass values of a typical naturally-occurring mixture of isotopes for a sample of an element. Atomic mass values are thus commonly reported to many more significant figures than atomic weights. Standard atomic weight is related to atomic mass by the abundance ranking of isotopes for each element. It is usually "about" the same value as the atomic mass of the most abundant isotope, other than what looks like (but is not actually) a rounding difference.
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.