We have analyzed bond-length distributions between cations and anions for crystal structures in the crystallographic open database (www.crystallography.net/cod/). The distributions are classified by the coordination environments of cations, which are determined by a tool named as Chemenv (Acta Cryst. (2020). B76, 683-695).