Application of K-Means Clustering for Customer Segmentation on Sales Data in a Sheet Plastic Manufacturing Company
Main Article Content
Abstract
Customer segmentation is applied to sales transaction data from a sheet plastic manufacturing company covering the 2019–2025 period and obtained from the company’s Enterprise Resource Planning (ERP) system. This study aims to identify heterogeneous customer characteristics and generate actionable market segments based on Recency, Frequency, and Monetary (RFM) values using the K-Means Clustering algorithm. The methodology comprises systematic data cleaning, transaction aggregation, RFM calculation, feature normalization, cluster modeling, and determination of the optimal number of clusters through the Elbow Method and Silhouette Score. The final dataset consists of 46,372 transactions involving 1,223 active customers, with a cumulative transaction value of IDR 722.4 billion. The findings reveal five optimal clusters, validated by a Silhouette Score of 0.513, indicating reasonably good clustering quality and meaningful separation among customer segments. The segmentation identifies five distinct customer groups: Low Engagement (50%), characterized by limited transaction activity and requiring targeted reactivation strategies; Churn (37%), representing long-inactive customers at significant risk of disengagement and requiring structured re-engagement programs; Potential (11%), comprising active customers with substantial transaction values and strong development opportunities; Key Account (less than 1%), representing strategically important customers with the highest business contribution and requiring prioritized relationship management; and High Value (2%), consisting of loyal, profitable customers who should be retained through personalized loyalty initiatives. These findings demonstrate that integrating RFM analysis with K-Means Clustering provides a practical, data-driven approach to understanding customer heterogeneity in manufacturing markets. The resulting segmentation framework offers a strategic foundation for targeted retention initiatives, personalized promotional campaigns, improved customer relationship management, optimized allocation of sales resources, and more effective managerial decision-making based on measurable customer behavior and long-term value
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
References
[2] D. Y. Ryu, Y. K. Ko, and Y. D. Ko, "RFM analysis for profiling profitable customers based on characteristics of the hotel industry," International Journal of Hospitality Management, vol. 129, p. 104176, 2025. doi: 10.1016/j.ijhm.2025.104176.
[3] A. L. Hananto et al., "Analysis of Drug Data Mining with Clustering Technique Using K-Means Algorithm," Journal of Physics: Conference Series, vol. 1908, no. 1, p. 012022, 2021. doi: 10.1088/1742-6596/1908/1/012022.
[4] J. T. Wei, S. Y. Lin, and H. H. Wu, "A review of the application of RFM model," African Journal of Business Management, vol. 4, no. 19, pp. 4199–4206, 2010. [Online]. Available: https://academicjournals.org/journal/AJBM/article-abstract/8F0A3F221234
[5] M. Khajvand, K. Zolfaghar, S. Ashoori, and S. Alizadeh, "Estimating customer lifetime value based on RFM analysis of customer purchase behavior: Case study," Procedia Computer Science, vol. 3, pp. 57–63, 2011. doi: 10.1016/j.procs.2010.12.011.
[6] A. A. Raorane, R. V. Kulkarni, and B. D. Jitkar, "Association rule – Extracting knowledge using market basket analysis," Research Journal of Recent Sciences, vol. 1, no. 2, pp. 19–27, 2012. [Online]. Available: http://www.isca.in/rjrs/archive/v1/i2/4.ISCA-RJRS-2012-009.pdf
[7] S. S. Singh and N. C. Chauhan, "K-means v/s K-medoids: A comparative study," in National Conference on Recent Trends in Engineering & Technology, 2011. [Online]. Available: https://www.researchgate.net/publication/267693481
[8] A. K. Jain, "Data clustering: 50 years beyond K-means," Pattern Recognition Letters, vol. 31, no. 8, pp. 651–666, 2010. doi: 10.1016/j.patrec.2009.09.011.
[9] P. Anitha and M. M. Patil, "RFM model for customer purchase behavior using K-Means algorithm," Journal of King Saud University - Computer and Information Sciences, vol. 34, no. 5, pp. 1785–1792, 2022. doi: 10.1016/j.jksuci.2019.12.011.
[10] S. M. S. Hosseini, A. Maleki, and M. R. Gholamian, "Cluster analysis using data mining approach to develop CRM methodology to assess the customer loyalty," Expert Systems with Applications, vol. 37, no. 7, pp. 5259–5264, 2010. doi: 10.1016/j.eswa.2009.12.070.
[11] M. J. Shaw, C. Subramaniam, G. W. Tan, and M. E. Welge, "Knowledge management and data mining for marketing," Decision Support Systems, vol. 31, no. 1, pp. 127–137, 2001. doi: 10.1016/S0167-9236(00)00123-8.
[12] E. W. T. Ngai, L. Xiu, and D. C. K. Chau, "Application of data mining techniques in customer relationship management: A literature review and classification," Expert Systems with Applications, vol. 36, no. 2, pp. 2592–2602, 2009. doi: 10.1016/j.eswa.2008.02.021.
[13] S. F. Zhang, J. L. Wang, and X. Y. Liu, "A new customer segmentation model based on RFM and improved K-means," Advanced Materials Research, vol. 765–767, pp. 1483–1487, 2013. doi: 10.4028/www.scientific.net/AMR.765-767.1483.
[14] C. H. Cheng and Y. S. Chen, "Classifying the segmentation of customer value via RFM model and RS theory," Expert Systems with Applications, vol. 36, no. 3, pp. 4176–4184, 2009. doi: 10.1016/j.eswa.2008.04.003.
[15] D. L. Olson and D. D. Wu, "RFM and data mining for predictive customer relationship management," in Enterprise Risk Management Models, Springer, 2010, pp. 117–130. doi: 10.1007/978-3-642-11480-5_8.
[16] M. Namvar, M. R. Gholamian, and S. KhakAbi, "A two phase clustering method for intelligent customer segmentation," in 2010 International Conference on Intelligent Systems, Modelling and Simulation, 2010, pp. 215–219. doi: 10.1109/ISMS.2010.49.
[17] G. Punj and D. W. Stewart, "Cluster analysis in marketing research: Review and suggestions for application," Journal of Marketing Research, vol. 20, no. 2, pp. 134–148, 1983. doi: 10.1177/002224378302000204.
[18] S. S. Hosseini, M. R. Gholamian, and A. Maleki, "Customer segmentation based on RFM model and clustering techniques," International Journal of Industrial Engineering & Production Research, vol. 21, no. 3, pp. 135–143, 2010. [Online]. Available: http://ijiepr.iust.ac.ir/article-1-69-en.html
[19] J. Wu and Z. Lin, "Research on customer segmentation model based on improved K-means algorithm," Journal of Physics: Conference Series, vol. 1650, p. 032075, 2020. doi: 10.1088/1742-6596/1650/3/032075.
[20] Y. Zhang, Y. Zhang, and A. Swidan, "Customer segmentation in retail based on RFM and K-means," in Proceedings of the 2020 3rd International Conference on Big Data Technologies, 2020, pp. 45–50. doi: 10.1145/3422713.3422723.