The atomic number is the number of protons in an atom’s nucleus and defines the element. The atomic mass includes the total number of protons and neutrons in the nucleus, representing the element’s isotopic composition.