Real-world recipes · SaaS finance

Monthly churn rate

In Excel, you'd reach for
fxTwo COUNTIFS per month and a division, rebuilt every month

Churn rate for a month = subscriptions cancelled during the month ÷ subscriptions active at the start of it.

We build the month list again, then count both numbers per month with the CASE trick from the COUNTIF lesson. * 100.0 makes it a percentage and forces decimal division.

Try itEdit the query, then Run
monthactive_at_startcancelledchurn_pct
2026-022114.8
2026-036169.8
2026-041231814.6
2026-05149138.7
2026-06196126.1

5 rows

This counts plan rows, so an upgrade (one row ends, a new one starts) shows up as a cancel. For strict customer churn, count distinct customer_id instead, and treat a customer as churned only when they have no active row left.

Your turn

How many subscriptions were cancelled in each month? Columns month and cancellations, in order, skipping active ones.

This page on one card

Monthly churn rate: the Excel way (Two COUNTIFS per month and a division) and the SQL query, side by side
Monthly churn rate, on one card: the Excel way and the SQL. Download · Save to Pinterest
The practice data (7 tables)

See every column and sample rows