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).
Mass–energy equivalence
For things and systems made up of many parts, like an atomic nucleus, planet, or star, the relativistic mass is the sum of the relativistic masses (or energies) of the parts, because energies are additive in isolated systems. This is not true in open systems, however, if energy is subtracted. For example, if a system is "bound" by attractive forces, and the energy gained due to the forces of attraction in excess of the work done is removed from the system, then mass is lost with this removed energy. For example, the mass of an atomic nucleus is less than the total mass of the protons and neutrons that make it up, but this is only true after this energy from binding has been removed in the form of a gamma ray (which in this system, carries away the mass of the energy of binding). This mass decrease is also equivalent to the energy required to break up the nucleus into individual protons and neutrons (in this case, work and mass would need to be supplied). Similarly, the mass of the solar system is slightly less than the sum of the individual masses of the sun and planets.