Skip to main content

Recency, Frequency, and Monetary-Based Customer Segmentation Using K-Means for Analysing Transactional Behaviour in a Service-Based Micro, Small, and Medium Enterprises

Author(s): Rizka Ardiansyah 1 ORCID https://orcid.org/0000-0001-7530-8876 , Nouval Trezandy 1 , Iskandar skandar 2 , Meilani Ilman 1 , Sahril Sahril 1
Author(s) information:
1 Information Technology Department, Faculty of Engineering, Tadulako University, Indonesia
2 Mechanical Engineering Department, Faculty of Engineering, Tadulako University, Indonesia

Corresponding author

Micro, Small, and Medium Enterprises (MSMEs) often faced challenges in designing effective promotional initiatives due to the limited use of systematic customer behavior analysis. This study examined the application of (Recency, Frequency, Monetary) RFM analysis combined with K-Means clustering to explore customer segmentation in a service-based MSME context. Transaction data from a local laundry service operating in Palu, Indonesia, consisting of 2,220 digital transaction records collected between 2022 and 2025, were processed and transformed into RFM variables using min–max normalization. The optimal number of clusters was determined using the Elbow method, resulting in four customer segments. Cluster quality was evaluated using internal validation metrics, yielding a Davies–Bouldin Index (DBI) of 0.61 and a Sum of Squared Errors (SSE) value of 1.73, indicating reasonably compact and well-separated clusters. The resulting segments exhibited distinct transactional profiles across recency, transaction frequency, and monetary contribution, reflecting heterogeneity in customer engagement within the studied MSME. Rather than prescribing specific marketing actions, the findings provided an interpretable analytical basis for considering differentiated promotional strategies aligned with observed customer behavior patterns. Overall, this study demonstrated that RFM-based segmentation offered a feasible and data-driven approach to supporting evidence-informed promotional planning in service-oriented MSMEs operating under data and resource constraints.

Anatan, L.; Nur, A. (2023). Micro, Small, and Medium Enterprises’ Readiness for Industry 4.0: Evidence from Indonesia. Economies, 11, 156. https://doi.org/10.3390/economies11060156.

Gao, J.; Li, G.; Chen, N.; Alzahrani, A.S.H. (2023). Impact of E-Commerce and Digital Marketing Adoption on Sustainability of SMEs. Sustainability, 15, 1594. https://doi.org/10.3390/su15021594.

Ernawati, E.; Baharin, S.S.K.; Kasmin, F. (2021). A Review of Data Mining Methods in RFM-Based Customer Segmentation. Journal of Physics: Conference Series, 1869, 012085. https://doi.org/10.1088/1742-6596/1869/1/012085.

Lang, L.; Liu, X.; Zhang, J. (2022). A Big Data-Based Dynamic Weight Approach for RFM Model in Customer Segmentation. International Journal of Information Management Data Insights, 2, 100086. https://doi.org/10.1016/j.jjimei.2022.100086.

Xu, L.; Li, Y.; Yu, H. (2021). Customer Segmentation Based on Improved RFM Model and K-Means Algorithm. IEEE Access, 9, 13721–13728. https://doi.org/10.1109/ACCESS.2021.3051867.

Rungruang, C.; Boongoen, S.; Athanon, T. (2024). RFM Model Customer Segmentation Based on Hierarchical Approach Using FCA. Expert Systems with Applications, 235, 121206. https://doi.org/10.1016/j.eswa.2023.121206.

Deng, Y.; Gao, Q. (2020). A Study on E-Commerce Customer Segmentation Management Based on Improved K-Means Algorithm. Information Systems and e-Business Management, 18, 497–510. https://doi.org/10.1007/s10257-019-00444-8.

Wu, T.; Liu, X. (2020). A Dynamic Interval Type-2 Fuzzy Customer Segmentation Model and Its Application in E-Commerce. Applied Soft Computing, 94, 106366. https://doi.org/10.1016/j.asoc.2020.106366.

Smaili, M.Y.; Hachimi, H. (2023). New RFM-D Classification Model for Improving Customer Analysis and Response Prediction. Ain Shams Engineering Journal, 14, 102254. https://doi.org/10.1016/j.asej.2022.102254.

Priyatharsini, L.; Umamakeswari, A.; Joy, J.C.L. (2018). RFM Ranking – An Effective Approach to Customer Segmentation. Journal of King Saud University – Computer and Information Sciences, 30, 1–10. https://doi.org/10.1016/j.jksuci.2017.12.006.

Oliveira, J.P.; Oliveira, L.E.S.; Cortez, P. (2021). Unsupervised Anomaly Detection of Retail Stores Using RFM and K-Means. Procedia Computer Science, 181, 644–651. https://doi.org/10.1016/j.procs.2021.01.201.

Syahra, Y.; Fadlil, A.; Yuliansyah, H. (2025). Customer Segmentation Using RFM and K-Means Clustering to Support CRM in Retail Industry. Sinkron: Jurnal dan Penelitian Teknik Informatika, 9, 1120–1131. https://doi.org/10.33395/sinkron.v9i3.14907.

Agus, I.; Hasibuan, M. (2025). Customer Segmentation Using an Enhanced RFM–K-Means Framework on the Online Retail Dataset. International Journal of Informatics and Information Systems, 8, 221–233. https://doi.org/10.47738/ijiis.v8i4.289.

John, J.M.; Shobayo, O.; Ogunleye, B. (2023). An Exploration of Clustering Algorithms for Customer Segmentation in the UK Retail Market. Analytics, 2, 809–823. https://doi.org/10.3390/analytics2040042.

Salminen, J.; Blomqvist, O.J.; Jung, S.-C.; Jansen, B.J. (2023). How Can Algorithms Help in Segmenting Users and Audiences? A Systematic Mapping Study of User Segmentation Approaches. Journal of Marketing Analytics, 11, 311–332. https://doi.org/10.1057/s41270-023-00235-5.

Nugraheni, P.; Darma, E.S.; Muhammad, R. (2025). Adoption of Digital Technology and Financial Knowledge: Strategies for Achieving Sustainable Performance of MSMEs. Journal of Risk and Financial Management, 18, 646. https://doi.org/10.3390/jrfm18110646.

Jiao, L.; Zhang, X.; Li, X. (2022). Interpretable Fuzzy Clustering Using Unsupervised Feature Selection and Validity Indexes. Information Sciences, 607, 507–526. https://doi.org/10.1016/j.ins.2022.03.040.

Sun, Y.; Li, Q.; Zhang, Y. (2023). Research on Customer Lifetime Value Based on Machine Learning and RFM Model. Heliyon, 9, e14267. https://doi.org/10.1016/j.heliyon.2023.e14267.

Wongoutong, C. (2024). The Impact of Neglecting Feature Scaling in K-Means Clustering. PloS ONE, 19, e0310839. https://doi.org/10.1371/journal.pone.0310839.

Pingali, S.R.; Leung, C.T.; Krishnan, P. (2023). Digital Readiness of Small and Medium Enterprises in Emerging Economies. Journal of Business Research, 160, 113816. https://doi.org/10.1016/j.jbusres.2023.113816.

Davies, D.L.; Bouldin, D.W. (1979). A Cluster Separation Measure. IEEE Transactions on Pattern Analysis and Machine Intelligence, PAMI-1, 224–227. https://doi.org/10.1109/TPAMI.1979.4766909.

Pereira, M.S.; Castro, B.S.; Cordeiro, B.A.; Silva, E.C.; Gonçalves, M.C. (2025). Factors of Customer Loyalty and Retention in the Digital Environment. Journal of Theoretical and Applied Electronic Commerce Research, 20, 71. https://doi.org/10.3390/jtaer20020071.

Kamyabi, M.; Özgit, H.; Ahmed, J.N. (2025). Sustaining Digital Marketing Strategies to Enhance Customer Engagement and Brand Promotion: Position as a Moderator. Sustainability, 17, 3270. https://doi.org/10.3390/su17073270.

Lee, Y.; Na, K.; Rhim, J.; Kim, E. (2025). Primary Determinants and Strategic Implications for Customer Loyalty in Pet-Related Vertical E-Commerce: A Machine Learning Approach. Systems, 13, 175. https://doi.org/10.3390/systems13030175.

About this article

SUBMITTED: 24 November 2025
ACCEPTED: 24 February 2026
PUBLISHED: 10 March 2026
SUBMITTED to ACCEPTED: 92 days
DOI: https://doi.org/10.53623/gisa.v6i1.919

Cite this article
Ardiansyah, R., Trezandy, N. ., skandar, I. ., Ilman, M., & Sahril, S. . (2026). Recency, Frequency, and Monetary-Based Customer Segmentation Using K-Means for Analysing Transactional Behaviour in a Service-Based Micro, Small, and Medium Enterprises. Green Intelligent Systems and Applications, 6(1), 65−80. https://doi.org/10.53623/gisa.v6i1.919
Keywords
Citations
0
Share this article