A diatomic molecule can be represented using a potential energy curve, which graphs potential energy versus the distance between the two atoms (called the internuclear distance). From this graph, we can determine the equilibrium bond length (the internuclear distance at the potential energy minimum) and the bond energy (the energy required to separate the two atoms).
License: CC BY-NC-SA by Khan Academy