Why “what is our churn rate?” is a harder question than it looks
If you run a subscription business, work in customer success, or build reports for a finance or marketing team, you have been asked this question more than once: what is our churn? It sounds like a single number. In practice, two analysts with the same customer list can give two very different answers, and both can defend their spreadsheet. One divides the customers who left by all customers ever acquired. Another divides last month’s cancellations by the customers at the start of the month. A third quietly drops everyone who joined recently because “they have not had time to churn yet.” Each choice changes the answer, and some of them change it a lot.
Survival analysis is the toolkit that settles this. It was built for questions of the form “how long until something happens?”, such as how long until a machine fails or how long until a patient relapses, and it fits customer churn perfectly: how long until a subscriber cancels? Its key idea is that you must account for time. A customer who has been with you for two years and a customer who signed up three weeks ago are not equal evidence, and a customer who is still active today has not told you yet when they will leave.
This free first lesson covers the step that every later analysis depends on: turning start and cancellation dates into a churn flag, an observed-until date and a tenure in whole months, handling customers who are still active (the censored ones) correctly, and computing an honest average monthly churn rate per customer-month. We use the same fictional business as the lab above, Fernleaf Box, a plant-care subscription box with a Basic and a Plus plan. All names and numbers are illustrative and made up for learning.

The core idea: tenure, event and censoring
Every survival dataset reduces to two numbers per customer. The first is how long we watched them, the tenure. The second is whether the event happened during that time, here a cancellation. Together they answer: “this customer lasted at least t months, and then either cancelled or we stopped watching.”
- Churned customer: there is a cancellation date. The event flag is 1 and the tenure runs from the start date to the cancellation date.
- Censored customer: the customer is still active on the analysis date. The event flag is 0 and the tenure runs from the start date to the cut-off date. We know they lasted at least that long, not how long they will last in total.
- Cut-off date: the single date at which you freeze the data, for example the last day of the quarter. It belongs in one cell so the whole analysis can be rerun and reproduced.
The term “censored” sounds technical, but the idea is everyday. If you ask how long people stay in a gym membership and survey members today, the people still on the books are not “non-churners.” They are people whose story is unfinished. Treating them as if they will never leave makes churn look too low. Dropping them from the data makes churn look too high, because you keep only the people whose stories ended, which are mostly the short stories. Survival analysis keeps them in and uses exactly what we know about them: they survived every month up to the cut-off.
Why churners ÷ customers misleads
The quickest churn number is churners divided by all customers. For Fernleaf Box that is 7 ÷ 14 = 50%. But 50% of what, over what period? Customer FB-1001 had 7 months in which to cancel. Customer FB-1014 joined on 1 July 2026 and had only about 2 months. Lumping them together mixes very different exposures, and the number drifts up or down just because the business acquired more or fewer customers recently, even if nobody’s behaviour changed.
The fix is to count customer-months at risk: the sum of all tenures, 120 months in our example. Each month a customer spends with you is one month in which they could have cancelled. Dividing the 7 cancellations by those 120 customer-months gives 5.83% per customer-month, the average monthly hazard. This is a rate, comparable across periods, cohorts and plans, because it is already adjusted for how long each group was watched. Later lessons refine it into a hazard per tenure month, because churn is rarely constant, but the principle of dividing events by time at risk stays the same.
Worked example: Fernleaf Box’s 14 customers
The table below is the result of the lab: the original start and cancellation dates, plus the three columns you calculate. The cut-off date is 30 September 2026 and sits in cell C19. Seven customers have cancelled, seven are still active and therefore censored.
| Customer | Plan | Start | Cancelled on | Churned | Observed until | Tenure (months) |
|---|---|---|---|---|---|---|
| FB-1001 | Basic | 2024-11-04 | 2025-06-18 | 1 | 2025-06-18 | 7 |
| FB-1002 | Plus | 2024-11-19 | (active) | 0 | 2026-09-30 | 22 |
| FB-1003 | Basic | 2024-12-02 | 2025-01-20 | 1 | 2025-01-20 | 1 |
| FB-1004 | Basic | 2025-01-15 | (active) | 0 | 2026-09-30 | 20 |
| FB-1005 | Plus | 2025-02-03 | 2026-03-09 | 1 | 2026-03-09 | 13 |
| FB-1006 | Basic | 2025-03-21 | 2025-05-02 | 1 | 2025-05-02 | 1 |
| FB-1007 | Plus | 2025-05-12 | (active) | 0 | 2026-09-30 | 16 |
| FB-1008 | Basic | 2025-06-30 | 2025-10-14 | 1 | 2025-10-14 | 3 |
| FB-1009 | Basic | 2025-08-08 | (active) | 0 | 2026-09-30 | 13 |
| FB-1010 | Plus | 2025-10-27 | 2026-07-30 | 1 | 2026-07-30 | 9 |
| FB-1011 | Basic | 2026-01-05 | 2026-02-11 | 1 | 2026-02-11 | 1 |
| FB-1012 | Plus | 2026-02-14 | (active) | 0 | 2026-09-30 | 7 |
| FB-1013 | Basic | 2026-04-22 | (active) | 0 | 2026-09-30 | 5 |
| FB-1014 | Plus | 2026-07-01 | (active) | 0 | 2026-09-30 | 2 |
| Total | 7 | 120 |
The three calculated columns use one formula each, entered in row 4 and filled down to row 17:
- Churned (E4):
=IF(D4="",0,1). An empty cancellation cell means active, anything else means churned. - Observed until (F4):
=IF(D4="",$C$19,D4). The dollar signs keep the reference on the cut-off date while you copy the formula down. - Tenure in whole months (G4):
=DATEDIF(C4,F4,"m"). DATEDIF counts completed months: from 3 January to 2 February is 0 months, to 3 February is 1 month. - Totals:
=SUM(E4:E17)or=COUNT(D4:D17)gives 7 churners,=SUM(G4:G17)gives 120 customer-months, and=G21/G22gives the average monthly hazard of 5.83%.
Look at a few rows to see the logic. FB-1003 joined on 2 December 2024 and cancelled on 20 January 2025: one completed month, so a tenure of 1 with an event. FB-1002 joined on 19 November 2024 and is still active: observed until 30 September 2026, 22 completed months, no event. FB-1008 joined on 30 June 2025 and left on 14 October 2025: DATEDIF counts 30 June to 30 September as 3 months and stops there, because 14 October is before the next monthly anniversary.
The chart makes the trap visible. Several of the longest bars end in arrows: these are good customers whose final tenure we do not know yet. Several of the shortest bars are recent customers (FB-1013, FB-1014) who simply had little time. A method that ignores the arrows, or ignores how short some bars are, will misread the business.
Splitting the hazard by plan
Once tenure and the event flag exist, comparing groups takes two more formulas. For Basic, the churners are =SUMIFS(E4:E17,B4:B17,"Basic") and the customer-months are =SUMIFS(G4:G17,B4:B17,"Basic"). Divide one by the other and repeat for Plus.
| Group | Customers | Churned | Customer-months | Churned ÷ customers | Monthly hazard (churned ÷ months) |
|---|---|---|---|---|---|
| Basic | 8 | 5 | 51 | 62.5% | 9.8% |
| Plus | 6 | 2 | 69 | 33.3% | 2.9% |
| All | 14 | 7 | 120 | 50.0% | 5.83% |
Basic customers cancel at roughly 9.8% per month, Plus customers at roughly 2.9%. Note that the naive “churned ÷ customers” column also ranks them correctly here, but it overstates the gap’s certainty and would shift if the plans had been sold at different times. With only 14 customers, these figures are very noisy: two more Plus cancellations would change the picture a lot. That is why lesson 5 adds a simple log-rank test before anyone redesigns the pricing page on this evidence.
To get a feel for what the rates mean, you can turn a constant monthly hazard h into the share still subscribed after t months with =(1-h)^t, and into a median lifetime with =LN(0.5)/LN(1-h). For the whole base that is about 11.5 months, for Basic about 6.7 months, for Plus about 23.6 months. These are rough figures based on the assumption that each plan’s churn stays the same every month, an assumption the next lessons drop.
How to do it in Excel, step by step
Here is the full workflow on your own customer export. It works in Excel 365, Excel 2021 and older desktop versions, and the same formulas work in Google Sheets.
- Export one row per customer with at least an ID, a start date and a cancellation date (empty if active). Put the headers in row 3 and the data from row 4, as in the lab.
- Make sure the date columns are real dates, not text. Select the column and check Home › Number Format: it should say Date or Short Date. If the dates are text, use Data › Text to Columns › Finish or
=DATEVALUE(C4). - Type the cut-off date into one cell, here
C19. Use a fixed date (press Ctrl+; to insert today as a value) rather thanTODAY(), which changes every day and makes results impossible to reproduce. - In
E4type=IF(D4="",0,1), selectE4:E17and press Ctrl+D to fill down. - In
F4type=IF(D4="",$C$19,D4). Press F4 while the cursor is on C19 in the formula bar to add the dollar signs. Fill down and format as a date (Ctrl+1 › Number › Date). - In
G4type=DATEDIF(C4,F4,"m")and fill down. Excel does not offer DATEDIF in its function wizard, so type it in full. It still works. - Below the table, total the churners with
=SUM(E4:E17)and the customer-months with=SUM(G4:G17), then divide:=G21/G22. Format the result with Ctrl+Shift+% and add one or two decimals with Home › Increase Decimal. - Sanity-check: no tenure should be negative, no observed-until date should be later than the cut-off, and the number of 1s should equal the number of filled cancellation dates. A quick
=COUNTIF(G4:G17,"<0")should return 0. - Optional: turn the range into a table with Ctrl+T so formulas fill automatically when new customers are added, and build a PivotTable (Insert › PivotTable) with Plan in Rows and the sum of Churned and Tenure in Values for segment hazards.
=SUM(DATEDIF(C4:C17,IF(D4:D17="",C19,D4:D17),"m")). The helper columns are still worth keeping, because you can see and audit every single tenure.Common mistakes and how to spot them
- Dropping active customers. Filtering the list to cancelled customers only makes average tenure look short and churn look high. Spot it: your “churn rate” is suspiciously close to 100%, or your customer count is much smaller than the CRM total.
- Treating active customers as having tenure 0. Forgetting the observed-until step leaves DATEDIF with an empty end date and gives wrong results or #NUM! errors. Spot it: active customers show tenure 0 or an error.
- Using TODAY() as the cut-off. The report changes every time someone opens the file. Spot it: last week’s numbers cannot be reproduced.
- Text instead of dates. Dates imported as text cause #VALUE! errors in DATEDIF or silently wrong comparisons. Spot it: dates are left-aligned in the cell, or
=ISNUMBER(C4)returns FALSE. - Dividing by customers instead of customer-months. Gives a number with no time unit that drifts with acquisition volume. Spot it: ask “per what period?” If there is no clear answer, it is not a rate.
- Forgetting the absolute reference. Without
$C$19, the cut-off reference slides down one row with each copy and points at empty cells. Spot it: active customers in lower rows get odd observed-until dates. - Mixing up partial months. DATEDIF ignores the incomplete last month. This is consistent and fine, but be aware that a customer who left after 25 days shows a tenure of 0 months and still counts as a churner. Decide whether you want to count days instead, and apply the choice to everyone.
Quick reference: functions and shortcuts used
| Function or shortcut | What it does here | Example |
|---|---|---|
| IF | Turns an empty cancellation date into 0 and a filled one into 1, or picks the observed-until date | =IF(D4="",0,1) |
| DATEDIF(start, end, "m") | Counts completed months between two dates | =DATEDIF(C4,F4,"m") |
| COUNT / COUNTA | COUNT counts cells holding numbers or dates, COUNTA counts any non-empty cell | =COUNT(D4:D17) |
| SUM | Adds the churn flags or the tenure months | =SUM(G4:G17) |
| SUMIFS / COUNTIFS | Totals per plan for a segment hazard | =SUMIFS(G4:G17,B4:B17,"Basic") |
| $ absolute reference (F4 key) | Locks the cut-off cell so it does not move when you fill down | $C$19 |
| Ctrl+D | Fills the formula of the top cell down the selected range | Select F4:F17, press Ctrl+D |
| Ctrl+; | Types today’s date as a fixed value, a reproducible alternative to TODAY() | Type into C19 |
| Ctrl+Shift+% | Formats the hazard as a percentage | Select G23 |
Real-world uses
- Subscription boxes and SaaS: report churn per customer-month for each plan and acquisition month, so a busy sign-up campaign does not make retention look better or worse than it is.
- Gyms, clubs and memberships: estimate how long a new member typically stays, which feeds directly into how much you can spend to acquire one.
- Telecom and utilities contracts: compare customers whose minimum term has ended with those still locked in, keeping the locked-in ones as censored rather than “loyal.”
- Employee retention in HR: the same method measures how long employees stay, with current employees as censored observations.
- Insurance and lending: time until a policy lapses or a loan is repaid early follows exactly the same tenure-and-event structure.
What you will build in the rest of this course
This first lesson is free. The lessons below are part of the full course, unlocked with a one-time payment of $9.90. Each has its own interactive lab with instant feedback, using the same Fernleaf Box story.
The Monthly Hazard Rate by Tenure Month. You follow a cohort of 2,400 subscribers through their first year, count who is still at risk each month and see how the hazard changes with tenure. This is where the classic “month one cliff” shows up in numbers.
The Survival Curve S(t) = Π(1 − h) and the Median Lifetime. You chain 24 monthly hazards into a proper survival curve with a running product, read the median lifetime off it and measure how front-loaded the losses are.
Kaplan-Meier with Censored Customers: Step Table and Curve. You build a Kaplan-Meier table straight from a customer list with COUNTIF and COUNTIFS, keep the censored customers in the risk set exactly as this lesson taught, and chart the step-shaped curve.
Comparing Segments: Basic vs Plus Curves and a Simple Log-Rank Test. You draw both plans’ curves side by side and test whether the gap is bigger than chance with a simplified log-rank chi-square, so you know when a difference is worth acting on.
Expected Lifetime and LTV from the Survival Curve. You turn the curve into expected paid months and a discounted 24-month customer lifetime value, and see how much of that value arrives in the first half-year.
Churn Drivers: Churn Rate by Attribute and Lift. You cut customers by plan, acquisition channel and onboarding call, compute churn and lift per segment and find the strongest churn signal.
Retention Intervention ROI: Who Should Get the Save Offer?. You price a save offer for three target groups, work out how many customers it really saves and what they are worth, and calculate the churn reduction the offer needs just to break even.
Summary
Churn is a rate over time, not a share of a list. Give every customer a tenure and an event flag, keep active customers in the data as censored observations up to a fixed cut-off date, and divide churners by customer-months at risk. For Fernleaf Box that turns a misleading 50% into an average hazard of 5.83% per month, about 9.8% for Basic and 2.9% for Plus. Everything else in survival analysis, from Kaplan-Meier curves to lifetime value, is built on these three columns.
Now scroll back up to the lab and build the churn flag, the observed-until date and the tenure yourself. The Coach checks each step and explains what went wrong if a formula is off. It takes about 15 minutes.
Frequently asked questions
What is censoring in survival analysis?
A customer is censored when the event, such as a cancellation, has not happened by the end of the observation period. You know they lasted at least that long, so their months still count as time at risk, but they are not counted as churners.
How do I calculate tenure in months in Excel?
Use =DATEDIF(start_date, end_date, "m"), which counts completed months. For active customers, use the cut-off date as the end date, for example =DATEDIF(C4,IF(D4="",$C$19,D4),"m").
Why not just divide churned customers by total customers?
Because customers were watched for different lengths of time. Dividing churners by customer-months at risk gives a rate per month that does not drift when you acquire many new customers.
Should I use TODAY() as the cut-off date?
It is better to type a fixed cut-off date into one cell. TODAY() changes every day, so the same file gives different results tomorrow and the analysis cannot be reproduced.
What is a monthly hazard rate?
It is the probability that a customer who is still active at the start of a month cancels during that month. The average monthly hazard is churners divided by customer-months observed.
Does DATEDIF work in Google Sheets and Excel 365?
Yes. DATEDIF works in Excel 365, older Excel versions and Google Sheets. Excel does not list it in the function wizard, so you have to type it in full.
Keep going: Customer Churn & Survival Analysis: Hazard Rates, Kaplan-Meier & Retention Curves
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.
- The Monthly Hazard Rate by Tenure Month
- The Survival Curve S(t) = Π(1 − h) and the Median Lifetime
- Kaplan-Meier with Censored Customers: Step Table and Curve
- Comparing Segments: Basic vs Plus Curves and a Simple Log-Rank Test
- Expected Lifetime and LTV from the Survival Curve
- Churn Drivers: Churn Rate by Attribute and Lift
- Retention Intervention ROI: Who Should Get the Save Offer?
- Before the Curve: Duplicates, Impossible Dates and Status Conflicts
- The Actuarial Life Table: Withdrawals Count as Half a Month
- Pooling a Cohort Triangle: One Hazard Curve from Cohorts of Different Ages
- Late Entry: Migrated Customers Who Join the Data Mid-Life
- Two Ways to Leave: Cancellations vs Failed Payments as Competing Risks
- Annual Plans: Renewal Spikes, Equivalent Monthly Churn and Revenue per Sign-Up
- A Constant-Hazard Model: λ from Customer-Months, e^(−λt) and Where It Fails
- Weibull Fit: Is the Hazard Falling with Tenure? Shape k and a 24-Month Forecast
- Is Plus Really Stickier? Churn Rate Ratios Adjusted for Acquisition Channel
- Forecasting Next Quarter's Churners from the Tenure Mix of Today's Base
- Is the Churn Score Honest? Calibration by Band and Capture of the Top Bands
- Final Project: Retention Dashboard for Basic vs Plus with Curves and Margin per Sign-Up