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.
Chemical element
The mass number of an element, "A", is the number of nucleons (protons and neutrons) in the atomic nucleus. Different isotopes of a given element are distinguished by their mass numbers, which are conventionally written as a superscript on the left hand side of the atomic symbol (e.g. U). The mass number is always a whole number and has units of "nucleons". For example, magnesium-24 (24 is the mass number) is an atom with 24 nucleons (12 protons and 12 neutrons).