All Tools

Cohort Retention Calculator

Visualize customer retention patterns with an interactive cohort triangle and LTV projections

What is cohort retention analysis?

Cohort retention analysis groups customers by the month of their first purchase and tracks how many come back in each following month. Reading the resulting retention table, or cohort triangle, shows how quickly customers churn, which cohorts behave differently, and how much repeat revenue you can rely on.

Input Your Numbers

Cohort Retention Calculator

Monthly Cohort Data

Month 1
Month 2
Month 3
Month 4
Month 5
Month 6

The formula

How cohort retention rate and cohort LTV are calculated

Cohort LTV = AOV x (1 + P1 + P2 + P3), with CAC payback (months) = CAC / (AOV x average P1)

A cohort retention analysis starts with one retention rate per period: the customers from a cohort who bought again in that period, divided by the customers in the cohort. This calculator adds those rates to the first order (the 1 stands for 100% at acquisition) and multiplies by average order value to get expected revenue per acquired customer over four periods.

Cohort
All customers whose first purchase fell in the same month. Retention cohorts keep each month's buyers separate so one big month cannot hide a weak one.
P0
The acquisition period. It is always 100% because every customer in the cohort made their first purchase.
P1, P2, P3
The cohort retention rate in the first, second and third month after acquisition: customers who bought again in that month divided by new customers in the cohort. You enter these as percentages.
AOV
Average order value, assumed to be the same for first and repeat orders. If repeat orders are larger or smaller than first orders, the result will be off by that difference.
Average P1
The mean of the P1 rates across every cohort you enter. It drives the CAC payback figure.
CAC
Customer acquisition cost. Payback divides it by the revenue a customer brings in per month at the average P1 rate, so it is only a rough guide to how fast acquisition spend returns.
  • Each period rate is a share of the original cohort, not of the previous period. A cohort with P1 of 20% and P2 of 10% saw its repurchase rate halve between month 1 and month 2, measured against the same starting group. That does not mean half of the month 1 buyers left: the month 2 buyers may be different customers from the same cohort.
  • Cohort LTV here covers four periods only (acquisition plus three months). It is revenue, not profit, so it does not subtract cost of goods, shipping or fees.
  • CAC payback is shown as N/A when CAC is zero or when average P1 is zero, because no repeat revenue means the formula has nothing to divide by.
  • The Projected 12-Month LTV in the premium analysis uses a different method: it compounds your average P1 rate across 12 periods as a decay curve rather than adding your three entered rates.

Worked examples

Three worked cohort retention analysis examples

Each example uses an illustrative store, not real data. The first reads a single cohort, the second compares retention cohorts across three months, and the third shows what a low cohort retention rate does to payback.

Example 1

Reading a single cohort

An example store acquired 400 new customers in January. Its average order value is $85 and its CAC is $45. In the following months, 22%, 14% and 10% of the cohort bought again.

Inputs

New customers
400
AOV
$85.00
CAC
$45.00
P1 / P2 / P3
22% / 14% / 10%

Working

  1. Customers returning in month 1: 400 x 22% = 88
  2. Customers returning in month 2: 400 x 14% = 56
  3. Customers returning in month 3: 400 x 10% = 40
  4. Cohort LTV: $85.00 x (1 + 0.22 + 0.14 + 0.10) = $85.00 x 1.46 = $124.10
  5. CAC payback: $45.00 / ($85.00 x 0.22) = $45.00 / $18.70 = 2.4 months

Cohort LTV

$124.10

Each acquired customer is worth about $124.10 in revenue over four periods, against a $45.00 acquisition cost. At a 22% month 1 repeat rate, repeat purchases alone return the CAC in roughly 2.4 months, though that is revenue and not profit.

Example 2

Comparing three retention cohorts

The same example store enters January, February and March as separate retention cohorts, with AOV $85 and CAC $45. Month 1 retention is improving, which is exactly what a cohort view is built to show.

Inputs

January P1 / P2 / P3
18% / 11% / 8%
February P1 / P2 / P3
20% / 12% / 9%
March P1 / P2 / P3
25% / 15% / 10%
AOV
$85.00

Working

  1. January LTV: $85.00 x (1 + 0.18 + 0.11 + 0.08) = $85.00 x 1.37 = $116.45
  2. February LTV: $85.00 x (1 + 0.20 + 0.12 + 0.09) = $85.00 x 1.41 = $119.85
  3. March LTV: $85.00 x (1 + 0.25 + 0.15 + 0.10) = $85.00 x 1.50 = $127.50
  4. Average cohort LTV: ($116.45 + $119.85 + $127.50) / 3 = $363.80 / 3 = $121.27
  5. Average P1: (18% + 20% + 25%) / 3 = 21%
  6. CAC payback: $45.00 / ($85.00 x 0.21) = $45.00 / $17.85 = 2.5 months

Average cohort LTV

$121.27

Blending the three months hides the trend: March retains better than January at every period, and its LTV is $11.05 higher per customer. Reading down a column of the cohort triangle is how you spot that, and it is the point of tracking retention cohorts instead of one overall retention figure.

Example 3

A low cohort retention rate

A second example store sells a lower-priced product that people rarely reorder. AOV is $60, CAC is $50, and only 6%, 3% and 2% of a 500-customer cohort buy again.

Inputs

New customers
500
AOV
$60.00
CAC
$50.00
P1 / P2 / P3
6% / 3% / 2%

Working

  1. Customers returning: 500 x 6% = 30 in month 1, 500 x 3% = 15 in month 2, 500 x 2% = 10 in month 3
  2. Cohort LTV: $60.00 x (1 + 0.06 + 0.03 + 0.02) = $60.00 x 1.11 = $66.60
  3. CAC payback: $50.00 / ($60.00 x 0.06) = $50.00 / $3.60 = 13.9 months

CAC payback

13.9 months

Almost all of this store's value sits in the first order: repeat purchases add just $6.60 per customer over three months. Payback measured on repeat revenue alone is over a year, so the first order has to cover most of the acquisition cost, or retention has to improve.

Common Questions

Frequently Asked Questions

What is cohort retention analysis in ecommerce?

Cohort retention analysis groups customers by the month they first purchased and then tracks what percentage return to buy again in subsequent months. Unlike aggregate retention rates that blend all customers together, cohort analysis isolates each acquisition group so you can see whether your product experience, email flows, and post-purchase journey are genuinely improving over time - or whether growth in new customers is masking declining loyalty.

How do I calculate customer retention rate?

The basic formula is: Retention Rate = (Customers who purchased again in period N) divided by (Customers in the original cohort), expressed as a percentage. For example, if 100 customers bought in January and 22 of them purchased again in February, the P1 retention rate for that cohort is 22%. Tracking this across multiple periods and multiple cohorts gives you the cohort triangle used in this calculator.

What is a good repeat purchase rate for ecommerce?

It depends heavily on product category and repurchase cycle. For consumables (supplements, coffee, skincare), a P1 rate of 30 to 50% is achievable. For mid-cycle products like apparel or homewares, 15 to 25% is healthy. For high-consideration purchases with longer cycles (furniture, electronics), 8 to 15% P1 is reasonable. More important than the absolute number is the decay curve - how quickly retention falls from P1 to P2 to P3. A slow, gradual decay indicates genuine brand loyalty, while a steep drop signals one-time buyers.

How do I read a cohort retention triangle?

A cohort triangle is a grid where rows represent acquisition cohorts (e.g. January buyers, February buyers) and columns represent periods after acquisition (P0 = acquisition month, P1 = first month after, P2 = second month after). The P0 column is always 100% since it counts every customer at the point of acquisition. Reading across a row shows how a single cohort ages and decays. Reading down a column shows whether the same post-purchase period is improving or declining across consecutive cohorts. The heatmap colours help you spot patterns instantly - darker teal means stronger retention.

Why is customer retention more important than acquisition?

Acquiring a new customer typically costs 5 to 7 times more than retaining an existing one. Beyond the cost advantage, retained customers have higher average order values over time, generate word-of-mouth referrals, and have lower support costs because they understand your product. Most importantly, retention compounds: a customer retained at P1 has a significantly higher probability of returning at P2 and P3. A one percentage point improvement in retention can improve LTV by 10 to 25% depending on your baseline and repurchase cycle - an effect no single acquisition campaign can replicate consistently.

How does retention rate affect customer lifetime value?

Retention rate is the primary driver of LTV because it determines how many orders a customer places over their lifetime. LTV is essentially the sum of expected revenue across all future periods, discounted for the probability that the customer churns at each step. When you improve the P1 retention rate, every downstream period also benefits because each returning customer has a fresh opportunity to return again. The projected 12-month LTV in this calculator uses a decay curve based on your P1 rate to show this compounding effect - even modest retention improvements produce meaningful LTV gains when projected across 12 months.

How do you do a cohort retention analysis step by step?

First, group customers into cohorts by the month of their first order. Second, for each cohort, count how many customers bought again in month 1, month 2 and month 3 after that first order. Third, divide each count by the number of customers in the cohort to get a retention rate per period, for example 88 returning customers out of 400 is 22%. Fourth, lay the cohorts out as rows and the periods as columns to form a cohort triangle. Finally, read across a row to see how one cohort ages, and down a column to see whether the same period is improving from one cohort to the next. This calculator does steps three to five for you from the rates you enter.

What is the difference between cohort retention and a cohort retention rate?

Cohort retention is the method: following a group of customers acquired in the same period over time. A cohort retention rate is the number it produces for one cell of the table: the share of that cohort who bought again in a given period. In this calculator, P1, P2 and P3 are cohort retention rates for months 1, 2 and 3, and the average P1 across your cohorts is the single figure used for CAC payback.