Customer Loyalty Analysis Using RFM Model and K-Means Clustering for Marketing Strategy Optimization

Authors

  • Vigo Yano Sahertian Universitas Kristen Satya Wacana
  • Yessica Nataliani Universitas Kristen Satya Wacana

DOI:

https://doi.org/10.24246/ijiteb.212025.01-07

Keywords:

Customer Segmentation, RFM, K-Means Clustering, Data Mining

Abstract

This study aims to segment customers to measure their level of loyalty using the RFM (Recency, Frequency, Monetary) model approach combined with the k-Means clustering algorithm. The dataset used comes from the Kaggle site and contains motor vehicle sales data, both cars and motorbikes, with a total of 2,747 transactions. The RFM method is used to calculate three important indicators of customer behavior, namely the last time to make a purchase (recency), purchase frequency (frequency), and total transaction value (monetary). The data is then normalized and grouped using the k-Means algorithm. Based on the results of the Elbow Method and Silhouette Score tests, the optimal number of clusters obtained is four. The segmentation results show four groups of customers with different characteristics, ranging from very loyal customers with high frequency and large transaction values, to customers who have been inactive for a long time. This segmentation is very useful for companies to design more targeted marketing strategies and increase customer retention. This study shows that the combination of RFM and k-Means clustering is able to provide significant insights in understanding consumer behavior and supporting data-based strategic decision making.

Downloads

Download data is not yet available.

References

M.-L. Tsai, C.-Y. Wang, and Y.-H. Chiang, “Customer segmentation and strategy development based on customer lifetime value: A case study,” Expert Systems with Applications, vol. 23, no. 4, pp. 311–320, 2002.

A. Kumar and R. Sharma, “Customer segmentation using K-means clustering in unsupervised learning,” International Journal of Scientific Research, vol. 11, no. 4, pp. 123–129, 2022.

J. Andia-Reyna and Y. Malasquez-Villanueva, “Impact of emerging technologies on customer loyalty: A systematic review,” International Journal of Advanced Computer Science and Applications, vol. 16, no. 3, pp. 204–210, 2025, doi: 10.14569/IJACSA.2025.0160320.

CMSWire, “The evolution of customer loyalty programs in the digital age,” CMSWire, May 15, 2023.

A. Hermawan, N. R. Jayanti, A. Saputra, C. Tambunan, D. M. Baihaqi, M. A. Syahreza, and Z. Bachtiar, “Optimalisasi strategi pemasaran melalui analisis RFM pada dataset transaksi ritel menggunakan Python,” Jurnal Manajemen Riset Inovasi, vol. 2, no. 4, pp. 254–267, 2024, doi: 10.55606/mri.v2i4.3246.

J. Han, J. Pei, and M. Kamber, Data Mining: Concepts and Techniques. USA: Elsevier Inc., 2012.

B. E. Adiana, I. Soesanti, and A. E. Permanasari, “Analisis segmentasi pelanggan menggunakan kombinasi RFM model dan teknik clustering,” Jurnal Terapan Teknologi Informasi, vol. 2, no. 1, pp. 23–32, 2018, doi: 10.21460/jutei.2018.21.76.

Y. Huang, M. Zhang, and Y. He, “Research on improved RFM customer segmentation model based on K-means algorithm,” in Proc. 5th ICCIA, 2020, doi: 10.1109/ICCIA49625.2020.00012.

P. Diah, B. A. Fitra, and E. Wafa, “Customer clustering based on RFM features using K-means algorithm,” in IEEE CyberneticsCom, 2022, doi: 10.1109/CyberneticsCom55287.2022.9865572.

S. V. Avula, P. Indukumar, S. L. Maini, and C. Sasidhar, “Customer segmentation using K-means algorithm and RFM model,” in Proc. ICCCIS, 2023, doi: 10.1109/ICCCIS60361.2023.10425556.

N. V. L. Reddy, G. N. Hussain, and S. Lalitha, “RFM analysis using K-means algorithm for customer segmentation,” in Proc. CoCoNet, pp. 161–179, 2023.

A. Khumaidi, H. Wahyono, R. Darmawan, H. D. Kartika, L. N. L. Chusna, and M. K. Fauzy, “RFM-AR model for customer segmentation using K-means algorithm,” in Proc. 8th ICIMECE, vol. 465, 2023, doi: 10.1051/e3sconf/202346502005.

Z. Xian, P. Keikhosrkoiani, C. XinYing, and Z. Li, “An RFM model using K-means clustering to improve customer segmentation and product recommendation,” in Proc. CBCDASCE, 2022, doi: 10.4018/978-1-6684-4168-8.ch006.

A. Saputra, “Perbandingan algoritma DBSCAN dan K-means dalam segmentasi pelanggan pengguna transportasi publik Transjakarta menggunakan metode RFM,” MALCOLM, vol. 4, no. 4, 2024, doi: 10.57152/Malcom.v4i4.1516.

S. Dwivedi and A. Singh, “A study of customer segmentation based on RFM analysis and K-means,” in Proc. ICICC, pp. 347–355, 2023, doi: 10.1007/978-981-99-4071-4_27.

S. Robo, P. I. Melani, P. Fernatyanan, M. R. Widiantoro, and S. K. Bariyyah, “The application of customer segmentation using RFM analysis method and K-means clustering to improve marketing strategy,” IJISTECH, vol. 8, no. 3, 2024.

H. Rizkyanto and F. L. Gaol, “Customer segmentation of personal credit using recency, frequency, monetary (RFM) and K-means on financial industry,” IJACSA, vol. 14, no. 4, 2023, doi: 10.14569/IJACSA.2023.0140417.

N. Mirantika and E. Rijanto, “Comparative analysis of K-means and K-medoids algorithm in determining customer segmentation using RFM model,” Jurnal Teknologi dan Sistem Komputer, vol. 18, no. 5, 2023.

R. Y. Firmansah, J. D. Irawan, and N. Vendyansyah, “Analisis RFM (recency, frequency, monetary) produk menggunakan metode K-means,” JATI, vol. 5, no. 1, 2021, doi: 10.36040/jati.v5i1.3282.

Downloads

Published

2025-11-30

How to Cite

Sahertian, V. Y., & Yessica Nataliani. (2025). Customer Loyalty Analysis Using RFM Model and K-Means Clustering for Marketing Strategy Optimization. International Journal of Information Technology and Business, 8(1), 06–12. https://doi.org/10.24246/ijiteb.212025.01-07