Monthly recurring revenue (MRR) is the recurring subscription revenue a business can expect every month, with every plan converted to a monthly amount. To calculate it, take each active subscription, convert its recurring price to one month (divide annual plans by 12 and quarterly plans by 3), subtract recurring discounts, leave out tax, one-off fees and usage charges, and add the results together.

MRR = sum of the monthly recurring value of every active subscription

Monthly recurring value = recurring price after recurring discounts, excluding tax ÷ months in the billing interval

The formula is short. The hard part is the rules: what to do with a trial, an annual contract paid in January, a 25% discount that ends in six months, a customer who is past due, or an overage charge. Two teams can apply the same formula to the same billing data and get different MRR because they made different choices on those questions.

This guide covers the formula, each MRR component (new, expansion, contraction, churn, reactivation and net new MRR), the rules for every edge case, and a worked example with 10 customers over two months that reconciles starting MRR to ending MRR. It ends with SQL you can run on your own billing data and a short look at where the inputs live in Stripe, HubSpot and Salesforce.

The MRR formula

There are two ways to write the MRR formula. They give the same answer when the inputs are right.

Per subscription (the one to use):

MRR = Σ (recurring price per billing interval ÷ months in the interval) for every active subscription

Shorthand:

MRR = number of paying customers × average revenue per account (ARPA)

The shorthand is useful for a quick estimate or a forecast, for example 120 customers at an average of €450 a month is €54,000 MRR. It is not a way to calculate MRR, because ARPA itself is calculated from MRR (ARPA = MRR ÷ paying customers). If you have more than one plan, more than one billing interval or any discounts, sum per subscription instead.

From MRR you get annual recurring revenue (ARR) by multiplying by 12. ARR is the same number expressed per year, not a separate measurement.

The components of MRR

Total MRR tells you where you are. The components tell you why it moved. Every change in MRR from one month to the next falls into exactly one of five buckets:

ComponentWhat it isTypical cause
New MRRMRR from customers who have never paid beforeFirst paid subscription, trial converts to paid
Expansion MRRIncrease in MRR from existing paying customersUpgrade, more seats, add-on, price increase
Reactivation MRRMRR from customers who had churned and come backA former customer subscribes again
Contraction MRRDecrease in MRR from customers who stayDowngrade, fewer seats, new recurring discount
Churn MRRAll the MRR of customers who leaveCancellation, subscription ends, unpaid account

These add up to net new MRR:

Net new MRR = new MRR + expansion MRR + reactivation MRR - contraction MRR - churn MRR

And net new MRR connects last month to this month. This is the MRR bridge, sometimes called the MRR roll-forward:

Ending MRR = starting MRR + net new MRR

If your bridge does not add up, something is being counted twice or not at all. A common cause is a customer who downgrades and cancels in the same month: count the full starting MRR as churn and nothing as contraction.

Two conventions to decide once and write down:

  • Customer level or subscription level. Classify movements per customer, not per subscription. A customer who moves from one subscription to another on a new plan is an upgrade or a downgrade, not one churn plus one new customer.
  • When a customer counts as reactivated. Most teams count anyone who paid before and had zero MRR last month as reactivation. Some only count it after a gap of a few months and treat a short lapse (a failed card fixed a week later) as no change at all.

What counts in MRR: the rules

These are the decisions that make two MRR numbers disagree. The rule in the second column is the most common convention. Stripe Billing's own MRR follows it by default for taxes, trials, free plans, usage and past-due subscriptions.

ItemRule
Annual, quarterly, multi-year plansDivide the recurring price by the months in the billing interval. €12,000 a year is €1,000 MRR.
Recurring discountsSubtract them while they apply. €400 with 25% off for 12 months is €300 MRR until the discount ends.
One-time discounts and creditsLeave them out of MRR. They change one invoice, not the recurring value.
Free trialsNot MRR. The subscription counts as new MRR when it converts to paid.
Free plansNot MRR, and the customer is not a paying customer.
Usage-based and overage chargesLeave variable usage out of MRR and report it as a separate usage revenue line. Count a committed minimum.
Taxes (VAT, sales tax)Always excluded. MRR is revenue, and tax belongs to the tax authority.
One-off feesExcluded: setup, onboarding, implementation, training and professional services.
Mid-month upgrades and prorationCount the new recurring price from the change. Prorated catch-up charges on the invoice are not MRR.
Past due (payment failed, retrying)Still MRR until the subscription is cancelled or marked unpaid. Then it is churn.
Paused subscriptionsZero while paused. Treat a pause as contraction or churn, and the resume as expansion or reactivation.
Multiple currenciesConvert at a fixed rate per currency, so exchange rate swings do not show up as growth or churn.
Signed but not startedNot MRR yet. Track it separately as booked or contracted MRR and move it into MRR on the start date.

Two of these deserve a closer look.

Usage-based pricing. If part of the price depends on consumption (API calls, rows, seats billed in arrears), MRR gets noisy. The common approach is to count the fixed platform fee and any committed minimum as MRR and to report usage revenue next to it. Some companies with mostly usage-based revenue use a trailing three-month average of usage instead. Either way, say which one you use, because the choice moves the number. Stripe's own MRR, for example, excludes metered prices.

Currency. If you bill in euros, dollars and pounds, converting at each month's spot rate means a weak dollar shows up as contraction even though no customer changed anything. Use a fixed rate for the year (a budget rate) for the bridge, or report foreign exchange as its own line in the bridge so it is not mixed into expansion and contraction. Stripe's MRR growth chart does the second: it adds an FX adjustment line.

Worked example: an MRR bridge from March to April

A small SaaS company has 10 customer accounts. MRR is measured on the last day of each month. Here is every account, what changed and how much each one counts for:

CustomerPlan and billingMarch MRRApril MRRMovement in April
AMonthly, €625 invoice including 25% VAT€500€500Unchanged
BAnnual, €12,000 paid upfront in January€1,000€1,000Unchanged
CMonthly, €100 per seat, grew from 8 to 12 seats on 10 April€800€1,200Expansion, +€400
DMoved from the €600 plan to the €450 plan€600€450Contraction, -€150
EMonthly €300, cancelled, ended 15 April€300€0Churn, -€300
FNew in April: €1,500 per quarter plus a €2,000 onboarding fee€0€500New, +€500
GPaid €250 a month until January, came back in April€0€250Reactivation, +€250
H14-day free trial started 20 April€0€0Not counted
I€400 list price with 25% off for the first 12 months€300€300Unchanged
J€200 platform fee plus usage (€85 of usage in April)€200€200Unchanged
Total€3,700€4,400

Each line applies one rule from the table above:

  • A: the invoice is €625, but €125 of it is VAT. MRR is €500.
  • B: paid €12,000 in January and nothing since. It still contributes €12,000 ÷ 12 = €1,000 every month.
  • C: the upgrade happened mid-month, so the April invoice has a prorated charge for the extra seats. MRR counts the new recurring price, 12 × €100 = €1,200, and ignores the proration.
  • F: invoiced €3,500 in April (€1,500 + €2,000), yet adds €500 to MRR: €1,500 ÷ 3. The onboarding fee is one-off.
  • H: the trial is not revenue yet. If it converts in May, it is new MRR in May.
  • I: the discount recurs, so MRR is €400 × 0.75 = €300. When the discount ends, MRR goes to €400 and the €100 is expansion.
  • J: only the platform fee is MRR. The €85 of usage goes in a separate usage revenue line.

Now the bridge:

LineCalculationAmount
Starting MRR (March)A + B + C + D + E + I + J€3,700
+ New MRRF+€500
+ Expansion MRRC: €1,200 - €800+€400
+ Reactivation MRRG+€250
- Contraction MRRD: €600 - €450-€150
- Churn MRRE-€300
Ending MRR (April)€3,700 + €500 + €400 + €250 - €150 - €300€4,400

Net new MRR is €500 + €400 + €250 - €150 - €300 = €700. The bridge reconciles: €3,700 + €700 = €4,400, which is the total of the April column in the customer table.

MRR bridge from March to April for the worked example, drawn as a waterfall with the value axis starting at 3,000 euros. Starting MRR in March is 3,700 euros. New MRR from customer F adds 500, expansion from customer C adds 400 and reactivation from customer G adds 250. Contraction from customer D removes 150 and churn from customer E removes 300. Ending MRR in April is 4,400 euros, so net new MRR is plus 700 euros.

The same numbers give you the metrics people usually report next to MRR:

MetricFormulaApril
ARREnding MRR × 12€52,800
MRR growth rateNet new MRR ÷ starting MRR18.9%
ARPAEnding MRR ÷ paying customers (8)€550
Gross MRR churn rate(Contraction + churn) ÷ starting MRR12.2%
Net MRR retention(Starting + expansion - contraction - churn) ÷ starting MRR98.6%
SaaS quick ratio(New + expansion + reactivation) ÷ (contraction + churn)2.6

Reactivation is left out of net MRR retention because customer G was not paying at the start of the month. For more on that metric, see how to calculate net revenue retention.

How to calculate MRR in SQL

In a data warehouse, MRR is two steps: turn subscription data into one row per customer per month with its MRR, then compare each month with the month before.

Step 1: monthly MRR per customer. Assuming a table with one row per active subscription item per month, the rules above become filters and arithmetic:

SQL
1select
2    customer_id,
3    month,
4    sum(
5        unit_amount * quantity                          -- list price, excluding tax
6        * (1 - coalesce(discount_percent, 0) / 100.0)   -- recurring discounts only
7        / interval_months                               -- 12 for annual, 3 for quarterly
8        * fx_rate_to_eur                                -- one fixed rate per currency
9    ) as mrr
10from subscription_items_by_month
11where status in ('active', 'past_due')
12  and not is_trialing
13  and usage_type = 'licensed'                           -- leaves out metered usage
14group by customer_id, month

Building subscription_items_by_month from raw billing tables is where most of the work is. For Stripe, the step-by-step version is in how to calculate MRR with Stripe using SQL.

Step 2: the bridge. With a customer_mrr table (customer_id, month, mrr) holding one row per paying customer per month, this query classifies every customer for April and sums each component. It uses a full outer join, so it runs on BigQuery, Snowflake, Postgres, Redshift and DuckDB:

SQL
1with this_month as (
2    select customer_id, mrr from customer_mrr where month = date '2026-04-01'
3),
4last_month as (
5    select customer_id, mrr from customer_mrr where month = date '2026-03-01'
6),
7paid_before as (
8    select distinct customer_id from customer_mrr where month < date '2026-03-01'
9),
10movements as (
11    select
12        coalesce(t.customer_id, l.customer_id) as customer_id,
13        coalesce(l.mrr, 0) as start_mrr,
14        coalesce(t.mrr, 0) as end_mrr,
15        case
16            when l.customer_id is null and p.customer_id is null then 'new'
17            when l.customer_id is null then 'reactivation'
18            when t.customer_id is null then 'churn'
19            when t.mrr > l.mrr then 'expansion'
20            when t.mrr < l.mrr then 'contraction'
21            else 'unchanged'
22        end as movement
23    from this_month t
24    full outer join last_month l on l.customer_id = t.customer_id
25    left join paid_before p on p.customer_id = coalesce(t.customer_id, l.customer_id)
26)
27select
28    sum(start_mrr) as starting_mrr,
29    sum(case when movement = 'new' then end_mrr else 0 end) as new_mrr,
30    sum(case when movement = 'expansion' then end_mrr - start_mrr else 0 end) as expansion_mrr,
31    sum(case when movement = 'reactivation' then end_mrr else 0 end) as reactivation_mrr,
32    sum(case when movement = 'contraction' then start_mrr - end_mrr else 0 end) as contraction_mrr,
33    sum(case when movement = 'churn' then start_mrr else 0 end) as churn_mrr,
34    sum(end_mrr) as ending_mrr
35from movements

Run on the 10 customers above (with customer G's January row), it returns 3,700, 500, 400, 250, 150, 300 and 4,400: the same bridge as the table. To get every month at once, replace the two fixed dates with a join of customer_mrr to itself on the previous month, and make sure customers with zero MRR still get a row, otherwise churn disappears from the result.

Where the MRR inputs live

MRR should come from the system that bills customers, because that is where cancellations, failed payments, discounts and plan changes are recorded as they happen. A CRM records what was sold, which is useful but is not the same thing.

Stripe. Stripe Billing has an MRR chart and three downloadable reports, including a log of every MRR change per customer. By default, Stripe's MRR is the monthly-normalised value of all active and past_due subscriptions. It excludes taxes, free plans and metered (usage-based) prices, and it treats a subscription as churned when it is cancelled or marked unpaid. Items in a trial are excluded. You can choose whether recurring and one-time discounts are subtracted. If you build MRR yourself, the inputs are the subscriptions, subscription items, prices, coupons and invoices objects.

HubSpot. Each recurring line item on a deal has MRR, ARR and total contract value properties that HubSpot fills in automatically, next to the billing frequency and term you set on the line item. These are booked values from deals, so they tell you what sales closed, not what was billed or whether the customer is still paying. They are a good source for forecasting and for checking billing data, and a weak source for churn and contraction.

Salesforce. Sales Cloud has no standard MRR field. Recurring revenue lives on opportunity products (the OpportunityLineItem object), and if revenue scheduling is turned on, on the monthly schedule rows below them (OpportunityLineItemSchedule). To measure MRR in Salesforce, sum the recurring opportunity products on closed-won opportunities whose service period covers the month, divide each by its term in months, and leave out one-time products. Companies on Salesforce's own subscription and billing products have dedicated subscription records to read instead. Either way, cancellations and downgrades only show up if someone records them in Salesforce, which is why a billing system is the better source for churn.

The most reliable setup uses both: billing data for actual MRR, CRM data for owner, segment and booked deals, joined on a customer ID in a warehouse.

MRR vs ARR vs revenue

MetricWhat it measuresIncludes one-off fees and usageUsed for
MRRRecurring subscription value at a point in time, per monthNoMonthly growth, churn, SaaS dashboards
ARRMRR × 12NoAnnual contracts, valuation, planning
Recognised revenueRevenue earned in the period under accounting rulesYesFinancial statements, tax
Cash collectedMoney received in the periodYesCash flow, runway

In the worked example, customer B shows the difference. B contributes €1,000 of MRR in April and €1,000 of recognised revenue (one twelfth of the contract), but no cash at all, because B paid for the whole year in January. Customer F adds €500 of MRR but €3,500 of April invoices. MRR is an operating metric. It does not replace your accounting revenue, and it should never be reported as if it were.

Common MRR mistakes

  1. Counting the invoice instead of the subscription. Annual plans then show up as a spike in the month they are paid and as churn in the other 11.
  2. Including tax. With 25% VAT, a customer paying €625 counts for €625 instead of €500.
  3. Counting trials, free plans or signed-but-not-started deals. All three inflate MRR with revenue nobody is paying yet.
  4. Adding one-off fees and services. Setup and implementation fees make the month they land in look like growth.
  5. Ignoring discounts, or subtracting one-time credits. Recurring discounts reduce MRR while they apply. A one-time credit does not.
  6. Mixing usage into MRR without saying so. Variable usage makes MRR move with seasonality instead of with customers.
  7. Treating every change of subscription as churn plus new. Classify at customer level, otherwise upgrades show up as churn.
  8. Converting currencies at the monthly spot rate. Exchange rate moves then look like expansion and contraction.
  9. A bridge that does not add up. If starting MRR plus the components is not ending MRR, there is a bug. Check it every month.

Tracking MRR with Weld

Weld syncs billing and CRM data, including Stripe, Chargebee, Recurly, HubSpot and Salesforce, into your data warehouse, where you can model MRR with SQL like the queries above and schedule the models to refresh. The Stripe connector comes with SQL templates to start from. Once the model exists, reverse ETL can send each customer's MRR back to HubSpot or Salesforce, so the people who own the account see the same number as finance, and the Weld MCP server lets an AI assistant such as Claude query the model directly.

Sign up to Weld

Ready to start transforming your data into insights? Get started with Weld for free today.

FAQ