Atomic mass
Any mass defect due to nuclear binding energy is experimentally a small fraction (less than 1%) of the mass of equal number of free nucleons. When compared to the average mass per nucleon in carbon-12, which is moderately strongly-bound compared with other atoms, the mass defect of binding for most atoms is an even smaller fraction of a dalton (unified atomic mass unit, based on carbon-12). Since free protons and neutrons differ from each other in mass by a small fraction of a dalton (about 0.0014 u), rounding the relative isotopic mass, or the atomic mass of any given nuclide given in daltons to the nearest whole number always gives the nucleon count, or mass number. Additionally, the neutron count (neutron number) may then be derived by subtracting the number of protons (atomic number) from the mass number (nucleon count).
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.