Core charge can also be calculated as 'atomic number' minus 'all electrons except those in the outer shell'. For example, chlorine (element 17), with electron configuration 1s 2s 2p 3s 3p, has 17 protons and 10 inner shell electrons (2 in the first shell, and 8 in the second) so: