Potential energy and bond length

Two atoms' potential energy falls as they approach, until their nuclei repel; the bottom of that curve gives the bond length and its depth the bond energy, with higher bond orders shorter and stronger and higher ion charges stronger still.

From AP Chemistry.