How Do You Find The Number Of Unpaired Electrons?

How Do You Find The Number Of Unpaired Electrons? For finding the number of unpaired electrons, then first we have to find the atomic number of the element then write the configuration in the ground state, then according to the oxidation state subtract the number of electrons from the outer shell. So, there are 4