Entropy is a thermodynamic function in chemistry that reflects the randomness and disorder of molecules in a particular system or process based on the number of alternative configurations accessible to them. Distance-based entropy is used to solve a variety of difficulties in biology, chemical graph theory, organic and inorganic chemistry, and other fields. In this article, the characterization of the crystal structure of niobium oxide and a metal–organic framework is investigated. We also use the information function to compute entropies by building these structures with degree-based indices including the K-Banhatti indices, the first redefined Zagreb index, the second redefined Zagreb index, the third redefined Zagreb index, and the atom-bond sum connectivity index.