Day 1, 7 and 30 retention (D1/D7/D30)
Day-N retention is the share of new users who come back on day N after they first started, usually day 1, day 7 and day 30. It is the standard early health check for games and apps, measured per install cohort.
- Used in
- Gaming
- Media & streaming
- SaaS
Formula
- Cohort
- Users who installed or signed up on the same day.
- Day N
- The Nth day after the first day (day 0). Classic retention counts activity on that exact day.
Try it with your numbers
Change any value and the result updates. Nothing you type leaves your browser.
Worked example
5,000 players install the game on 1 September. 1,600 of them play again on 2 September (day 1), and 450 on 8 September (day 7). D1 = 32%, D7 = 9%.
How to read it
Look at the curve, not single points: where it flattens shows the users you keep. Compare cohorts before and after a change, and split by acquisition channel; paid users often retain differently from organic ones.
How to calculate D1/D7/D30 in SQL, Power BI and Excel
Copy, rename the tables and columns to match yours, and run. The SQL is written for PostgreSQL and works with small changes in BigQuery, Snowflake or SQL Server.
-- Classic D1 / D7 / D30 retention by install date
SELECT i.install_date,
COUNT(*) AS installs,
ROUND(100.0 * COUNT(DISTINCT a1.user_id) / COUNT(*), 1) AS d1_pct,
ROUND(100.0 * COUNT(DISTINCT a7.user_id) / COUNT(*), 1) AS d7_pct,
ROUND(100.0 * COUNT(DISTINCT a30.user_id) / COUNT(*), 1) AS d30_pct
FROM installs i
LEFT JOIN user_activity a1 ON a1.user_id = i.user_id AND a1.activity_date = i.install_date + 1
LEFT JOIN user_activity a7 ON a7.user_id = i.user_id AND a7.activity_date = i.install_date + 7
LEFT JOIN user_activity a30 ON a30.user_id = i.user_id AND a30.activity_date = i.install_date + 30
GROUP BY i.install_date
ORDER BY i.install_date;D7 Retention % =
VAR Cohort = VALUES ( Installs[UserID] )
VAR Back =
FILTER (
Cohort,
VAR Day0 = CALCULATE ( MIN ( Installs[InstallDate] ) )
RETURN CALCULATE ( COUNTROWS ( Activity ), REMOVEFILTERS ( 'Date' ), Activity[ActivityDate] = Day0 + 7 ) > 0
)
RETURN
DIVIDE ( COUNTROWS ( Back ), COUNTROWS ( Cohort ) )=SUM(B2:B5001)/COUNT(A2:A5001)Excel: One row per user: A = install date, B = 1 if active on day N, else 0.
Common mistakes
- Mixing classic retention (active on exactly day N) with rolling retention (active on day N or later). The second is always higher.
- Averaging cohorts of very different sizes without weighting.
- Reading D30 for cohorts that are not 30 days old yet.
Questions people ask
What are typical D1, D7 and D30 retention rates?
For mobile games, industry guides often quote a median D1 around 25–35%, D7 around 10–15% and D30 around 2–5%, with big differences by genre and platform. Your own cohort trend matters more.
Classic or rolling retention?
Classic (active on the exact day) is the standard for games and comparisons. Rolling retention is closer to "not yet churned" and suits products that are not used every day.
Want D1/D7/D30 measured the same way everywhere?
We define it with your team, build it into your data and dashboards, and keep it right. See Churn & retention analytics, or start with a two-week Data Health Check.