To calculate the numbers of subatomic particles in an atom, use its atomic number and mass number:
number of protons = atomic number.
number of electrons = atomic number.
number of neutrons = mass number - atomic number.
Just comment down below if you find something wrong regarding with my answers. Your votes are highly appreciated.