Atomic mass
One mole of a substance always contains almost exactly the "standard atomic weight" or "molar mass" of that substance; however, this may or may not be true for the "atomic mass," depending on whether or not the element exists naturally in more than one isotope. For example, the standard atomic weight of iron is 55.847 g/mol, and therefore one mole of iron as commonly found on earth has a mass of 55.847 grams. The "atomic mass" of the Fe isotope is 55.935 u and one mole of Fe atoms would then in theory have a mass of 55.935 g, but such amounts of pure Fe have never been found (or separated out) on Earth. However, there are 22 mononuclidic elements of which essentially only a single isotope is found in nature (common examples are fluorine, sodium, aluminum and phosphorus) and for these elements the standard atomic weight and atomic mass are the same. Samples of these elements therefore may serve as reference standards for certain atomic mass values.
Mass–energy equivalence
For a system of particles going off in different directions, the invariant mass of the system is the analog of the rest mass, and is the same for all observers, even those in relative motion. It is defined as the total energy (divided by ) in the center of mass frame (where by definition, the system total momentum is zero). A simple example of an object with moving parts but zero total momentum is a container of gas. In this case, the mass of the container is given by its total energy (including the kinetic energy of the gas molecules), since the system total energy and invariant mass are the same in any reference frame where the momentum is zero, and such a reference frame is also the only frame in which the object can be weighed. In a similar way, the theory of special relativity posits that the thermal energy in all objects (including solids) contributes to their total masses and weights, even though this energy is present as the kinetic and potential energies of the atoms in the object, and it (in a similar way to the gas) is not seen in the rest masses of the atoms that make up the object.