How to calculate churn rate in Excel and Google Sheets
Every formula on this page works the same in Excel and Google Sheets. Replace the cell references with your own.
Edited by Jochem Wassenaar. Published 27 November 2026.
Churn rate from two numbers
Put customers at the start of the month in B2 and customers lost in B3:
| Cell | What | Formula |
|---|---|---|
| B4 | Monthly churn | =B3/B2 |
| B5 | Retention | =1-B4 |
| B6 | Annual churn at this rate | =1-(1-B4)^12 |
| B7 | Average lifetime in months | =1/B4 |
| B8 | Months until half have left | =LN(0.5)/LN(1-B4) |
Format B4 to B6 as percentages. If you have an annual churn rate in B10, the monthly rate that compounds to it is =1-(1-B10)^(1/12).
Monthly churn from a customer list
This is the more useful version. Suppose a sheet named Customers has start dates in column B and end dates in column C, with column C empty for active customers. On a second sheet, put the first day of each month in column A (A2 = 1 January 2026, A3 = 1 February 2026 and so on). Then:
| Column | What | Formula in row 2 |
|---|---|---|
| B | Customers at the start of the month | =COUNTIFS(Customers!B:B,"<"&A2,Customers!C:C,">="&A2)+COUNTIFS(Customers!B:B,"<"&A2,Customers!C:C,"") |
| C | Of those, lost during the month | =COUNTIFS(Customers!B:B,"<"&A2,Customers!C:C,">="&A2,Customers!C:C,"<"&EDATE(A2,1)) |
| D | New customers in the month | =COUNTIFS(Customers!B:B,">="&A2,Customers!B:B,"<"&EDATE(A2,1)) |
| E | Churn rate | =IF(B2=0,"",C2/B2) |
Fill the formulas down. Column B counts customers who started before the month and either ended on or after its first day or have not ended at all. Column C counts only those starting customers whose end date falls inside the month, so new customers who leave in their first month do not inflate churn.
Check one month by hand before you trust the whole column: dates stored as text instead of real dates are the most common reason COUNTIFS returns zero. In Excel, =ISNUMBER(Customers!B2) should say TRUE.
For a ready-made monthly report with all of these formulas, download the retention report template. If your data is in a database, the churn SQL queries do the same in PostgreSQL.
Prefer not to build it? The customer list analyser does the same calculation, adds a cohort table and a survival curve, and runs in your browser without uploading the file.
Revenue churn and net revenue retention
With recurring revenue at the start in B2, churned revenue in B3, downgrades in B4 and upgrades in B5:
| What | Formula |
|---|---|
| Gross revenue churn | =(B3+B4)/B2 |
| Net revenue churn | =(B3+B4-B5)/B2 |
| Net revenue retention | =(B2-B3-B4+B5)/B2 |
| Gross revenue retention | =(B2-B3-B4)/B2 |
Customer lifetime value
With revenue per customer per month in B2, gross margin in B3 (as a percentage) and monthly churn in B4: =B2*B3/B4. Add a monthly discount rate in B5 with =B2*B3/(B4+B5). The lifetime value calculator explains when this simple formula overstates value.
Common spreadsheet mistakes
- Dividing by customers at the end of the month instead of the start.
- Counting every cancellation, including customers who joined that month, against the starting count.
- Annualising by multiplying the monthly rate by 12. See why that overstates churn.
- Averaging monthly churn rates of months with very different customer counts. Add up the lost customers and the starting counts across months first, then divide.