In a covalent bond, there are several forces acting together to determine the bond length.
Electron-electron repulsion increases the bond length.
Proton-proton repulsion increases the bond length.
Proton-electron attraction decreases the bond length.
When I try to understand that a triple bond is shorter than a single bond, I have a hard time trying to comprehend how big a role does electron-electron repulsion play in the bond length. Since a triple bond has three pairs of shared electrons, I would reason that the repulsion is stronger than a single bond and therefore the bond length should be longer. Clearly this is not the case. The proton- electron attraction is also ruled out. As a single bonded c-o has the same number of protons as a triple bonded c-o. Triply bonded c-o however, has a shorter bond length of 113 pm while single bonded c-o is 143 pm. While I can rote memorize this fact, it will be really appreciated if there is a rational explanation.