Analisis Segmentasi Pelanggan E-Commerce menggunakan Metode RFM dan K-MEANS Clustering untuk Strategi Bisnis


  • Efrain Yaphet Obert * Mail Universitas Bina Sarana Informatika, Jakarta, Indonesia
  • Mulia Rahmayu Universitas Bina Sarana Informatika, Jakarta, Indonesia
  • (*) Corresponding Author
Keywords: Customer Segmentation; RFM; K-Means Clustering; E-Commerce; Data Mining

Abstract

The rapid development of the e-commerce industry has generated vast amounts of customer transaction data. However, most companies face challenges in processing this raw data into strategic business insights. Consequently, management struggles to understand variations in transactional behavior, predict buyer preferences, and maintain personalized customer loyalty. This condition risks increasing customer churn and driving promotional cost inefficiencies due to misdirected marketing efforts. This study aims to perform customer segmentation based on transaction data to provide targeted and measurable marketing strategy recommendations. The methodology integrates the RFM (Recency, Frequency, Monetary) model with the K-Means Clustering algorithm. A secondary dataset sourced from Kaggle was processed through Exploratory Data Analysis (EDA), data cleaning, and data type transformation. The optimal number of clusters was determined using the Elbow Method and validated with a quantitative evaluation metric, the Silhouette Score. The test results indicated that a four-cluster solution provided the best structure with a Silhouette Score of 0.43. The four main identified clusters include Lost Customers (39.2%), Low-Value Customers (37.2%), Big Spender Customers (20.4%), and Loyal Customers (3.2%). These segmentation results were subsequently visualized through an interactive Looker Studio dashboard. The implementation of this dashboard provides practical contributions by delivering operational insights for executing segmented promotional strategies, optimizing marketing budget allocation, and systematically mitigating customer churn risks.

References

M. F. Fadhillah, A. L. A. Suyoso, and I. Puspitasari, “Segmentasi Pelanggan dengan Algoritma Clustering Berdasarkan Atribut Recency, Frequency dan Monetary (RFM),” MALCOM: Indonesian Journal of Machine Learning and Computer Science., vol. 4, no. 2, pp. 575–584, 2024, Accessed: Apr. 22, 2026. [Online]. Available: https://doi.org/10.57152/malcom.v5i1.1491

Y. Syahra, A. Fadlil, and H. Yuliansyah, “Customer Segmentation Using RFM and K-Means Clustering to Support CRM in Retail Industry,” Jurnal Dan Penelitian Teknik Informatika, vol. 9, no. 3, pp. 1120–1131, 2025, Accessed: Apr. 22, 2026. [Online]. Available: https://doi.org/10.33395/sinkron.v9i3.14907

D. Saumendra and J. Nayak, “Customer Segmentation via Data Mining Techniques: State-of-the-Art Review,” vol. 281, pp. 489–507, 2022, Accessed: Apr. 22, 2026. [Online]. Available: 10.1007/978-981-16-9447-9_38

D. A. Imanuel and G. Alfian, “Visualisasi Segmentasi Pelanggan Berdasarkan Atribut RFM Menggunakan Algoritma K-Means Untuk Memahami Karakteristik Pelanggan pada Toko Retail Online,” Jurnal Teknologi Informasi Dan Ilmu Komputer, vol. 12, no. 2, pp. 283–292, 2025, Accessed: Apr. 22, 2026. [Online]. Available: https://doi.org/10.25126/jtiik.2025128619

R. M. Fauzan and G. Alfian, “Segmentasi Pelanggan E-Commerce Menggunakan Fitur Recency, Frequency, Monetary (RFM) dan Algoritma Klasterisasi K-Means,” Jurnal Informatika Sunan Kalijaga, vol. 9, no. 3, 2024, Accessed: Apr. 22, 2026. [Online]. Available: https://doi.org/10.14421/jiska.2024.9.3.170-177

N. Nuraini, Y. Umaidah, and I. Maulana, “Penerapan K-Means Clustering Berbasis Model LRFM Untuk Segmentasi Pelanggan Pada PT Fazri Putra Mandiri,” Jurnal Ilmiah Wahana Pendidikan, vol. 12, no. 3, pp. 92–103, 2026, Accessed: Apr. 22, 2026. [Online]. Available: https://jurnal.peneliti.net/index.php/JIWP/article/view/12742

N. L. P. P. Dewi, I. N. Purnama, and N. W. Utami, “Penerapan Data Mining Untuk Clustering Penilaian Kinerja Dosen Menggunakan Algoritma K-Means (Studi Kasus: STMIK Primakara),” Jurnal Ilmiah Teknologi Informasi Asia, vol. 16, no. 2, pp. 105–112, 2022, Accessed: Apr. 22, 2026. [Online]. Available: 10.32815/jitika.v16i2.761

R. Alamsyah and N. Rokhman, “Preprocessing Algorithm for K-Means Anomaly Detection on Payment Logs,” Indonesian Journal of Computing and Cybernetics Systems, vol. 19, no. 2, 2025, Accessed: Apr. 22, 2026. [Online]. Available: https://doi.org/10.22146/ijccs.105290

F. Maulana, E. R. Nainggolan, and M. Rahmayu, “Pemanfaatan API Midtrans Dan RajaOngkir Dalam Sistem Penjualan Online,” Reputasi: Jurnal Rekayasa Perangkat Lunak, vol. 5, no. 1, pp. 77–87, 2024, Accessed: Apr. 22, 2026. [Online]. Available: https://doi.org/10.31294/reputasi.v5i1.3456

P. S. Mustafa, H. Gusdiyanto, A. M. N. K. & Victoria, and Nurika Dyah Lestariningsih., METODOLOGI PENELITIAN KUANTITATIF. Mojokerto: Insight Mediatama, 2020. Accessed: Aug. 18, 2026. [Online]. Available: https://repository.insightmediatama.co.id/books/article/view/21

D. Jollyta, W. & Ramdhan, and H. Mawengkang, Konsep Data Mining dan Penerapan. Yogyakarta: Deepublish Publisher, 2020. Accessed: Aug. 18, 2026. [Online]. Available: https://books.google.co.id/books?hl=id&lr=&id= vjhWEQAAQBAJ&oi=fnd&pg=PP1&dq=Konsep+Data+Mining+dan+Penerapan&ots=HsgIrnBTC1&sig=rUvty3qYXQgO_W1wq89eL2aRvh8&redir_esc=y#v=onepage&q=Konsep%20Data%20Mining%20dan%20Penerapan&f=false

G. A. Pradnyana, I. G. M. & Darmawiguna, and I. N. S. W. Wijaya, DATA MINING: Menemukan Pengetahuan dalam Data - Rajawali Pers. Depok, 2020. Accessed: Aug. 18, 2026. [Online]. Available: https://books.google.co.id/books?hl=id&lr=&id=7nBpEQAAQBAJ&oi=fnd&pg=PA51&dq=Data+Mining:+Menemukan+Pengetahuan+dalam+Data&ots=M86iZLgeHd&sig=0EGsHynH8NdRj_CNvfzBrkrzElE&redir_esc=y#v=onepage&q&f=false

N. Purwati, H. & Kurniawan, and S. Karnila, Data Mining, vol. 1. Purwokerto: Zahira Media Publisher, 2021. Accessed: Aug. 18, 2026. [Online]. Available: https://books.google.co.id/books?hl=id&lr=&id=Q3NHEAAAQBAJ&oi=fnd&pg= PR5&dq=Purwati,+N.,+Kurniawan,+H.,+%26+Karnila,+S.+(2021).+Data+Mining.+Purwokerto:+Zahira+Media+Publisher&ots=cN7eUJnHD_&sig=u45qttpaZkTTO8CEZunKnMuXsV0&redir_esc=y#v=onepage&q&f=false

M. & Arhami and M. Nasir, Data Mining: Algoritma dan Implementasi. Yogyakarta: Andi, 2020. Accessed: Aug. 18, 2026. [Online]. Available: https://books.google.co.id/books?hl=id&lr=&id=AtcCEAAAQBAJ&oi=fnd&pg=PP1&dq=Data+Mining:+Algoritma+dan+Implementasi&ots=hDpqGK4Wq7&sig=8O3GpLULNeOZVdSqu3G9Jq1cyoI&redir_esc=y#v=onepage&q=Data%20Mining%3A%20Algoritma%20dan%20Implementasi&f=false

A. G. Ramadhan, “DATA MINING UNTUK SEGMENTASI PELANGGAN DENGAN ALGORITMA K-MEANS: STUDI KASUS PADA DATA PELANGGAN DI TOKO RETAIL,” Syntax Literate: Jurnal Ilmiah Indonesia, vol. 8, no. 10, 2023, Accessed: Apr. 22, 2026. [Online]. Available: https://doi.org/10.36418/syntax-literate.v8i10

Efraim Turban, Carol Pollard, and Gregory Wood, Information Technology for Management: On-Demand Strategies for Performance, Growth and Sustainability (11th Edition), 11th ed. John Wiley & Sons, Inc, 2018. Accessed: Aug. 24, 2026. [Online]. Available: https://www.researchgate.net/publication/349702108_Information_Technology_for_Management_On-Demand_Strategies_for_Performance_Growth_and_Sustainability_11th_edition

Adzriel Yusak Noah Rumapea, Dian Pratiwi, and Syandra Sari, “Analisis Segmentasi Pelanggan Ritel Online Menggunakan K-Means Clustering Berdasarkan Model Recency, Frequency, Monetary (RFM),” Dec. 2024, Accessed: Sep. 17, 2026. [Online]. Available: https://ejournal.sisfokomtek.org/index.php/saintek/article/view/4607

H. Kishendrian, N. Hanum, C. Prianto, and W. I. Rahayu, “Penerapan Metode Clustering Dalam Segmentasi Pelanggan Perusahaan Logistik,” SINTECH (Science and Information Technology), no. 3, pp. 137–146, 2023, Accessed: Apr. 22, 2026. [Online]. Available: https://doi.org/10.31598/sintechjournal.v6i3.1432

B. Al Hamid and T. Wiradinata, “Customer Segmentation Strategy Using RFM Model and K-Means Clustering for Marketing Strategy Optimization in Retail Industry,” Journal of Applied Informatics and Computing, pp. 45–56, 2026, Accessed: Sep. 29, 2026. [Online]. Available: https://doi.org/10.30871/jaic.v10i2.12302

Rifat Naufal and Alamsyah, “Customer Segmentation Using RFM Analysis and the K-Means Clustering Algorithm to Support Data-Driven Marketing Strategies,” Information Technology Education Journal, vol. 5, no. 3, pp. 78–95, Aug. 2026, Accessed: Sep. 29, 2026. [Online]. Available: https://doi.org/10.59562/intec.v5i3.12821


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Analisis Segmentasi Pelanggan E-Commerce menggunakan Metode RFM dan K-MEANS Clustering untuk Strategi Bisnis

Dimensions Badge
Article History
Published: 2026-09-30
Abstract View: 70 times
PDF Download: 52 times
Section
Articles