Science and technology will facilitate human work. However, on the other hand it will increase competition. In facing intense competition, it is necessary to have competent human resources. Students are expected to be academically prepared, in the form of knowledge and skill readiness to face increasingly fierce competition. One way to see student competence is to look at learning outcomes that can be represented by the exam scores taken. The midterm exam (UTS) is a form of exam which is an assessment component. By knowing the UTS scores, the lecturer knows the distribution of students in terms of academic competence. For this reason, it is necessary to group (clustering) using the k-means algorithm as a consideration for lecturers in forming student study groups based on UTS value clusters.