Relative atomic mass
It is a synonym for atomic weight, though it is not to be confused with relative isotopic mass. Relative atomic mass is also frequently used as a synonym for "standard" atomic weight and these quantities may have overlapping values if the relative atomic mass used is that for an element from Earth under defined conditions. However, relative atomic mass (atomic weight) is still technically distinct from standard atomic weight because of its application only to the atoms obtained from a single sample; it is also not restricted to terrestrial samples, whereas standard atomic weight averages multiple samples but only from terrestrial sources. Relative atomic mass is therefore a more general term that can more broadly refer to samples taken from non-terrestrial environments or highly specific terrestrial environments which may differ substantially from Earth-average or reflect different degrees of certainty (e.g. in number of significant figures) than those reflected in standard atomic weights.
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.