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).
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".