Atomic mass
The atomic mass (relative isotopic mass) is defined as the mass of a single atom, which can only be one isotope (nuclide) at a time, and is not an abundance-weighted average, as in the case of relative atomic mass/atomic weight. The atomic mass or relative isotopic mass of each isotope and nuclide of a chemical element is therefore a number that can in principle be measured to a very great precision, since every specimen of such a nuclide is expected to be exactly identical to every other specimen, as all atoms of a given type in the same energy state, and every specimen of a particular nuclide, are expected to be exactly identical in mass to every other specimen of that nuclide. For example, every atom of oxygen-16 is expected to have exactly the same atomic mass (relative isotopic mass) as every other atom of oxygen-16.
Atomic mass
The relative isotopic mass, then, is the mass of a given isotope (specifically, any single nuclide), when this value is scaled by the mass of carbon-12, when the latter is set equal to 12. Equivalently, the relative isotopic mass of an isotope or nuclide is the mass of the isotope relative to 1/12 of the mass of a carbon-12 atom.