Customers & retention

Repeat purchase rate

Repeat purchase rate is the share of customers who ordered more than once in a period. It shows whether first-time buyers come back.

Formula

Repeat purchase rate=Customers with 2 or more ordersCustomers with at least 1 order× 100%
Customers with 2 or more orders
Customers who placed at least two valid orders in the period.
Customers with at least 1 order
Every customer who bought in the period.

Try it with your numbers

Change any value and the result updates. Nothing you type leaves your browser.

Repeat purchase rate—
Full calculator: LTV & CAC payback calculator

Worked example

In 2026, 3,000 customers placed at least one order and 780 of them ordered again. Repeat purchase rate = 780 ÷ 3,000 = 26%.

How to read it

Compare first-order cohorts and acquisition channels: customers from some channels come back far more often. Track the time to second order too; it tells you when to send the first win-back message.

How to calculate repeat purchase rate in SQL, Power BI and Excel

Copy, rename the tables and columns to match yours, and run. The SQL is written for PostgreSQL and works with small changes in BigQuery, Snowflake or SQL Server.

WITH per_customer AS (
  SELECT customer_id, COUNT(*) AS orders
  FROM orders
  WHERE order_date >= date '2026-01-01' AND order_date < date '2027-01-01'
    AND status NOT IN ('cancelled', 'refunded')
  GROUP BY customer_id
)
SELECT COUNT(*)                                AS customers,
       COUNT(*) FILTER (WHERE orders >= 2)     AS repeat_customers,
       ROUND(100.0 * COUNT(*) FILTER (WHERE orders >= 2) / COUNT(*), 1) AS repeat_purchase_rate_pct
FROM per_customer;

Excel: Column C holds the number of orders per customer (one row per customer).

Common mistakes

  • Choosing a period shorter than your buying cycle. If people reorder every 3 months, a 30-day window will always look bad.
  • Counting guest checkouts as new customers every time. Match them by email or phone first.
  • Counting one order split into several shipments as several orders.

Questions people ask

What is the difference between repeat purchase rate and retention rate?

Repeat purchase rate looks at orders within one period. Retention follows a group of customers over time and asks how many are still buying months later.

How can I raise repeat purchase rate?

Find the moment customers usually reorder, then reach the ones who have not by then. Our case study on repeat purchases shows how an online store did this.

Want repeat purchase rate measured the same way everywhere?

We define it with your team, build it into your data and dashboards, and keep it right. See Customer segmentation & lifetime value, or start with a two-week Data Health Check.