Chemical element
Whereas the mass number simply counts the total number of neutrons and protons and is thus a natural (or whole) number, the atomic mass of a single atom is a real number giving the mass of a particular isotope (or "nuclide") of the element, expressed in atomic mass units (symbol: u). In general, the mass number of a given nuclide differs in value slightly from its atomic mass, since the mass of each proton and neutron is not exactly 1 u; since the electrons contribute a lesser share to the atomic mass as neutron number exceeds proton number; and (finally) because of the nuclear binding energy. For example, the atomic mass of chlorine-35 to five significant digits is 34.969 u and that of chlorine-37 is 36.966 u. However, the atomic mass in u of each isotope is quite close to its simple mass number (always within 1%). The only isotope whose atomic mass is exactly a natural number is C, which by definition has a mass of exactly 12 because u is defined as 1/12 of the mass of a free neutral carbon-12 atom in the ground state.
Mass–energy equivalence
In nuclear reactions, typically only a small fraction of the total mass–energy of the bomb converts into the mass–energy of heat, light, radiation, and motion—which are "active" forms that can be used. When an atom fissions, it loses only about 0.1% of its mass (which escapes from the system and does not disappear), and additionally, in a bomb or reactor not all the atoms can fission. In a modern fission-based atomic bomb, the efficiency is only about 40%, so only 40% of the fissionable atoms actually fission, and only about 0.03% of the fissile core mass appears as energy in the end. In nuclear fusion, more of the mass is released as usable energy, roughly 0.3%. But in a fusion bomb, the bomb mass is partly casing and non-reacting components, so that in practicality, again (coincidentally) no more than about 0.03% of the total mass of the entire weapon is released as usable energy (which, again, retains the "missing" mass). See nuclear weapon yield for practical details of this ratio in modern nuclear weapons.