Clew

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.

● Free, no sign-upUpdated:

Columns: cohort; cohort size; active users in period 0, 1, 2… The first row may be a header. An empty cell means the cohort has not reached that period yet. Write percentages with a “%” sign. An example with made-up numbers is filled in; in comma-separated data use a dot for decimals.
Period
First value column is period
Period 0 is the moment of joining the cohort, usually 100%.

—

 

Period 1 retention— 
Last period— 
Plateau— 
Period 1 churn— 
Cohort retention curves and the weighted averagehover a period
Cohort retention curves and the weighted average
individual cohortsaverage weighted by cohort sizeplateau
Retention heatmap by cohort, percent of cohort size

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.

Everything is calculated in your browser — nothing you enter is sent anywhere.

How to use it

  1. 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.
  2. Paste the tableCopy a range from Excel or Google Sheets — tabs are detected automatically. CSV and semicolons work too.
  3. Choose the periodDay, week or month only changes the labels. If the first value column is already period 1, switch the numbering.
  4. 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:

Retention(N) = active in period N from the cohort / cohort size × 100% Churn in period Churn(N) = 1 − active(N) / active(N − 1)

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:

R̄(N) = Σ active_i(N) / Σ size_i , summed over cohorts i that have reached period N

“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

  1. Amplitude Docs — Retention Analysis: N-day, unbounded and bracket retention (amplitude.com/docs).
  2. Mixpanel Docs — Retention: first-time and recurring retention, cohort calculation (docs.mixpanel.com).
  3. 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.
  4. 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

Open the collection →

Tours, tooltips and checklists whose impact shows up in the numbers.

Try Clew for freeHow it worksFree plan forever · no credit card

Product tours, popups and onboarding in the age of AI

7 patterns with step counts, copy rules and what to measure, what AI changes, and a checklist before you publish. PDF, 2 pages. What is inside →