Sub topic 3
Churn and Its Relationship to Retention
This chapter assumes you already know how to define activation and engagement from events, and that you can write SQL with JOIN, GROUP BY, and date filters.
Churn and retention
Churn is the share of users who stop using the product in a period. Retention is the share who stay. For one population and one definition of "active," churn equals 1 minus retention. Measure both on the same cohort and window, or the numbers will not match.
-- Monthly churn: users active in February 2026 who were not active in March 2026
-- Assumes events(user_id, event_name, event_time) and core action 'core_action'
WITH feb AS (
SELECT DISTINCT user_id FROM events
WHERE event_name = 'core_action'
AND event_time >= DATE '2026-02-01' AND event_time < DATE '2026-03-01'
),
mar AS (
SELECT DISTINCT user_id FROM events
WHERE event_name = 'core_action'
AND event_time >= DATE '2026-03-01' AND event_time < DATE '2026-04-01'
)
SELECT
COUNT(*) FILTER (WHERE m.user_id IS NULL) * 1.0 / COUNT(*) AS churn_rate
FROM feb f
LEFT JOIN mar m ON m.user_id = f.user_id;> The query above uses PostgreSQL syntax.
Segmenting activation and retention
Split activation and retention by channel, plan, or platform. A segment with high activation but low 30-day retention usually signals a gap between the first session and the habit that follows it.
Leading and lagging indicators
Activation is a leading indicator: it moves early and predicts later retention. Retention is a lagging indicator: it confirms the outcome weeks later. Teams act on leading indicators because they can react before churn happens.
North Star metric and input metrics
The North Star metric is the single measure of value a user receives, such as weekly projects shared. Input metrics are the levers a team controls that push the North Star, such as activation rate, time to value, and sessions per user.
Common pitfalls
- Vanity metrics only go up, such as cumulative signups. They hide whether users stay.
- Survivorship bias happens when retention is measured only among users who remained. Early churners disappear from the numbers.
- Shifting definitions happen when the definition of "active" changes mid-series. Trends then reflect the change, not user behavior. Version your definitions.
Choosing metrics for your product type
| Product type | Activation event | Retention window |
|---|---|---|
| Collaboration tool | Invites a teammate | Weekly |
| Consumer app | Completes first action | Day 7 |
| Subscription | First paid renewal | Monthly |
Pick one North Star, two or three input metrics, and one churn measure. Keep the set small so each metric has a clear owner.
Exercise
A team reports 90 percent retention and 10 percent churn for March. The retention figure counts only users who were still active on March 31. Why might this overstate retention, and what change fixes it?
Show answer
It suffers from survivorship bias. Users who churned earlier in March are excluded from the cohort. Fix it by defining the cohort at the start of the month and counting every user from that cohort who is active at the end of the window.