Analytics · Cohort analysis

Cohort retention analyser

Drop in a CSV of ids, signup dates and activity dates. You get a retention matrix, a weighted average curve, and the one number that matters: the point where the curve stops falling.

Parsed and computed in your browser. Nothing is uploaded.

No file loaded

Drop a CSV here, or

One column of ids, one signup date, one activity date. Everything is computed in this tab — the file never leaves the browser.

Load a file to see the retention matrix. Your data is not uploaded, stored, or sent anywhere.

A retention matrix answers two different questions

Every cohort table looks the same: cohorts as rows, periods since signup as columns, and a percentage in each cell. It is read in two directions, and the two readings mean different things — which is why a single "retention is 34%" summary is close to useless.

Across a row

How fast one group of users decays. The shape of that row is a property of the product and the onboarding: a sharp drop in period 1 followed by a flat tail is normal, and the height of the tail is what separates a leaky product from a durable one.

Down a column

Whether newer groups are doing better at the same age. This is the reading that tells you whether the changes you shipped worked. It is also the reading most often over-interpreted: each row is a different calendar period, so a column trend can be seasonality, a pricing change, or a shift in acquisition channel rather than product improvement.

Three decisions that decide whether the table is honest

The arithmetic of a cohort table is trivial. What separates a useful one from a misleading one is how it handles three edge cases, all of which this tool resolves in a fixed, stated way.

1. Immature cohorts

A cohort that joined last week cannot have a 12-month retention figure. It is unknown, not zero. Filling it with zero drags the average down and produces the familiar "retention is collapsing" chart where only the right-hand edge is collapsing. Immature cells are shown as a dot and excluded from every average.

2. Weighted, not averaged

The average row is a weighted mean by cohort size. Taking the plain mean of the percentages lets a 20-user cohort outweigh a 2,000-user cohort, which is how small-sample noise ends up driving the headline number.

3. Users, not rows

Retention is distinct entities per period. A user with nine logins in one month is one retained user, not nine. If your file has no id column the tool says so plainly, because then it is counting events and the numbers are not retention in the usual sense.

The number to ignore first

Cohorts smaller than about 50 users produce retention figures that swing by tens of percentage points on a single user. Look at the cohort size column before believing any cell, and ignore the top of the table if your newest cohorts are still small.

How to use it

  1. Export one row per activity. Columns: id, signup date, activity date. Do not pre-aggregate — the tool deduplicates per period, and a pre-pivoted table throws away the information it needs to do that.
  2. Load the file and check the mapping. The date columns and the id column are detected, but detection is a guess about your export. Confirm them; if the dates look wrong, set the format explicitly under Date format.
  3. Pick the period length that matches the product. Monthly for subscription and B2B, weekly for products used several times a week, daily only for daily habits.
  4. Read the flattening point, then read a column. The flattening point tells you where churn stops being about onboarding. Then compare the newest mature cohorts against the oldest to see whether anything you changed actually moved it.

What it will not tell you

Frequently asked questions

What should the CSV look like?

Three columns are enough: an id, a signup date and an activity date. One row per activity, so a user who logged in three times appears three times with the same signup date. The column names do not matter — you map them after loading — but the dates do: 2026-03-07, 03/07/2026 and 07.03.2026 are all understood, chosen once per column rather than per cell.

I only have an event log, with no signup column. Can I still use it?

Yes. Switch "Cohorts from" to First activity. The tool finds each id’s earliest activity, treats that period as the cohort, and then builds the matrix normally. This is the only honest option when the signup event was never captured — and it is why the setting exists rather than being inferred silently.

Why is the last column full of dots?

Because those cohorts have not existed long enough to reach that period. A dot means unknown, not zero. Filling those cells with zero is the single most common way a retention chart lies: the newest cohorts always look catastrophic, and the average turns down at the right-hand edge for purely arithmetic reasons.

Should I use months, weeks or days?

Match the period to the natural rhythm of the product. Daily retention only makes sense for something used daily (a game, a messaging app); for most SaaS and subscription products monthly is the readable unit, and weekly is a good compromise for products used several times a week. Changing the period length changes the numbers, not just the labels — a user active once in a month is "retained" under monthly and "churned" under daily.

Why is period 0 not 100%?

Because period 0 counts activity inside the signup period itself, and a user can sign up without doing anything else. If every user has at least one activity in their signup month, period 0 is exactly 100%; if a signup is recorded but no qualifying activity follows within that month, it will be lower. When you derive cohorts from first activity, period 0 is 100% by construction.

What does “never returned” mean?

It is 100% minus the period-1 retention, i.e. the share of users with no activity at all in the period after the one they joined. It is the single most actionable number in the table: those users never experienced the product a second time, so no amount of late-stage retention work will reach them.

How is this different from the retention chart in my analytics tool?

Most product analytics tools define "active" from instrumentation you may not control, and compute the matrix server-side where you cannot check the arithmetic. Here the definition is visible: distinct ids per cell, dates bucketed in UTC, immature cells excluded from averages, and every excluded row reported. If the numbers disagree with your vendor, the difference is almost always the definition of active or the treatment of the current period.

Is my file uploaded anywhere?

No. The browser reads the file, parses it, computes the matrix and renders it. There is no upload endpoint, no analytics on the contents, and no server-side copy. You can load the page, disconnect from the network and the tool keeps working.

Method

Step Rule used here
Day number Dates are converted to whole days since 1970-01-01 UTC. Timezone offsets are ignored; a timestamp is treated as a calendar date.
Buckets Day = the day itself. Week = weeks starting Monday (floor((day + 3) / 7)). Month = calendar month.
Period index Activity bucket minus cohort bucket. Negative values (activity before signup) are excluded and reported, never counted as a negative period.
Cell value Distinct ids with at least one activity in that period, divided by the cohort size (distinct ids in the cohort).
Maturity A cell is filled only if cohort bucket + period ≤ last observed bucket. Otherwise it is unknown.
Average Σ activity in period p ÷ Σ cohort sizes, over mature cohorts only. Not a mean of percentages.
Flattening point The first period p ≥ 2 where the average falls by less than 4% relative to p−1 and is still at least 1%.

The full list of formulas used across the site — including the statistics behind the A/B test calculator and the scoring behind the dataset quality scanner — is on the methodology page.