Protons vs. Electrons: Determining Atomic Charge
The number of protons in an atom determines the element to which it belongs. The number of electrons is always the same as the number of protons in a neutral atom. An atom with more electrons than protons is negatively charged, while an atom with more protons than electrons is positively charged. So if you know the number of protons in an atom, you also know the number of electrons.