中文 | English | 日本語 | 한국어 | Русский | Español | العربية | Français | Bahasa Indonesia | Tiếng Việt | Türkçe
Back to Home

User Repurchase Frequency Distribution

Analyze user consumption frequency distribution and monthly repurchase ratio trends

Please upload an Excel or CSV (UTF-8) file

User ID Column
Each row represents an order. Please specify a column that uniquely identifies users (e.g., member ID, phone number)
Order Date Column
Date when the order occurred, format: 2025-01-01 or 2025/1/1

🔍Data Filter (Optional)

After setting filter conditions, only data matching the conditions will be analyzed
正在分析数据,请稍候...
正在处理数据,可能需要几秒钟时间
About This Tool

I. Calculator Introduction

The User Repurchase Frequency Distribution Calculator is a specialized tool for analyzing user consumption frequency distribution and repurchase behavior. By counting the number of distinct order dates (distinct(order_date)) for each user, this tool helps you gain deep insights into user consumption habits, activity levels, and repurchase behavior characteristics, providing data support for developing user operation strategies and precision marketing.

Core Features

Application Scenarios

Target Customers

This calculator is suitable for all industries and scenarios that need to analyze user consumption frequency and repurchase behavior, especially the following types of customers:

Prerequisites: Your business needs to be able to provide data with user ID and order date, and the data should include users' historical order records.


II. Algorithm Introduction

2.1 Core Concepts

Consumption Frequency Definition

Consumption Frequency: The number of distinct order dates (count(distinct order_date)) in a user's historical orders, not the total number of orders.

For example:

Repurchase Definition

Repurchase: User's consumption frequency is greater than 1, i.e., count(distinct order_date) > 1.

For example:

Monthly Repurchase Rate Definition

Monthly Repurchase Rate: The proportion of users with repurchase behavior among all users in a specified month.

Monthly Repurchase Rate = Number of repurchase users in that month / Total number of users in that month

Where repurchase users are those with multiple distinct order dates in that month (distinct(order_date) > 1).

2.2 Calculation Logic

Step 1: Data Preprocessing

The system processes data as follows:

  1. Parse Order Dates: Parse order date strings into date objects
  2. Filter Invalid Data: Exclude records with missing user ID or order date
  3. Date Deduplication: Maintain an order date set (Set) for each user, automatically removing duplicate orders on the same date

Step 2: Calculate User Consumption Frequency

For each user:

  1. Collect all order dates for that user (using Set for automatic deduplication)
  2. Calculate the number of distinct order dates: distinct_order_dates = Set.size
  3. Use the number of distinct order dates as the user's consumption frequency

Step 3: Build Frequency Distribution Table

The system counts the number of users for each consumption frequency:

  1. Frequency Grouping: Group users by consumption frequency (1, 2, 3, 4, 5, 6 and above)
  2. Frequency Display Rules:
    • Frequencies 1-5: Display separately, one row per frequency
    • Frequency 6 and above: Combined and displayed as "6+"
  3. Calculate Proportions: The proportion of users in each frequency group relative to total users

Step 4: Calculate Overall Repurchase Rate

Overall Repurchase Rate:

Overall Repurchase Rate = Number of users with consumption frequency > 1 / Total number of users

Step 5: Calculate Monthly Repurchase Rate Trends

The system calculates repurchase rates grouped by month:

  1. Group by Month: Group all orders by month (YYYY-MM format)
  2. Calculate Monthly Repurchase Rate: For each month
    • Count all users with orders in that month
    • Identify users with multiple distinct order dates in that month (repurchase users)
    • Calculate repurchase rate = Number of repurchase users / Total number of users in that month
  3. Time Sorting: Sort by month chronologically to generate trend data

Step 6: Result Display

  1. Overall Metrics:
    • Overall Repurchase Rate: The proportion of users with repurchase behavior among all users
  2. Frequency Distribution Table:
    • Displays user counts and proportions for different consumption frequencies (1, 2, 3, 4, 5, 6+)
    • Includes a total row showing total user count and total proportion (100%)
  3. Monthly Repurchase Rate Trend Chart:
    • Displays repurchase rate trends by month
    • Facilitates observation of temporal patterns and trends in repurchase rates

2.3 Data Filtering Rules


III. Usage Instructions and Notes

3.1 Data Preparation

Required Fields

Before importing data, please ensure your data file contains the following two fields:

  1. User ID (user_id)
    • Description: Field that uniquely identifies users (user ID or phone number)
    • Format requirements: Text or numbers are acceptable
    • Examples: U001, 12345, 13800138000
  2. Order Date (order_date)
    • Description: Date when the user placed the order
    • Format requirements: Supports multiple date formats (such as YYYY-MM-DD, YYYY/MM/DD, MM/DD/YYYY, etc.)
    • Notes: The system automatically recognizes common date formats; it is recommended to use standard date formats to ensure accurate parsing

Data Format Requirements

3.2 Field Mapping

After uploading data, the system will ask you to map columns in your data file to the following fields:

3.3 Data Filtering (Optional)

The system supports filtering order dates:

3.4 Result Interpretation

Metric Description

Frequency Distribution Analysis

Trend Analysis

3.5 Notes

⚠️ Important Notes

  1. Frequency Calculation Based on Distinct Order Dates:
    • Consumption frequency is calculated based on distinct(order_date), i.e., the number of distinct order dates
    • Multiple orders on the same day count as only 1 frequency and do not increase the user's consumption frequency
    • Example: A user placing 3 orders on the same day still has a consumption frequency of 1; a user placing orders on 3 different days has a consumption frequency of 3
  2. Repurchase Definition:
    • Repurchase means a user has multiple distinct order dates (distinct(order_date) > 1)
    • Multiple orders on the same day do not count as repurchase; only orders on different dates count as repurchase
    • Recommendation: Understanding this logic helps correctly interpret analysis results
  3. Monthly Repurchase Rate Calculation:
    • Monthly repurchase rate is calculated by month, with each month's repurchase rate calculated independently
    • Users with multiple distinct order dates in a month are counted as repurchase users for that month
    • If a month has only a small amount of data, the repurchase rate may not be accurate enough; it is recommended to analyze in combination with data volume
  4. Data Completeness:
    • Records missing user ID or order date are automatically excluded
    • Order dates that cannot be parsed are excluded, which may affect the accuracy of frequency calculations
    • Recommendation: During data preparation, ensure key fields are complete and formatted correctly

💡 Usage Recommendations

  1. Data Quality Check:
    • Check data completeness before uploading, ensure user ID and order date fields are not missing
    • Verify date formats are correct to avoid date parsing errors
    • Check for abnormal data (such as future dates, obviously incorrect dates)
  2. Analysis Time Range:
    • It is recommended to include sufficient historical data (at least 3-6 months) to accurately calculate user consumption frequency
    • If the data volume is large, you can first analyze the last 1-2 years of data to observe short-term trends
    • Then extend to longer historical data to observe long-term trends and seasonal patterns
  3. Result Validation:
    • Compare frequency distributions across different periods to identify abnormal changes
    • Combine with business activity times to analyze reasons for repurchase rate changes
    • Verify that frequency distribution meets business expectations; if abnormal, further investigation is needed
  4. Strategy Optimization:
    • If overall repurchase rate is low, it is recommended to strengthen user outreach, push coupons or activity information to improve user repurchase willingness
    • If low-frequency users (frequency 1) account for too high a proportion, it is recommended to analyze churn reasons and develop user activation strategies
    • If high-frequency users (frequency 6+) account for too low a proportion, it is recommended to optimize product and service quality to improve user satisfaction
    • Adjust marketing activity rhythm and strategies based on monthly repurchase rate trends

3.6 Frequently Asked Questions

Q1: Why are some users in my data not counted?

A: Possible reasons include:

Q2: How is consumption frequency calculated?

A: Consumption frequency is calculated based on the number of distinct order dates, i.e., count(distinct order_date). For example, a user placing orders on 3 different days has a consumption frequency of 3; a user placing multiple orders on the same day still has a consumption frequency of 1.

Q3: If a user places multiple orders on the same day, does it count as repurchase?

A: No. The definition of repurchase is that a user has multiple distinct order dates (distinct(order_date) > 1). Multiple orders on the same day count as only 1 order date, so it does not count as repurchase.

Q4: How is monthly repurchase rate calculated?

A: Monthly repurchase rate is calculated by month. For each month, the system counts all users with orders in that month, then identifies users with multiple distinct order dates in that month (repurchase users), and finally calculates repurchase rate = Number of repurchase users / Total number of users in that month.

Q5: What does "6+" mean in the frequency distribution table?

A: "6+" represents users with consumption frequency of 6 or more. The system combines all users with frequency ≥ 6 and displays them as "6+" to simplify table presentation. If you need to view more detailed frequency distribution, you can check the raw data.

Q6: How to improve user repurchase rate?

A: It is recommended to start from the following aspects:


IV. Summary

The User Repurchase Frequency Distribution Calculator helps you fully understand user consumption frequency distribution and repurchase behavior through scientific algorithms and intuitive visualizations. Proper use of this tool can:

If you have any questions or need technical support, please contact the system administrator.