The accumulation of unsold inventory (dead stock) poses a major challenge for CV Tiga Putri Cahyono Berjaya, leading to trapped working capital. This study aims to develop a web-based sales data analysis system combining a modified Recency, Frequency, and Monetary (RFM) analysis with the K-Means clustering algorithm to identify dead stock and categorize active product performance. Prior to clustering, a hybrid logic rule filtered products with a Recency exceeding 90 days directly into the dead stock category. The remaining active products underwent natural logarithm transformation and Min-Max scaling before being grouped into four clusters using K-Means. Testing on 611 product records identified 285 dead stock items, while the 326 active items were categorized into Very Slow (58 products), Slow (65 products), Normal (97 products), and Fast-Moving (106 products). Cluster validation using the Silhouette Coefficient yielded a score of 0.4255, indicating well-separated cluster structures. The Flask-based web application effectively automates sales performance evaluation and supports more accurate inventory management decisions.
Copyrights © 2027