Net Dollar Retention Formula: How to Calculate NDR

The net dollar retention formula is: NDR = (starting recurring revenue + expansion − contraction − churn) ÷ starting recurring revenue × 100. It measures how much revenue a cohort of existing customers keeps and grows over a period, excluding new customers. NDR above 100% means existing accounts spent more; below 100% means they spent less.

Key takeaways
  • NDR = (starting MRR + expansion − contraction − churn) ÷ starting MRR × 100, using the same customer cohort at both ends.
  • NDR above 100% means expansion from existing accounts outran revenue lost to downgrades and cancellations.
  • Gross revenue retention (GRR) caps at 100% because it ignores expansion; NDR does not.
  • New customers are excluded from the starting base. Adding them turns NDR into a growth rate, not a retention rate.
  • A single formula is not enough. Track NDR monthly, quarterly and by cohort to see whether the trend is real.

What is net dollar retention?

Net dollar retention is the percentage of recurring revenue kept from a fixed group of customers over a period, including expansion and lost revenue. It answers one question: if no new customers signed up, would revenue from the existing base grow or shrink?

NDR is also called net revenue retention (NRR). The two terms mean the same thing.

What is the net dollar retention formula?

The formula is starting recurring revenue plus expansion, minus contraction, minus churn, divided by starting recurring revenue, times 100.

Written out:

NDR = (Starting MRR + Expansion MRR − Contraction MRR − Churned MRR) ÷ Starting MRR × 100

Each input is measured over the same period and for the same customer cohort:

  • Starting MRR: monthly recurring revenue from the cohort at the start of the period.
  • Expansion MRR: added seats, upgrades, add-ons and usage growth.
  • Contraction MRR: downgrades and reduced seats or usage.
  • Churned MRR: revenue from customers who cancelled entirely.

The result is a percentage. A result of 100% means the cohort spends exactly what it did before. Use the NRR calculator to run the numbers without a spreadsheet.

Tip

Calculate NDR on a fixed cohort, then repeat for each monthly cohort. Blended company-wide NDR hides which signup months are actually healthy.

How do you calculate NDR step by step?

Start by locking the cohort, then gather the four revenue inputs, then apply the formula. The steps below keep the math consistent month to month.

  1. Pick the cohort. Choose all customers active on day one of the period. Write down the list; do not add anyone who signed later.

  2. Record starting MRR. Sum the recurring revenue from that list only.

  3. Record expansion MRR. Sum every increase from those same accounts during the period.

  4. Record contraction and churn MRR. Sum downgrades and full cancellations from those accounts.

  5. Apply the formula. (Start + expansion − contraction − churn) ÷ start × 100.

  6. Repeat for each period and cohort. Compare the trend, not a single month.

What does a worked NDR example look like?

Here is a simple example using round numbers. A company starts January with 50 customers paying $2,000 MRR in total.

Line item Amount
Starting MRR (Jan 1 cohort) $2,000
Expansion MRR (upgrades, seats) $400
Contraction MRR (downgrades) $150
Churned MRR (cancellations) $100
Ending MRR from cohort $2,150
NDR ($2,000 + $400 − $150 − $100) ÷ $2,000 × 100 = 107.5%

The cohort grew revenue by 7.5% with no new customers. Now compare with GRR, which ignores the $400 expansion: ($2,000 − $150 − $100) ÷ $2,000 × 100 = 87.5%. The gap between 107.5% and 87.5% is expansion doing the work; without it, the base is shrinking.

Run the same inputs through the GRR calculator to see both numbers side by side.

What is the difference between NDR and GRR?

GRR measures revenue kept from existing customers and can never exceed 100%; NDR includes expansion and can. GRR tells you how much leakage exists before upsells; NDR tells you whether upsells cover it.

Both use the same cohort and the same starting revenue. Report them together, because a high NDR can mask heavy churn that expansion is papering over.

The revenue churn calculator covers the loss side in detail.

What are the most common NDR mistakes?

The most common mistakes are mixing cohorts, counting new customers, and forgetting to annualize consistently. Each one distorts the percentage, sometimes by a lot.

  • Counting new customers. New logos belong in growth metrics, not retention. Including them inflates NDR.
  • Mixing cohorts. Comparing January's full base to December's full base includes customers who joined mid-year.
  • Ignoring contraction. Downgrades are easy to miss when expansion is strong. Track them as a separate line.
  • Mixing periods. A monthly NDR is not comparable to a quarterly one; label every figure with its period.
  • Using bookings instead of recurring revenue. One-time fees and services revenue distort the base.
  • Forgetting multi-year contracts. A cohort that renewed early may show no movement in a given month.

How do you use NDR to make decisions?

Use NDR to decide where to invest in retention, pricing and customer success, not just to report a number. A falling NDR points to a specific problem; the inputs tell you which one.

  • High NDR, low GRR: expansion is strong but churn is heavy. Fix onboarding and support before adding sales capacity.
  • Low NDR, high GRR: customers stay but do not grow. Review packaging, pricing tiers and add-on adoption.
  • Falling NDR across cohorts: the problem is likely product or fit, not one bad account.
  • Contraction concentrated in a segment: check seat-based pricing and usage caps for that segment.

For a broader view of the metric set, see the SaaS metrics library. Pair NDR with a cohort retention table to see whether newer cohorts are weaker than older ones.

How does NDR apply to companies that buy SaaS?

For SaaS buyers, the same formula works in reverse: treat your vendor base as a cohort and measure spend retention. Start with total annual spend across a fixed list of vendors. Then add spend from new seats or tiers, and subtract downgrades and cancelled tools.

Buyer-side line Example
Starting annual SaaS spend (fixed vendor list) $120,000
Expansion (new seats, upgraded tiers) $18,000
Contraction (downgrades) $9,000
Churn (cancelled tools) $6,000
Spend retention ($120,000 + $18,000 − $9,000 − $6,000) ÷ $120,000 × 100 = 102.5%

A result above 100% means the vendor base is growing in cost faster than it is being trimmed. A result below 100% means consolidation is working.

Both are useful, but only if the vendor list is fixed at the start. Use a SaaS spend inventory to keep that list accurate, and review it before each renewal cycle.

Frequently asked questions

What is the net dollar retention formula?

NDR = (starting recurring revenue + expansion − contraction − churn) ÷ starting recurring revenue × 100. It uses a fixed cohort of existing customers and excludes new customers.

Is net dollar retention the same as NRR?

Yes. Net dollar retention and net revenue retention are two names for the same metric and the same formula.

Can NDR be negative?

No. Starting revenue is positive, and churn plus contraction cannot exceed it in a normal cohort. A result below 0% would signal a data error.

How often should NDR be calculated?

Monthly for operations, quarterly for reporting, and by cohort for trend analysis. Always label the period, because monthly and quarterly NDR are not directly comparable.

Does NDR include new customers?

No. NDR measures revenue from a fixed group of existing customers. Including new logos turns it into a growth rate, not a retention rate.