The mass number of an atom is the total number of protons and neutrons. It can be calculated by adding the number of neutrons and the number of protons (atomic number) together.