The mass of an electron is and the mass of a proton is . This means that the mass of an electron is only of the mass of a proton.
Mass of a neutron is , which is again times the mass of an electron.
Since the mass of an electron is extremely less when we compared it with the mass of a proton and a neutron, we do not include the mass of an electron while calculating the atomic mass or mass number of an element.