Sub topic 6
Churn and Retention
This chapter assumes you can compute CAC and know what ARPA and gross margin mean. It covers how to measure churn and retention, which feed the customer lifetime and LTV calculations in later chapters.
Two views of the same thing
Churn is the share of customers (or revenue) you lose in a period. Retention is the share you keep. For customer counts, the two always add to 100%.
Suppose you start March with 500 customers and 20 cancel during the month. Monthly churn is 20 ÷ 500 = 4%, and retention is 96%.
The working model
Keep three rules in mind when you compute churn.
- Use the starting count as the denominator. Customers who join mid-month have not had the full month to leave, so leave them out of both the numerator and the denominator.
- Fix the period. Monthly and annual churn are different numbers. Do not mix them in one formula.
- Match the definition of "customer". Use the same definition you used for CAC, such as paying accounts rather than free sign-ups.
def churn_rate(customers_at_start, customers_lost_from_start_group):
return customers_lost_from_start_group / customers_at_start
monthly = churn_rate(500, 20)
print(monthly) # 0.04
print(1 - monthly) # 0.96Converting between periods
Retention compounds. If 96% of customers stay each month, the share left after 12 months is 0.96 to the 12th power, not 1 − 12 × 4%.
monthly_churn = 0.04
annual_retention = (1 - monthly_churn) ** 12
annual_churn = 1 - annual_retention
print(round(annual_retention, 3)) # 0.613
print(round(annual_churn, 3)) # 0.387So 4% monthly churn is about 38.7% annual churn. Multiplying 4% by 12 gives 48%, which overstates the loss.
Customer churn and revenue churn
Customer churn counts accounts. Revenue churn measures the money lost. They differ when customers pay different amounts. Losing ten small accounts hurts less than losing one large account.
- Gross revenue churn counts only cancellations and downgrades.
- Net revenue churn also subtracts expansion revenue (upgrades, extra seats) from existing customers. It can be negative, which means existing customers are growing faster than they leave.
For the LTV formulas in this tutorial, use customer churn on a consistent basis unless you model expansion separately. Net revenue churn can hide a high rate of customer loss behind a few growing accounts.
Retention curves
A single churn number assumes the same risk in every month. Real products rarely behave that way. New customers usually leave faster in the first months, and the curve flattens as the loyal ones remain. A retention curve plots the share of a signup group still active in each month since signup.
retention = [1.00, 0.80, 0.70, 0.65, 0.62, 0.60]
for month in range(1, len(retention)):
lost = 1 - retention[month] / retention[month - 1]
print(month, round(lost, 3))
# 1 0.2
# 2 0.125
# 3 0.071
# 4 0.046
# 5 0.032Churn here falls from 20% in month one to about 3% in month five. A blended 4% figure would describe neither the early months nor the later ones well.
Common errors
- Counting new customers in the denominator.
- Comparing a monthly churn rate to an annual benchmark.
- Treating paused or failed-payment accounts inconsistently. Decide whether they count as churned and apply the rule every period.
- Using churn from a few weeks of data as if it were stable.
Exercise
A company has 800 customers at the start of a month and loses 32 of them. What are monthly churn and annual retention, assuming that rate holds for 12 months?
Show answer
Monthly churn is 32 ÷ 800 = 4%. Monthly retention is 96%. Annual retention is 0.96^12 ≈ 61.3%, so annual churn is about 38.7%.
Exercise
Why is "annual churn = monthly churn × 12" usually wrong?
Show answer
Churn applies to the customers who remain, and the group shrinks each month. Retention compounds, so annual retention is (1 − monthly churn)^12. Multiplying by 12 overstates the loss.