Atomic mass
The atomic mass ("m") is the mass of an atom. Its unit is the unified atomic mass units ("abbr." u) where 1 unified atomic mass unit is defined as of the mass of a single carbon-12 atom, at rest. For atoms, the protons and neutrons of the nucleus account for nearly all of the total mass, and the atomic mass measured in u has nearly the same value as the mass number.
Mass number
The mass number should also not be confused with the standard atomic weight (also called atomic weight) of an element, which is the ratio of the average atomic mass of the different isotopes of that element (weighted by abundance) to the unified atomic mass unit. The atomic weight is an actual "mass" (made relative, i.e., a ratio), while the mass number is a "counted" number (and so an integer).