A topological index is a molecular descriptor derived from the molecular structure of a chemical substance. These indices can be used to analyze mathematical values and predict various physical properties of drugs. This article discusses tofacitinib, leflunomide, upadacinib, baricitinib, filgotinib, methotrexate, and other drugs used to treat rheumatoid arthritis, and the goal of the QSPR study is to calculate the relationship between the properties under investigation (e.g., boiling point, polarity, and molar volume) and molecular descriptors. Topological indices (TIs) were imposed on said drugs to calculate the correlation with physicochemical properties in this course.