Explanation: An element does not exist alone in the nature. It exist in the form of isotopes of its own. Atomic mass of that element is the average atomic masses of the isotopes.
Average atomic mass of the element is defined as the sum of atomic masses of isotopes each multiplied with their respective natural fractional abundance.
Mathematically,

This is the reason, why an element does not have a whole number atomic mass, but exist in decimal numbers.