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).
Atomic number
The sum of the atomic number "Z" and the number of neutrons, "N", gives the mass number "A" of an atom. Since protons and neutrons have approximately the same mass (and the mass of the electrons is negligible for many purposes) and the mass defect of nucleon binding is always small compared to the nucleon mass, the atomic mass of any atom, when expressed in unified atomic mass units (making a quantity called the "relative isotopic mass"), is within 1% of the whole number "A".