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.
Mass in special relativity
The term "mass" in special relativity usually refers to the rest mass of the object, which is the Newtonian mass as measured by an observer moving along with the object. The "invariant mass" is another name for the "rest mass" of single particles. The more general invariant mass (calculated with a more complicated formula) loosely corresponds to the "rest mass" of a "system". Thus, invariant mass is a natural unit of mass used for systems which are being viewed from their center of momentum frame (COM frame), as when any closed system (for example a bottle of hot gas) is weighed, which requires that the measurement be taken in the center of momentum frame where the system has no net momentum. Under such circumstances the invariant mass is equal to the relativistic mass (discussed below), which is the total energy of the system divided by "c" (the speed of light squared).