calculate_churn_rate
Calculate net revenue retention (NRR), gross revenue retention (GRR), revenue churn and implied customer lifetime from one period's MRR movements. Also reports the NRR-minus-GRR spread, which reveals how much churn is being masked by expansion revenue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| churned_mrr | No | MRR lost to full cancellations. | |
| starting_mrr | Yes | MRR at the start of the period, in any single currency unit. | |
| expansion_mrr | No | MRR gained from upgrades and expansion within the existing base. Excludes new customers. | |
| contraction_mrr | No | MRR lost to downgrades (customer retained). |