Customer Segmentation Using RFM and K-Means Clustering to Support CRM in Retail Industry
DOI:
10.33395/sinkron.v9i3.14907Keywords:
Customer Segmentation, RFM Analysis, K-Means Clustering, Retail Industry, CRMAbstract
In today’s highly competitive retail landscape, businesses face increasing challenges in retaining customer loyalty and achieving sustainable growth. A common issue, particularly among small and medium-sized enterprises (SMEs), is the absence of a structured method for identifying and categorizing customers based on their value and behavior. This study addresses the challenge by implementing a data-driven customer segmentation approach using Recency, Frequency, and Monetary (RFM) analysis combined with the K-Means clustering algorithm. The research utilized 2,353 transaction records from 369 unique customers collected over three years from a local retail business. After preprocessing and normalizing the RFM values using Min-Max scaling, the Elbow Method was applied to determine the optimal number of clusters, resulting in four distinct customer segments. Cluster 3, labeled “Loyal Customers,” consisted of customers with high purchase frequency and very high spending; Cluster 1 (“Potential Loyalists”) included those with moderate activity; Cluster 0 represented “At-Risk Customers,” and Cluster 2 comprised “One-Time Buyers.” This segmentation framework supports the development of targeted Customer Relationship Management (CRM) strategies, such as loyalty programs and re-engagement campaigns. However, the approach also has limitations, including potential data bias due to the use of static transaction records and the challenge of interpreting clusters without qualitative customer feedback. Despite these constraints, the study demonstrates the practical utility of combining RFM analysis with clustering techniques to extract actionable insights in environments with limited technical infrastructure.
Downloads
References
Abbasimehr, H., & Bahrini, A. (2022). An analytical framework based on the recency, frequency, and monetary model and time series clustering techniques for dynamic segmentation. Expert Systems with Applications, 192, 116373. https://doi.org/10.1016/j.eswa.2021.116373
ASLANTAŞ, G., GENÇGÜL, M., RUMELLİ, M., ÖZSARAÇ, M., & BAKIRLI, G. (2023). Customer Segmentation Using K-Means Clustering Algorithm and RFM Model. Deu Muhendislik Fakultesi Fen ve Muhendislik, 25(74), 491–503. https://doi.org/10.21205/deufmd.2023257418
Christy, A. J., Umamakeswari, A., Priyatharsini, L., & Neyaa, A. (2021). RFM ranking – An effective approach to customer segmentation. Journal of King Saud University - Computer and Information Sciences, 33(10), 1251–1257. https://doi.org/10.1016/j.jksuci.2018.09.004
Cui, M. (2020). Introduction to the K-Means Clustering Algorithm Based on the Elbow Method. Accounting, Auditing and Finance, 1(1), 5–8. https://doi.org/10.23977/accaf.2020.010102
Dol, S. M., & Jawandhiya, P. M. (2023). Classification Technique and its Combination with Clustering and Association Rule Mining in Educational Data Mining—A survey. Engineering Applications of Artificial Intelligence, 122, 106071.
Fatahi, S., & Rabiei, M. (2020). Users clustering Based on Search Behavior Analysis Using the LRFM Model (Case Study: Iran Scientific Information Database (Ganj)) Somayeh. 36(2), 419–442. https://doi.org/10.35050/JIPM010.2020.006
Heldt, R., Silveira, C. S., & Luce, F. B. (2021). Predicting customer value per product: From RFM to RFM/P. Journal of Business Research, 127(March), 444–453. https://doi.org/10.1016/j.jbusres.2019.05.001
Kuraria, A., Jharbade, N., & Soni, M. (2018). Centroid Selection Process Using WCSS and Elbow Method for K-Mean Clustering Algorithm in Data Mining. International Journal of Scientific Research in Science, Engineering and Technology, 6(1), 190–195. https://doi.org/10.32628/ijsrset21841122
Li, M., Wang, Q., Shen, Y., & Zhu, T. Y. (2021). Customer relationship management analysis of outpatients in a Chinese infectious disease hospital using drug-proportion recency-frequency-monetary model. International Journal of Medical Informatics, 147(July 2020). https://doi.org/10.1016/j.ijmedinf.2020.104373
Ma, J. (2022). E-commerce Customer Segmentation Based on RFM Model (pp. 926–931). https://doi.org/10.1007/978-981-16-8052-6_118
Nasyuha, A. H., Zulham, Z., & Rusydi, I. (2022). Implementation of K-means algorithm in data analysis. TELKOMNIKA (Telecommunication Computing Electronics and Control), 20(2), 307. https://doi.org/10.12928/telkomnika.v20i2.21986
Paul, L., & Ramanan, T. R. (2019). An RFM and CLV analysis for customer retention and customer relationship management of a logistics firm. International Journal of Applied Management Science, 11(4), 333. https://doi.org/10.1504/IJAMS.2019.103713
Pynadath, M. F., Rofin, T. M., & Thomas, S. (2023). Evolution of customer relationship management to data mining-based customer relationship management: a scientometric analysis. Quality & Quantity, 57(4), 3241–3272. https://doi.org/10.1007/s11135-022-01500-y
Rungruang, C., Riyapan, P., Intarasit, A., Chuarkham, K., & Muangprathub, J. (2024). RFM model customer segmentation based on hierarchical approach using FCA. Expert Systems with Applications, 237, 121449. https://doi.org/10.1016/j.eswa.2023.121449
Saha, L., Tripathy, H. K., Nayak, S. R., Bhoi, A. K., & Barsocchi, P. (2021). Amalgamation of customer relationship management and data analytics in different business sectors—a systematic literature review. Sustainability (Switzerland), 13(9). https://doi.org/10.3390/su13095279
Smaili, M. Y., & Hachimi, H. (2023). New RFM-D classification model for improving customer analysis and response prediction. Ain Shams Engineering Journal, 14(12), 102254. https://doi.org/10.1016/j.asej.2023.102254
Sun, Y., Liu, H., & Gao, Y. (2023). Research on customer lifetime value based on machine learning algorithms and customer relationship management analysis model. Heliyon, 9(2), e13384. https://doi.org/10.1016/j.heliyon.2023.e13384
Tabianan, K., Velu, S., & Ravi, V. (2022). K-Means Clustering Approach for Intelligent Customer Segmentation Using Customer Purchase Behavior Data. Sustainability (Switzerland), 14(12), 1–15. https://doi.org/10.3390/su14127243
Yulisasih, B. N., Herman, H., Sunardi, S., & Yuliansyah, H. (2024). Evaluation of K-Means Clustering Using Silhouette Score Method on Customer Segmentation. ILKOM Jurnal Ilmiah, 16(3), 330–342. https://doi.org/10.33096/ilkom.v16i3.2325.330-342
Zhu, N. (2023). Research on Customer Relationship Segmentation of Apparel Retail Industry through Data Mining. HighTech and Innovation Journal, 4(2), 309–314. https://doi.org/10.28991/HIJ-2023-04-02-05
Downloads
How to Cite
Issue
Section
License
Copyright (c) 2025 Yohanni Syahra, Abdul Fadlil, Herman Yuliansyah

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.






















Moraref
PKP Index
Indonesia OneSearch
OCLC Worldcat
Index Copernicus
Scilit
