Application of the K-Means Method for Grouping Product Data Based on Sales Level
DOI:
https://doi.org/10.51903/53pfrd78Keywords:
K-Means Clustering, Retail Sales Data, Product Segmentation, Inventory Management, Fast-Moving Consumer Goods (FMCG)Abstract
Modern retail in Indonesia is growing rapidly, requiring complex sales data to support managerial decisions. This study aims to group products at Indomaret Kotaraja by monthly sales patterns to support inventory, shelf layout, and promotional decisions. The method used is K-Means clustering on one year of packaged food and beverage sales data, with basic preprocessing and normalization to enable comparison of sales patterns across products. Several K values were evaluated using the Davies Bouldin Index, Silhouette coefficient, and SSE trend, and K = 4 was obtained as the best configuration. A total of 99 products were divided into four clusters with profiles: (1) high and stable sales (fast-moving), (2) strong spikes at the end of the year (seasonal/promotion-sensitive), (3) low but stable sales (slow-moving), and (4) fluctuating sales that require strict control. The main contribution of this research is the development of a repeatable clustering workflow and the presentation of actionable cluster profiles for replenishment prioritization, targeted promotion design, and slow-moving or volatile product stock control, thus supporting data-driven decision-making in modern retail.
References
[1] M. Handoko, H. Mubarok, R. K. Shaura, H. Lesmana, R. Widyastuti, R. Swastika, W. Haryanto, dan D. Hartini, “The Architecture of Intelligent Transportation System Based on Sensor Monitoring (Implementation in Jakarta Area),” Journal of Technology Informatics and Engineering, vol. 4, no. 2, pp. 190–203, 2025, doi:10.51903/jtie.v4i2.357.
[2] F. Roni, M. Handoko, R. D. B. Parancika, M. Aris, Y. M. Ardi, dan Syabrinildi, “Determination of Employee Performance: Work Environment and Leadership Style (Case Study at PT. MPIW Jakarta),” Journal of Management and Informatics, vol. 4, no. 2, pp. 773–790, 2025, doi:10.51903/jmi.v4i2.216.
[3] A. N. Amanta, Migunani, dan M. U. Dewi, “Design and Development of STEKOM Learning Management System (SIAKAD) to Optimize User Experience,” Jurnal Ilmiah Sistem Informasi, vol. 5, no. 1, pp. 1–16, 2026, doi:10.51903/8gbfzh39.
[4] E. Sholekha, B. Irawan, and A. Bahtiar, “Analisis Penjualan Produk Snack Dan Minuman Menggunakan Metode K-Means Pada Dataset Transaksi Penjualan,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 3, pp. 2533–2539, Jun. 2024, doi: 10.36040/jati.v8i3.9310.
[5] T. Wahyudi et al., “Penerapan Metode K-Means pada Data Penjualan untuk Mendapatkan Produk Terlaris di PT. Titian Nusantara Boga: Penerapan Metode K-Means Pada Data,” ejournal.sisfokomtek.org, vol. 5, no. 1, pp. 228–236, 2023, doi: 10.55338/saintek.v5i1.1379.
[6] F. Zafira, B. Irawan, and A. Bahtiar, “Penerapan Data Mining untuk Estimasi Stok Barang dengan Metode K-Means Clustering,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, pp. 156–161, Feb. 2024, doi: 10.36040/jati.v8i1.8319.
[7] T. Amalina, D. B. A. Pramana, and B. N. Sari, “Metode K-Means Clustering dalam Pengelompokan Penjualan Produk Frozen Food,” Jurnal Ilmiah Wahana Pendidikan, vol. 8, no. 15, pp. 574–583, Sep. 2022, doi: 10.5281/zenodo.7052276.
[8] L. Azzahra and A. Yasir, “Metode K Means Clustering dalam Pengelompokan Penjualan Produk Frozen Food,” Jurnal Ilmu Komputer dan Sistem Informasi, vol. 3, no. 1, pp. 1–10, Jan. 2024, doi: 10.70340/jirsi.v3i1.88.
[9] Agung Nugraha, Odi Nurdiawan, and Gifthera Dwilestari, “Penerapan Data Mining Metode K Means Clustering untuk Analisa Penjualan pada Toko Yana Sport,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 6, no. 2, pp. 849–855, 2022, doi: 10.36040/jati.v6i2.5755.
[10] Nur Afiasari, Nana Suarna, and Nining Rahaningsi, “Implementasi Data Mining Transaksi Penjualan Menggunakan Algoritma Clustering dengan Metode K Means,” Jurnal Saintekom: Sains, Teknologi, Komputer dan Manajemen, vol. 13, no. 1, pp. 100–110, Mar. 2023, doi: 10.33020/saintekom.v13i1.402.
[11] Normah, S. Nurajizah, and A. Salbinda, “Penerapan Data Mining Metode K Means Clustering untuk Analisa Penjualan pada Toko Fashion Hijab Banten,” Jurnal Teknik Komputer, vol. 7, no. 2, pp. 158–163, Jul. 2021, doi: 10.31294/jtk.v7i2.10553.
[12] S. A. Rahmah, “Klasterisasi Pola Penjualan Pestisida Menggunakan Metode K Means Clustering (Studi Kasus di Toko Juanda Tani Kecamatan Hutabayu Raja),” Djtechno: Jurnal Teknologi Informasi, vol. 1, no. 1, pp. 1–5, 2020, doi: 10.46576/djtechno.v1i1.964.
[13] S. Pujiono, R. Astuti, and F. Muhamad Basysyar, “Implementasi Data Mining untuk Menentukan Pola Penjualan Produk Menggunakan Algoritma K Means Clustering,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, pp. 615–620, Feb. 2024, doi: 10.36040/jati.v8i1.8360.
[14] M. Bui and A. Bahtiar, “Implementasi metode algoritma K-Means Clustering untuk mengelompokkan transaksi penjualan barang di Toko Arino,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, 2024, Accessed: Nov. 23, 2025. [Online]. Available: https://mail.ejournal.itn.ac.id/index.php/jati/article/view/8975
[15] N. P. Gantara, I. Ali, K. Akuntansi, and R. P. Lunak, “Penerapan Metode K Means Clustering Pada Penjualan Barang Di Sports Station,” E-Link: Jurnal Ilmu Ekonomi dan Informatika, vol. 18, pp. 28–39, 2023, Accessed: Nov. 23, 2025. [Online]. Available: https://journal.umg.ac.id/index.php/e-link/article/view/5339
[16] F. Sandova, R. Kurniawan, and T. Supratati, “Penerapan Data Mining Menggunakan Metode K Means Clustering pada Penjualan Tas di Asia Toserba Cirebon,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, pp. 245–251, 2024, doi: 10.36040/jati.v8i1.8330.
[17] M. R. Nahjan, N. Heryana, and A. Voutama, “Implementasi Rapidminer dengan Metode Clustering K Means untuk Analisa Penjualan pada Toko Oj Cell,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 7, no. 1, pp. 101–104, 2023, doi: 10.36040/jati.v7i1.6094.
[18] V. Alvianatinova, I. Ali, and N. R. J., “Penerapan Algoritma K Means Clustering dalam Pengelompokan Data Penjualan Supermarket Berdasarkan Cabang (Branch),” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, 2024, Accessed: Nov. 24, 2025. [Online]. Available: https://mail.ejournal.itn.ac.id/index.php/jati/article/view/8993
[19] D. Abid, R. Wirya Adikusuma, A. Mufti, A. Fikri, D. Rinci, and K. Hapsari, “Penerapan Metode K Means Clustering Untuk Analisa Penjualan Komoditas Toko Tani Indonesia,” Jurnal Ilmiah Teknik Informatika, vol. 3, no. 2, 2022, Accessed: Nov. 24, 2025. [Online]. Available: http://ejurnal.itats.ac.id/kernel/article/view/4076
[20] F. D. Agustiar, B. N. Sari, and I. Maulana, “Penerapan Data Mining untuk Pengelompokan Produk Penjualan Menggunakan Algoritma K Means,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 9, no. 1, 2025, doi: 10.36040/jati.v9i1.12178.
[21] E. Erlinda, H. Nopriandi, and D. P. S. Journal, “Penerapan Data Mining Metode K Means Clustering untuk Analisa Penjualan pada Toko Nusa Indah,” Startup Journal, vol. 2, no. 1, 2025, Accessed: Nov. 24, 2025. [Online]. Available: https://journal.unilak.ac.id/index.php/Startup/article/view/27384
[22] U. Surapati and M. Jannah, “Penerapan Data Mining Menggunakan Metode K Means Untuk Mengetahui Minat Customer dalam Pembelian Merchandise Kpop,” Jurnal Sains dan Teknologi, vol. 5, no. 3, pp. 875–884, 2024, doi: 10.55338/saintek.v5i3.2739.
[23] I. Pii, N. Suarna, and N. R. J., “Penerapan Data Mining pada Penjualan Produk Pakaian Dameyra Fashion Menggunakan Metode K Means Clustering,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, pp. 423-430, 2023, Accessed: Nov. 23, 2025. [Online]. Available: https://www.ejournal.itn.ac.id/jati/article/view/6336
[24] I. Anikah, A. Surip, N. Puji Rahayu, M. H. Al Musa, and E. Tohidi, “Pengelompokan Data Barang dengan Menggunakan Metode K Means untuk Menentukan Stok Persediaan Barang,” KOPERTIP: Jurnal Ilmiah Manajemen Informatika dan Komputer, vol. 4, no. 2, pp. 58–64, Jun. 2022, doi: 10.32485/kopertip.v4i2.120.
[25] Nur Astuti, J. N. Utamajaya, and A. Pratama, “Penerapan Data Mining pada Penjualan Produk Digital Konter Leppangeng Cell Menggunakan Metode K Means Clustering,” JURIKOM (Jurnal Riset Komputer), vol. 9, no. 3, pp. 754–760, 2022, doi: 10.30865/jurikom.v9i3.4351.
[26] N. M.-P. J. I. Komputer, “Penerapan Data Mining Pada Penjualan Produk Menggunakan Metode K Means Clustering,” Repository UMB, 2024, Accessed: Nov. 24, 2025. [Online]. Available: https://repository.umb.ac.id/846
[27] M. Sulistio, N. S., and J. T. I. K., “Analisa Penerapan Metode Clustering X Means Dalam Pengelompokan Penjualan Barang,” Jurnal Teknologi Informasi dan Komunikasi (JTIK), vol. 1, no. 2, pp. 37–42, 2023, doi: 10.56854/jtik.v1i2.49.
[28] F. Amin, D. Anggraeni, and Q. A.-I. S., “Penerapan Metode K Means dalam Penjualan Produk Souq. Com,” AISM (Advances in Information Systems and Management), vol. 5, no. 1, pp. 7-14, 2022, doi: 10.15408/aism.v5i1.22534.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Helson Matuan, Esau Dude, Atius Mallo, Herlina Yowey, Yusuf Selius Patey; Heru Sutejo

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All articles published in this journal are open access and licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
Under this license:
-
Authors retain copyright of their work.
-
Others are free to:
-
Share — copy and redistribute the material in any medium or format;
-
Adapt — remix, transform, and build upon the material for any purpose, even commercially;
-
-
As long as they:
-
Give appropriate credit to the original author(s) and the source;
-
Provide a link to the license;
-
Indicate if changes were made;
-
Distribute their contributions under the same license as the original.
-
This ensures that derivative works will also remain free and open under the same terms.













.png)