This research analyzes the attendance levels of lecturers at FMIPA Universitas Riau using the K-Means algorithm. Lecturer attendance data for the 2021/2022 and 2022/2023 academic years, involving 124 lecturers, were obtained from the FMIPA UNRI Dean’s Office. In this study, the K-Means algorithm was employed to cluster lecturer attendance data, with the optimal number of clusters determined u…