Atomic mass indicates the size of an atom. Although technically the mass is the sum of the mass of all the protons, neutrons, and electrons in an atom, the mass of an electron is so much less than that of the other particles, that the mass is simply that of the nucleus (protons and neutrons).
https://www.thoughtco.com/definition-of-atomic-mass-weight-604375

