A topological index is a number generated from a molecular structure (i.e., a graph) that indicates the essential structural properties of the proposed molecule. Indeed, it is an algebraic quantity connected with the chemical structure that correlates it with various physical characteristics. It is possible to determine several different properties, such as chemical activity, thermodynamic properties, physicochemical activity, and biological activity, using several topological indices, such as the geometric-arithmetic index, arithmetic-geometric index, Randić index, and the atom-bond connectivity indices. Consider G as a group and H as a non-empty subset of G. The commuting graph C(G,H), has H as the vertex set, where h1,h2∈H are edge connected whenever h1 and h2 commute in G. This article examines the topological characteristics of commuting graphs having an algebraic structure by computing their atomic-bond connectivity index, the Wiener index and its reciprocal, the harmonic index, geometric-arithmetic index, Randić index, Harary index, and the Schultz molecular topological index. Moreover, we study the Hosoya properties, such as the Hosoya polynomial and the reciprocal statuses of the Hosoya polynomial of the commuting graphs of finite subgroups of SL(2,C). Finally, we compute the Z-index of the commuting graphs of the binary dihedral groups.