Atoms of the same element may have different masses.

An isotope is all the atoms of an element having the same mass.

All atoms have masses that are close to whole numbers. The whole number closest to the mass of the atoms of an isotope is the mass number of that isotope.