Skip to content
Marketing Measurement Science

Churn

Calculate gross churn, logo retention and net change in customer count, plot retention for a fixed starting cohort, and separate churn-risk prediction from the effect of an intervention.

Churn prediction & prevention

Understand the churn analysis pipeline — click any step to learn more.

1. Data collection

Aggregate activity metrics: login frequency, support tickets, feature usage, session duration.
Churn models need behavioral signals, not just demographics. The most predictive features tend to be changes in behavior — a customer who logged in daily and now logs in weekly is a stronger signal than a customer who always logged in weekly. Collect: login timestamps, feature usage events, support tickets (volume and sentiment), billing events, NPS/CSAT responses, and session duration trends. Store as time-series so you can compute rolling averages and deltas.

2. Risk scoring

Estimate each customer’s churn probability from behavioral signals.
Gradient-boosted trees such as XGBoost or LightGBM can handle mixed feature types, missing data, and non-linear relationships. Compare them on held-out data with a simpler baseline such as logistic regression. The model outputs a probability (0–1) for each customer. Key signals typically include: declining activity velocity, increasing support ticket frequency, reduced feature breadth, and payment failures. Train on historical churn labels with a rolling window approach to avoid data leakage.

3. Segmentation

Group customers into risk tiers (Low, Medium, High) based on probability thresholds.
Don’t just use arbitrary thresholds (e.g., > 0.7 = high risk). Instead, calibrate thresholds based on your intervention capacity. If your team can handle 50 save-calls per week, set thresholds so the “high risk” segment is roughly that size. Use precision-recall curves to find the threshold that maximizes caught churners while keeping false positives manageable. Revisit thresholds monthly as your model and customer base evolve.

4. Intervention

Test which interventions change retention before targeting by risk.
A churn risk score estimates who is likely to leave. The score alone cannot tell you whose retention an offer would change. Some high-risk customers leave even with an offer, and contact can prompt others to leave sooner. Candidate interventions range from personal outreach, discounts, and contract flexibility to lower-cost automated emails and feature education. Randomize the offer within each risk tier and compare retention with a holdout group in the same tier. Use the measured change in retention to choose whom to contact. See Uplift Modeling and Retention Interventions.

Churn rate calculator

Enter your customer counts to get gross churn, logo retention and net change in customer count, with the full formula shown.

Results

Cohort churn visualizer

Paste monthly counts of active members from one starting cohort to plot that cohort’s retention curve.

Enter comma-separated counts. Month 0 contains the original members. In later months, count active members from that same group and exclude new signups.

Counts cannot increase. Average monthly rates give each month with customers at risk equal weight. Mean observed lifetime sums survival at the start of each month in the observed window.

Retention curve