Which subatomic particles are used to calculate the atomic mass?

The subatomic particles that are used to calculate the atomic mass are the protons and neutrons. The protons have a positive charge and are found in the nucleus of an atom, while the neutrons have no charge and are also found in the nucleus. Electrons, which have a negative charge, are not used in the calculation of atomic mass since their contribution to the total mass of an atom is negligible.