HomeToolsProduct analyticsRetention calculator
Retention calculator and cohort analysis
Paste a cohort table from your analytics tool or a spreadsheet — the calculator draws a retention heatmap, cohort curves and a weighted average curve, computes churn for every period and tells you where the curve flattens. There is a simple mode for a single cohort.
—
How to read it. A row is a cohort, a column is the period since joining. Deeper color means higher retention. The average is weighted by cohort size and, for each period, uses only cohorts that have reached it; churn is the share lost relative to the previous period in the same cohorts.
—
| Period | Active | Retention | Churn in period |
|---|
Everything is calculated in your browser — nothing you enter is sent anywhere.
How to use it
- Export your cohortsFrom product analytics or SQL: for each cohort (sign-up week or month), its size and the number of active users in each following period.
- Paste the tableCopy a range from Excel or Google Sheets — tabs are detected automatically. CSV and semicolons work too.
- Choose the periodDay, week or month only changes the labels. If the first value column is already period 1, switch the numbering.
- Look at the shapeWhat matters is not only period 1 retention but whether the average curve reaches a plateau, and at what level.
The retention rate formula
Retention is the share of a cohort still active after some time. A cohort is a group of users who joined at the same time: everyone who signed up in the same week or month. The classic formula for period N:
For example, of 1,200 users in the January cohort, 348 used the product in the third month after sign-up: month 3 retention = 348 / 1,200 = 29%.
N-day, unbounded and rolling retention
The single word “retention” hides several different metrics, and mixing them up is the main reason numbers do not compare. The definitions below match the documentation of the Amplitude and Mixpanel product analytics tools.
- N-day retention (classic, “exactly on day N”) — the share of the cohort active precisely on day (week, month) N. This is what the calculator computes. It is honest but noisy at daily granularity: a user who skipped day 7 is not counted even if they came on days 6 and 8.
- Unbounded retention (often called rolling retention) — the share of the cohort active on day N or later. The curve never rises and sits above the classic one, and recent values grow retroactively: a user who returns tomorrow raises the retention of all past days.
- Bracket retention — activity within chosen intervals such as “days 1–3”, “days 4–7”, “days 8–30”. Useful when the product’s natural usage rhythm is irregular.
If you paste unbounded retention data, the calculation is still correct, but you cannot compare it with other products’ classic retention.
Why a weighted average, and how to read the curve
A simple average of cohort percentages gives a small cohort the same weight as a large one. If a holiday month brought 200 random users with 10% retention and a normal month brought 5,000 with 40%, the simple average says 25%, although 2,020 of 5,200 users stayed — 38.8%. So the calculator uses a weighted curve:
“That have reached period N” matters: young cohorts could not have lived five months yet, and treating their empty cells as zeros would make the right side of the curve collapse artificially. The flip side: late points of the average rely on fewer cohorts and are noisier; the chart tooltip and the “Cohorts in average” row show how many cohorts stand behind each point.
Churn per period uses the same cohorts that reached period N — otherwise the changing cohort mix between neighboring periods would create false jumps.
Plateau
For a product that delivers value, the retention curve levels off after the initial drop: casual users are gone and the people who need the product remain. A flattening curve is widely seen as a sign the product has found its audience; if the curve keeps heading to zero, no amount of acquisition builds a lasting base.
The calculator reports as the plateau the first period after which the average curve loses no more than 2 pp and no more than 10% of its value per period, provided at least two more periods follow. It is a heuristic, not a standard definition: the thresholds suit monthly and weekly data, and on daily curves the plateau may be found later.
Common cohort analysis mistakes
- Activity = login. If any visit counts as active, retention includes users who opened a reminder email and left. Count as active those who performed the product’s key action.
- Incomplete periods. The current month is not over yet, so its values are understated. Leave such cells empty.
- Mixing classic and unbounded retention in one report or when comparing with competitors.
- Comparing with an “industry benchmark”. A messenger, an accounting tool and a travel app cannot be measured with one ruler: their natural usage rhythms differ. Compare your own cohorts with each other — is the plateau rising for newer cohorts?
- Conclusions from one small cohort. A cohort of 50 people swings by several percentage points by pure chance.
Retention is decided in the first days: users who never reach the first key action almost always leave. That is why better onboarding often lifts not only early retention but also the plateau level — see Product onboarding: what it is and how to set it up and How to increase user activation in SaaS.
Sources
- Amplitude Docs — Retention Analysis: N-day, unbounded and bracket retention (amplitude.com/docs).
- Mixpanel Docs — Retention: first-time and recurring retention, cohort calculation (docs.mixpanel.com).
- Croll A., Yoskovitz B. Lean Analytics: Use Data to Build a Better Startup Faster. O'Reilly Media, 2013 — cohort analysis and retention as a key product metric.
- Fader P. S., Hardie B. G. S. How to Project Customer Retention. Journal of Interactive Marketing, 21(1), 2007 — cohort heterogeneity and why average retention rises over time.
FAQ
How do I calculate retention rate?
Take a cohort — users who joined in the same period — and divide the number active in period N by the cohort size. For example, 348 active in month 3 out of 1,200 who signed up in January is a month 3 retention of 29%.
What is the difference between retention and churn?
Retention is the share of the original cohort that stayed, churn is the share that left. For a single period they add up to 100%. Churn per period in the calculator is relative to the previous period: what percentage of active users was lost in that step.
What is rolling retention?
Usually it means unbounded retention: the share of a cohort active on day N or any day after. It is higher than classic N-day retention and gets recalculated retroactively as users come back.
How do I do a cohort analysis in Excel or Google Sheets?
For each user, find the period of first visit (the cohort) and the periods of activity. Use a pivot table to count unique users by cohort and by period number since joining. Copy the result, with cohort size in the second column, and paste it into the calculator.
Why not just average the cohort percentages?
A simple average gives a small cohort the same weight as a large one and distorts the picture. Weighted retention — the sum of active users across cohorts divided by the sum of their sizes — reflects the real share of retained users.
What is a good retention rate?
There is no single benchmark: it depends on how often the product is naturally used, the segment and the definition of activity. It is more reliable to look at the shape of the curve — does it flatten — and whether newer cohorts plateau higher.
What if a cohort has not reached a period yet?
Leave the cell empty. The calculator will exclude that cohort from the average for that period. A zero instead of a blank would pull the right side of the average curve down.
More in Product analytics
- Funnel conversion calculator
Where do users drop off between steps, and which step is worth fixing first?
- Activation revenue calculator
How much revenue does a lift in activation rate bring?
- Time to value calculator
How long do new users take to reach the first value, and where do they drop off?
- Feature adoption calculator
How many active users actually adopt a feature, and how fast?
- LTV and CAC calculator
Does a customer earn back what it cost to acquire them?
- Trial-to-paid conversion calculator
How much revenue does a better trial-to-paid conversion add?
- SaaS quick ratio calculator
Is MRR growth efficient, or is churn eating the new revenue?
- NPS, CSAT and CES calculator
What is the Net Promoter Score of these answers, with a confidence interval?