FormulaCraft

How to calculate net revenue retention (NRR) in Excel and Google Sheets

Topic:SaaS metrics
Excel & Google Sheets
=(B2+B3-B4-B5)/B2

Verified example

Computed by a real spreadsheet engine on the sample data below.

MetricMRR ($)
Starting MRR100000
Expansion MRR18000
Churned MRR8000
Contraction MRR3000

=(B2+B3-B4-B5)/B21.07

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Label rows in column A: 'Starting MRR' (A2), 'Expansion MRR' (A3), 'Churned MRR' (A4), 'Contraction MRR' (A5). Enter values in column B.
  2. 2Starting MRR is the total MRR from existing customers at the beginning of the period.
  3. 3Expansion MRR is additional revenue from upgrades and upsells by those same customers.
  4. 4Churned MRR is revenue lost from customers who cancelled. Contraction MRR is revenue lost from downgrades.
  5. 5Enter =( B2+B3-B4-B5)/B2 in B6. Format as percentage. A result above 100% means the cohort is growing without new logo acquisition.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

What is the difference between NRR and GRR?

GRR (Gross Revenue Retention) is capped at 100% — it only measures churn and contraction, excluding expansion. NRR can exceed 100% because it adds expansion revenue.

Should I calculate NRR on MRR or ARR?

Either works if used consistently. MRR-based NRR is more granular and catches changes sooner. ARR-based NRR is common in investor reporting for annual-contract businesses.

Why is NRR sometimes called NDR?

NDR stands for Net Dollar Retention — the same formula with 'dollar' emphasizing the revenue (not customer count) basis. The terms are interchangeable.

More on SaaS metrics

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: