How do you calculate net revenue retention?
Take the recurring revenue a group of customers paid at the start of a period, add their expansion, subtract their contraction and churn, and divide by the starting figure. NRR = (starting ARR + expansion − contraction − churn) ÷ starting ARR. New customers are left out. Gross revenue retention is the same sum without expansion, so it can’t go above 100%.
How this is calculatedthe formula, a worked example, benchmarks, assumptions and sources · about 7 min read
The NRR and GRR formulas
These are the formulas the calculator runs. Every one uses the same cohort: the customers you had on day one of the period. The defaults are an illustration, not a benchmark.
- Net revenue retention (NRR)
(starting ARR + expansion − contraction − churn) ÷ starting ARRAlso called net dollar retention (NDR). New-logo ARR is never in it.- Gross revenue retention (GRR)
(starting ARR − contraction − churn) ÷ starting ARRExpansion is excluded, so GRR tops out at 100%.- Ending ARR
starting ARR + new + expansion − contraction − churn- Net new ARR and growth
net new = ending ARR − starting ARR; growth = net new ÷ starting ARR- SaaS quick ratio
(new + expansion) ÷ (contraction + churn)ARR added for every dollar lost. It includes new logos, which NRR does not.- ARR better operations could keep
sum over six drivers of: driver share × [(contraction + churn) × ops-caused share + 12% of expansion] × min(95%, automatable share × automation depth) × 70%Opswell’s model, run 2,200 times to give a P10–P90 range. See the assumptions below.- Added profit a year from ARR kept
ARR kept (P50) × contribution margin
How to use this calculator
- Fix the cohort and the periodUse the customers who were paying on day one of a 12-month period. Their ARR on that day is starting ARR. Anyone who signed after day one is a new logo.
- Split the change into four movementsFor starting customers only: expansion (upsell, added seats, price increases), contraction (downgrades), and churn (customers who left). Then enter new-logo ARR separately so the bridge reaches your real ending ARR.
- Use MRR mode if that is how you reportSwitch to Monthly and enter MRR figures; the calculator multiplies by 12. Don’t mix monthly and annual figures.
- Check the bridgeEnding ARR should match your billing system or monthly report. If it doesn’t, a movement is missing or double-counted.
- Set the two assumptions for the AI layerThe share of losses caused by operations (failed payments, missed renewals, contract errors) and your contribution margin. Both default to Opswell assumptions. Replace them if you know better.
Worked example: a $12 million ARR SaaS business
The calculator’s default inputs, a 12-month period.
| Starting ARR | $12.0 million |
|---|---|
| New-logo ARR | $2.4 million |
| Expansion | $1.8 million |
| Contraction | $0.6 million |
| Churned ARR | $0.9 million |
| Ops-caused share of losses; contribution margin | 45%; 72% (assumptions) |
- NRR: ($12.0M + $1.8M − $0.6M − $0.9M) ÷ $12.0M = $12.3M ÷ $12.0M = 102.5%.
- GRR: ($12.0M − $0.6M − $0.9M) ÷ $12.0M = $10.5M ÷ $12.0M = 87.5%.
- Ending ARR: $12.0M + $2.4M + $1.8M − $0.6M − $0.9M = $14.7M, so net new ARR is $2.7M and growth is 22.5%.
- Quick ratio: ($2.4M + $1.8M) ÷ ($0.6M + $0.9M) = $4.2M ÷ $1.5M = 2.8.
- AI layer: 45% of the $1.5M lost is $675,000 of ops-caused loss. At base automation, the model keeps $293,000 a year at the median (P10 $210,000, P90 $420,000). NRR rises 2.4 points to 104.9% and GRR to 89.1%.
NRR of 102.5% sits just above SaaS Capital’s 2025 median of 101%, but GRR of 87.5% is below the 91% median. Expansion is covering a base that leaks more than most. The $293,000 of ARR kept is revenue gained; at a 72% contribution margin it is worth about $211,000 a year in profit.
NRR and GRR benchmarks for private SaaS
Published medians for private B2B SaaS companies. Retention varies more with contract size than with anything else, so compare yourself with the cut closest to your average contract value (ACV).
| Measure | Figure | Who it describes | Source |
|---|---|---|---|
| Median NRR | 101% | 1,000+ private B2B SaaS companies | SaaS Capital, 2025 |
| Median GRR | 91% | 1,000+ private B2B SaaS companies | SaaS Capital, 2025 |
| Median GRR by contract size | 95% above $250K ACV; about 91% below | Private B2B SaaS by ACV | SaaS Capital, 2025 |
| NRR at $25K–$50K ACV | Median 102%; quartiles 97% and 111% | Private B2B SaaS, $25K–$50K ACV | SaaS Capital, 2025 |
| NRR / GRR by funding | Bootstrapped 104% / 92%; equity-backed 101% / 90% | Private B2B SaaS | SaaS Capital, 2025 |
| Gross retention trend | Fell to 86% in 2023, expected to approach 90%; net retention above 100% | Private SaaS companies, 16th annual survey | KeyBanc & Sapphire, 2025 |
| Median gross / net dollar retention | GDR 89% (2022 and 2023), 91% projected 2024; NDR 102%, 102%, 101% | Private SaaS companies, 15th annual survey | KeyBanc & Sapphire, 2024 |
These are self-reported surveys of private companies, so treat them as a range to sit in, not a target to hit. KeyBanc’s 2025 figures come from a press release with headline rounding only. KeyBanc calls the measures gross and net dollar retention; the definitions match GRR and NRR here. A widely repeated 84% median GRR attributed to Benchmarkit could not be confirmed on the publisher’s own page, so it is not used.
Sources: SaaS Capital, 2025 B2B SaaS retention benchmarks; KeyBanc Capital Markets and Sapphire Ventures, 2025; KeyBanc Capital Markets and Sapphire Ventures, 2024 survey.
NRR versus GRR: what each one tells you
Both measures follow one cohort: the customers you had at the start. New logos are excluded from both, because retention asks how well you keep and grow what you already sold. Counting new customers would let a strong sales quarter hide a leaking base.
GRR measures the leak. It shows what share of starting revenue is still there after downgrades and cancellations, ignoring any upsell. It can’t exceed 100%. NRR measures the leak net of expansion. It can exceed 100% when existing customers grow faster than others leave.
Read them together. NRR of 105% with GRR of 95% is a healthy base that grows. NRR of 105% with GRR of 82% is a base that loses almost a fifth of its revenue a year and replaces it by selling more to the customers who stay. The second business depends on expansion continuing, and expansion is the first thing to slow in a downturn.
Why the SaaS quick ratio matters
The quick ratio is ARR added for every dollar of ARR lost: (new + expansion) ÷ (contraction + churn). Unlike NRR, it includes new logos, so it measures how efficiently the whole business grows. A ratio of 1 means you are running to stand still. In the example, 2.8 means $2.80 added for every $1 lost.
The same growth can come from very different engines. Adding $4 million and losing $1 million grows as fast as adding $9 million and losing $6 million, but the second has to fund far more selling to stand still. Quick ratio targets are quoted online, but we have not found a published study we can verify, so the calculator shows your ratio without one.
What drives churn and contraction
Some losses are about the product and the market. Others are operational: the customer would have stayed, but something in billing, renewals, or contracts went wrong. The split matters, because only the second kind responds to better operations.
- Product and market: the product doesn’t solve the problem well enough, a competitor is better or cheaper, the customer’s business shrinks or is acquired.
- Champion and adoption: the buyer leaves, seats go unused, and nobody can defend the renewal.
- Involuntary churn: cards expire, payments fail, and dunning emails go unanswered until the account lapses.
- Renewal operations: renewal dates are missed, outreach starts too late, health signals sit in a dashboard nobody reads.
- Contract and billing errors: wrong entitlements, missed price uplifts, invoices that don’t match the order form, and disputes that sour the relationship.
- Support escalations: a slow or unresolved escalation in the months before renewal.
Where AI helps retention, and where it doesn’t
AI earns its keep on the operational losses, because they are rules and records problems. Renewal operations: an agent reads usage, support history, and contract dates, flags at-risk accounts 90 days out, and drafts the outreach for the account manager. Involuntary churn and dunning: failed payments get retried at the right time, the customer gets a clear message, and accounts that are about to lapse go to a person. Usage visibility: seat and feature usage is summarised per account so expansion conversations start with evidence. Contract errors: order forms, entitlements, and invoices are checked against each other before they reach the customer.
AI does not fix product-market fit, and it does not fix pricing. If customers leave because the product doesn’t do the job or a competitor is cheaper, faster renewal outreach only delays the call. That is why the calculator asks what share of your losses is operational and applies the model only to that share. The 45% default is an assumption. Look at your last 20 churned accounts and count how many left for a reason a better process would have caught.
Common NRR calculation mistakes
Most disagreements about NRR come from definitions, not arithmetic.
- Counting new logos: any customer who signed during the period belongs in new ARR, not in expansion.
- Mixing revenue and ARR: recognised revenue includes one-off services and timing effects. Use contracted recurring revenue.
- Compounding monthly figures wrongly: a monthly NRR of 99% is about 88.6% over a year (0.99¹²), not 88% (twelve times 1%).
- Reactivations: a customer who churned and came back is usually treated as new, not as expansion.
Assumptions and limits
- Added profit is the revenue kept, counted at contribution margin. This is the same as the EBITDA effect, for readers who use that term.
- Share of losses caused by operations: 45% by default. This is an Opswell assumption, not a benchmark. Change it to match your own churn reasons.
- Upside pool = ops-caused loss + 12% of expansion, for expansion delayed by quoting and usage gaps.
- Six drivers take fixed shares of the upside pool: involuntary churn 22% (78% automatable), renewal ops 20% (55%), quote-to-cash 18% (70%), usage visibility 16% (65%), contract errors 14% (72%), support escalations 10% (40%).
- Recoverable per driver = pool × min(95%, automatable share × automation depth) × 70% realisation. Automation depth is 0.45 conservative, 0.75 base, 0.92 aggressive.
- The range comes from 2,200 Monte Carlo trials, lognormal around the point estimate with a 0.28 coefficient of variation (fixed seed, so the same inputs give the same answer).
- Improved GRR counts 65% of the kept ARR as base revenue retained; the rest is expansion that lands sooner.
- Contribution margin defaults to 72%, Opswell’s SaaS preset and an assumption. Profit = ARR kept × contribution margin. Time back is not counted.
Terms used on this page
- ARR / MRR
- Annual or monthly recurring revenue: contracted subscription revenue, excluding one-off fees. ARR = MRR × 12.
- Cohort
- The customers paying on day one of the period. Retention measures only this group.
- Contraction
- Lost recurring revenue from customers who stayed but downgraded or cut seats.
- Involuntary churn
- Churn from failed payments or lapsed cards rather than a decision to leave.
Sources
- What is a good retention rate for a private SaaS company? (2025 B2B SaaS retention benchmarks) · SaaS Capital, 2025
- Private SaaS company survey (16th annual) · KeyBanc Capital Markets & Sapphire Ventures, 2025
- 2024 SaaS survey (15th annual) · KeyBanc Capital Markets & Sapphire Ventures, 2024
Common questions
What is a good net revenue retention rate?
SaaS Capital’s 2025 survey of more than 1,000 private B2B SaaS companies puts median NRR at 101%. At $25,000–$50,000 ACV the median is 102%, with the bottom quartile at 97% and the top quartile at 111%. Above 100% means existing customers grow faster than others leave. Compare yourself with companies at your contract size.
What is a good gross revenue retention rate?
SaaS Capital’s 2025 median is 91% for private B2B SaaS, rising to 95% for companies with ACV above $250,000. KeyBanc and Sapphire’s 2025 survey says private SaaS gross retention fell to 86% in 2023 and is expected to approach 90%.
What is the difference between NRR and GRR?
GRR counts only losses: starting ARR minus contraction and churn, divided by starting ARR. NRR adds expansion back. GRR can’t exceed 100%; NRR can. The gap between them is how much expansion you rely on.
Does net revenue retention include new customers?
No. NRR and GRR track only customers who were paying at the start of the period. Revenue from new customers appears in ending ARR and the quick ratio, but never in retention.
How do you calculate NRR from MRR?
Use the same formula with monthly figures, or multiply each by 12 to get ARR. The ratio is identical. If you measure monthly NRR, compound it for an annual view: 99% a month is about 88.6% a year.
Is net dollar retention the same as NRR?
Yes. Net dollar retention (NDR), net revenue retention (NRR), and net retention describe the same calculation. Gross dollar retention (GDR) is the same as GRR.
How can AI improve net revenue retention?
By fixing operational losses: retrying failed payments and chasing lapsing cards, flagging at-risk renewals early with drafted outreach, summarising usage for expansion conversations, and catching contract and billing errors. It does not fix churn caused by product fit or price.
Can I embed this calculator on my site?
Yes. Use “Embed this calculator” under the tool for an iframe snippet. It runs in the visitor’s browser and stores nothing.
Read next
- How to automate it: Churn early warningUsage, support, and billing signals combined into a weekly at-risk list with a drafted save plan.
- SaaS net and gross revenue retention benchmarksPublished benchmarks, each linked to its source
- Where AI makes and saves moneyMost companies point AI at the easiest work, not the work that pays. They get time back but no new revenue. The research points to six other places.
- How Opswell tools count dollarsThe rules behind every number on this page
Reviewed November 22, 2026 by Maxwell Kroll, founder of Opswell. The math runs in your browser. A Python copy of the same engine runs on our server, and we test that both give the same answer on every release.