High school or generally abbreviated SMA consists of several majors. So that students are placed in majors that match their interests and talents, software is built using the K-means method. The K-means method will cluster 231 data from class X students in 2022 into two clusters. Furthermore, from the results of K-means clustering, each cluster will be ranked using the TOPSIS method so that stu…