The number of valence electrons in an atom is equal to the number of electrons in the outermost energy level of that atom. The outermost energy level of phosphorus is the third energy level. The third energy level of phosphorus has five electrons. So, a neutral atom of phosphorus has five valence electrons.