Chapter 1 — Anatomy of Metrics

Cohort Table: How to Read It

15 min

One cohort is a row. Many cohorts make a table

In the previous lesson, we calculated for one . A single cohort gives you one row of numbers. Stack the product's cohorts one below another, and you get a cohort table, one of the main tools analysts use to study retention.

In this course, we'll read it like this:

  • row = a cohort, meaning everyone who first arrived on the same day or during the same week;
  • column = the cohort's age: D0, D1, D7, D14, D30;
  • cell = how many people from that cohort were active at that age, either as an absolute count or as a percentage of the cohort size.

Here's a fragment from Kotomarket's black box. The cohorts are one week apart, and today is Mar 14. First, look at the absolute counts:

cohortsize (D0)D1D7D14D30
Feb 11 20045616812084
Feb 81 40051818212684
Feb 151 300468156104—
Feb 221 500525165105—
Mar 11 600528176——
Mar 81 500480———

You can't compare retention directly from absolute counts because the cohorts are different sizes. For example, 456 active users out of 1 200 is 38%. Cohort tables are therefore usually converted to percentages: divide each cell by the size of its own cohort, using the same fixed denominator from the previous lesson.

cohortsizeD1D7D14D30
Feb 11 20038%14%10%7%
Feb 81 40037%13%9%6%
Feb 151 30036%12%8%—
Feb 221 50035%11%7%—
Mar 11 60033%11%——
Mar 81 50032%———

Keep the cohort-size column. Without it, the percentages lack context, just as they did in the lesson on denominators.

A cadet stacks glowing cohort strips one below another on an archive table while a robot cat rests a paw on the top strip.
A row is a cohort, and a column is its age: stack the cohorts together, and they form a table where retention is visible at a glance.
Retention cohort tablerow = signup cohort, column = cohort agecohortsizeD0D1D7D30Mar 11000100%38%19%9%Mar 2920100%36%18%—Mar 31100100%31%——not reached yet ≠ zerogrey cells must not be averaged together with the rest
Rows are cohorts, columns are ages. The lower-right corner is empty because younger cohorts haven't reached the later ages yet.

Absolute time vs. cohort age

The most important idea in this lesson is that a table contains two different kinds of time, and they're easy to confuse.

The columns define cohort age. Moving right across a row means following one group through its lifetime: D0, then D1, D7, D14, and D30.

Absolute time (the calendar) is the date when the event you're observing happened. You get it by adding the cohort's start date to its age. Cohorts lower in the table started later, but no single calendar date belongs to one particular row or column. In a full table with evenly spaced cohorts and ages, the same date runs along a diagonal. In a shortened table, some points on that diagonal may be missing.

Check Mar 1 in an imaginary non-leap year. For the Mar 1 cohort, that's D0. For the Feb 22 cohort, it's D7 because Feb 22 + 7 days = Mar 1. For the Feb 15 cohort, it's D14; for Feb 8, D21; and for Feb 1, D28. Our layout includes only D0, D1, D7, D14, and D30, so the D21 and D28 dates aren't shown:

             D0    D1    D7   D14   D30
Feb 1         ·     ·     ·     ·     ·        ↖
Feb 8         ·     ·     ·     ·     ·         ↖  diagonal =
Feb 15        ·     ·     ·    [Mar 1] ·         ↖  one calendar
Feb 22        ·     ·   [Mar 1] ·     ·          ↖  date
Mar 1      [Mar 1]  ·     ·     ·     ·           ↖

Why does this matter? Short-lived events that affect all active users on a particular date, such as a tracking failure, a holiday, or a one-day promotion, leave a trace along the calendar diagonal. If event collection broke on Mar 1, D0 for the Mar 1 cohort, D7 for the Feb 22 cohort, D14 for the Feb 15 cohort, and other cells from that date that aren't shown in this shortened table will all dip. If you look only at the D7 column, it may seem like “one strange cohort,” even though the cause affected everyone and lasted only one day.

Changes that apply from a user's first visit onward, such as a new onboarding flow or a new price only for newcomers, show up differently: they affect several ages in newer cohorts, appearing across the lower rows as those cohorts mature. A release that affects all active users on one date is instead a calendar effect. Distinguishing these two patterns is a major part of reading cohort tables well.

Why the table is triangular

Look at the shape: the filled part of the table forms a triangle, while the lower-right corner is empty. This isn't missing data or an export error.

The reason is the same as in the previous lesson: young haven't reached the later ages yet. Today is Mar 14, so:

  • for the Mar 8 cohort, only D1 (Mar 9) is known. D7 arrives on Mar 15, tomorrow;
  • for the Mar 1 cohort, D1 and D7 are known, while D14 falls on Mar 15;
  • for the Feb 15 cohort, D30 falls on Mar 16, two days from now.

The farther down the table you go, the shorter the filled part of each row becomes. That's why the table forms a triangle, and it gives us this rule:

Compare values in a column only across rows where that cell is filled. An empty cell means “not known yet,” not “zero.”

A common mistake when building this table for the first time is to calculate “average D30 across all cohorts.” Empty cells either get turned into zeros, which drags the average down and creates a drop that doesn't exist, or they are simply excluded. In the second case, the average describes only mature cohorts. That's a valid calculation, but it can't be presented as a metric for all cohorts because D30 is still unknown for the newer ones.

The opposite bias matters too: if you look only at mature cohorts, you miss the freshest data and may spot a problem a month later than necessary. In practice, read early marks (D1, D7) across every cohort that has already reached them, and late marks (D30) only across mature cohorts. D1 and D7 mature quickly, so they are the first to show when newer generations start performing worse.

How to read it: across a row, down a column

A table has two basic reading directions, and each answers a different question.

Across a row — the life of one cohort. 38% → 14% → 10% → 7%. You can see the shape of the curve: a sharp drop between D1 and D7, followed by a slower decline. Most products behave this way: many newcomers leave in the first few days, while users who make it to the second week leave more slowly. A retention plateau is a stretch where the value barely falls. If later points confirm that plateau, the product has a stable core of users. If the curve keeps falling toward zero, it doesn't. One D30 point alone isn't enough to establish a plateau.

Down a column — comparing generations at the same age. This is especially useful because it compares like with like: for example, every cohort at exactly seven days old.

D1 column:  38% → 37% → 36% → 35% → 33% → 32%
D7 column:  14% → 13% → 12% → 11% → 11%

D1 shows six values declining in sequence. At D7, the metric falls from 14% to 11% across the first four available cohorts, then stays at 11%. Together, these sequences look more like a worsening trend than a one-off jump, but they still don't prove that random variation has been ruled out. The signal needs further investigation. At the same time, the last cohort is larger than the first (1 200 → 1 500), so more people are arriving while a smaller share of them remains.

Entry No. 7 in L.'s log: “Marketing is celebrating DAU growth. I'm looking at D7 for the new cohorts: 14, 13, 12, 11. We're pouring water into a leaky bucket and praising the faucet.”

Reading a heatmap in one minute

Cohort tables are often color-coded. On a common single-color scale, darker cells represent larger values and lighter cells represent smaller ones. This type of coloring is called a heatmap, and patterns are often easier to spot by color than by reading every number. For a first pass:

  1. Check the denominators — the cohort-size column. In a row with 40 people, one user changes the metric by 2.5 percentage points, so its values are much noisier than those of a cohort with thousands of users.
  2. Look at the row shape — where is the sharp drop, and where is the plateau?
  3. Scan down the columns — are newer generations improving or getting worse?
  4. Find anomalies. If one row stands out, check what happened to that particular group: did the traffic source change, or was there a promotion? A standout diagonal in a table with evenly spaced cohorts and ages points to an event in one calendar period, such as a release or an outage. In a table with uneven marks such as D1, D7, D14, and D30, inspect the dates of individual cells for calendar effects because there may be no straight diagonal. If one column stands out, look for a cause tied to that age, such as a product mechanic or the metric calculation. A calendar effect is also possible if that age regularly falls, for example, on a weekend.
  5. Don't interpret the lower-right corner as a bad result — those cells are empty because the cohorts haven't reached the required age yet.
Build one cohort-table row by hand: convert the Feb 1 cohort's absolute counts into percentages. Every formula uses the same denominator — the cohort size.
python
Practice: write the code
Convert the Feb 8 cohort row to percentages: the cohort size is 1 400, with 518 active on D1, 182 on D7, and 84 on D30. Fill in d1_pct, d7_pct, and d30_pct.
python
Practice: write the code
Compare two generations using the D7 column. Feb 1 cohort: 168 out of 1 200. Mar 1 cohort: 176 out of 1 600. Calculate d7_feb and d7_mar as percentages, the difference in percentage points diff_pp, and the relative change diff_rel as a percentage. Notice that March looks better in absolute counts.
python
Check yourself
One diagonal in a cohort table has dropped: a young cohort has a poor D0, an older cohort has a poor D7, and the oldest has a poor D14. What does this most likely mean?
Check yourself
D1 values for six consecutive cohorts are 38%, 37%, 36%, 35%, 33%, 32%. At the same time, the last cohort is larger than the first: 1 500 vs. 1 200. What does this mean?
Key takeaways
  • rows in a table are cohorts, columns are ages (D0, D1, D7, D30), and each cell is either the number of active users or their share of that cohort's size;
  • the table contains two kinds of time: age runs across the columns, while in a full table with evenly spaced intervals, calendar dates run along diagonals;
  • the table is triangular because young cohorts haven't reached the later ages yet; an empty cell is not zero;
  • reading a row from left to right shows the shape of the curve; reading a column from top to bottom compares generations at the same age;
  • an anomaly in one row points to something specific about that cohort, an anomaly along a diagonal points to a calendar-day event, and an anomaly in one column points to a systematic effect at that age or an error in the metric calculation.

Next up: Case No. 0. You're leading the investigation: use the six-step template, do your own calculations, and write your conclusion. L.'s analysis will unlock only after you submit your solution.