Customer Segmentation and Retention Analysis Using RFM and K-Means Clustering: Evidence from Online Retail Data

Retaining existing customers is usually cheaper than acquiring new ones, yet many small online retailers do notknow which customers are drifting away. This study segments the customers of a UK-based online retailer usingRecency, Frequency and Monetary (RFM) measures and K-means clustering, and tracks their retention throughmonthly cohort analysis. The data are the public UCI Online Retail II dataset: 1,067,371 transaction linesrecorded between 1 December 2009 and 9 December 2011. After cleaning, 776,579 lines remained, covering36,594 invoices, 5,852 customers in 41 countries and £17.07 million in revenue. Four segments were selected(silhouette = 0.365): Champions, Promising, At-risk and Lost. Champions made up 19.0% of customers butproduced 71.6% of revenue. The At-risk segment, 25.1% of customers who had not bought for 208 days onaverage, held a further 18.5% of revenue. Only about one in five new customers bought again in the month aftertheir first purchase (average 21.0%), and retention stayed between 15% and 22% in most later months. Theresults show that a simple, low-cost analysis of transaction data can identify high-value and at-risk customers andtarget retention spending. The method needs only data that most small businesses already record. Keywords: customer segmentation; RFM analysis; K-means clustering; customer retention; cohort analysis;online retail; customer relationship management

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-28
DOI
https://doi.org/10.5281/zenodo.24635488
Primary Topic
Customer churn and segmentation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Customer Segmentation and Retention Analysis Using RFM and K-Means Clustering: Evidence from Online Retail Data

Nuradin Abdi
Zenodo (CERN European Organization for Nuclear Research)
Customer churn and segmentation
article

Customer Segmentation and Retention Analysis Using RFM and K-Means Clustering: Evidence from Online Retail Data

Nuradin Abdi
article en

Abstract

Retaining existing customers is usually cheaper than acquiring new ones, yet many small online retailers do notknow which customers are drifting away. This study segments the customers of a UK-based online retailer usingRecency, Frequency and Monetary (RFM) measures and K-means clustering, and tracks their retention throughmonthly cohort analysis. The data are the public UCI Online Retail II dataset: 1,067,371 transaction linesrecorded between 1 December 2009 and 9 December 2011. After cleaning, 776,579 lines remained, covering36,594 invoices, 5,852 customers in 41 countries and £17.07 million in revenue. Four segments were selected(silhouette = 0.365): Champions, Promising, At-risk and Lost. Champions made up 19.0% of customers butproduced 71.6% of revenue. The At-risk segment, 25.1% of customers who had not bought for 208 days onaverage, held a further 18.5% of revenue. Only about one in five new customers bought again in the month aftertheir first purchase (average 21.0%), and retention stayed between 15% and 22% in most later months. Theresults show that a simple, low-cost analysis of transaction data can identify high-value and at-risk customers andtarget retention spending. The method needs only data that most small businesses already record. Keywords: customer segmentation; RFM analysis; K-means clustering; customer retention; cohort analysis;online retail; customer relationship management

Zenodo (CERN European Organization for Nuclear Research)
Customer churn and segmentation
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon