The mass of the atom is equal to the sum of the number of protons and the number of neutrons. In a neutral atom, the number of protons is equal to the number of electrons. The atomic number meanwhile of an atom is equal to the number of protons of the atom.