Flexi Says: Covalent bonds form because the shared electrons fill each atom’s outer energy level and this is the most stable arrangement of electrons. The number of bonds in covalent molecule for an atom is equal to the number of electrons in the full valence shell excluding the number of valence electrons.