Customer Segmentation and Purchasing Behaviour Analysis Using RFM and K-Means Clustering
Year: 2026
Type: article
Abstract: It is important for a retailer to understand their customers' purchasing behaviours to keep valuable customers and create effective marketing strategies. This paper analyses customer transactions from the Online Retail II dataset, which contains 1,048,575 records and eight variables, to understand what customers buy, how often they purchase and how much they spend. After removing missing, duplicate and cancelled records, customers were described using Recency, Frequency and Monetary (RFM) measures, and the log-transformed, standardized RFM values were grouped using K-Means clustering. The Elbow method and the Silhouette score, which reached 0.44 at K = 2, supported the choice of two clusters. Cluster 0 contains 2,301 active, high-value customers (average monetary value 6,431.31, frequency 12.62, recency 51.70 days), whereas Cluster 1 contains 3,559 lapsed, lower-value customers (606.48, 2.09 and 297.50 days respectively). Exploratory analysis also shows that the United Kingdom dominates the transactions and that purchasing activity peaks in November. Based on these segments, retention and win-back marketing strategies are proposed. The study shows that RFM-based clustering is a simple and interpretable approach to customer segmentation and business decision-making.
Author: Anushka Sharma
Language: English
Subfield: Marketing
Domain: Social Sciences
Open Access status: green
OpenAlex ID: W7238831822
FWCI:
Cites:
Cited by:
Related to:
