# Revenue Formula: How to Calculate Revenue (with SaaS Examples)

> Learn the revenue formula, how to calculate revenue for SaaS businesses, and which variations - total, recurring, net, usage-based - apply at each growth stage.
- **Author**: Ayush Agarwal
- **Published**: 2026-04-21
- **Category**: Finance, SaaS Metrics
- **URL**: https://dodopayments.com/blogs/revenue-formula

---

The revenue formula is one of the first things a founder learns and one of the first things a scaling founder gets wrong.

Not because the math is hard. The basic formula is simple. The problem is that "revenue" means different things depending on your billing model, your accounting method, and where your customers are located.

**Quick answer:** The basic revenue formula is:

```text
Revenue = Price x Quantity Sold
```

If you sell 400 licenses at $25 each, your revenue is $10,000. That works for a single product with a fixed price. But most SaaS businesses outgrow this formula within months because subscriptions, usage tiers, refunds, and tax obligations turn a one-line equation into a system of formulas that each answer a different question.

This guide covers the core revenue formula, five SaaS-specific variations, what to include and exclude from each, worked examples at three growth stages, and how Merchant of Record platforms change the way revenue shows up on your books.

## The basic revenue formula

The starting point is always the same:

```text
Revenue = Price x Quantity Sold
```

For a SaaS business selling monthly subscriptions:

```text
Revenue = Monthly Subscription Price x Number of Active Subscribers
```

If your product costs $49 per month and you have 300 paying customers, your monthly revenue is:

```text
$49 x 300 = $14,700
```

This version works when your business has one plan, one billing cycle, and no adjustments. The moment you introduce annual plans, usage overages, discounts, or multiple pricing tiers, you need more specific formulas.

## Five SaaS revenue formulas

SaaS businesses need different revenue formulas depending on what they are trying to measure. Here is how the five most common versions compare.

| Formula | What It Measures | Calculation | When to Use |
|---|---|---|---|
| Total Revenue | All revenue from all sources | Sum of all revenue streams (subscriptions + one-time + services) | Top-line reporting, investor updates |
| Recurring Revenue (MRR) | Predictable subscription revenue only | Sum of all active recurring charges, normalized monthly | Forecasting, retention analysis |
| Net Revenue | Revenue after deductions | Gross Revenue - Refunds - Chargebacks - Discounts - Taxes Collected | Financial statements, margin analysis |
| Deferred Revenue | Revenue collected but not yet earned | Cash collected for future service periods | Balance sheet, ASC 606 compliance |
| Billings | Total invoiced amount | Revenue recognized + Change in deferred revenue | Cash flow planning, collections |

Each of these formulas answers a different question. Using the wrong one leads to decisions based on the wrong numbers.

For a deeper breakdown of gross versus net revenue and the common mistakes SaaS founders make when deducting refunds, chargebacks, and taxes, see our guide to [gross revenue vs net revenue](https://dodopayments.com/blogs/gross-revenue-vs-net-revenue).

## How to calculate recurring revenue

Recurring revenue is the metric that separates SaaS from one-time software sales. There are two standard ways to express it.

### MRR (Monthly Recurring Revenue)

```text
MRR = Number of Active Subscribers x Average Revenue per Subscriber (monthly)
```

If you have 500 customers paying an average of $60 per month:

```text
MRR = 500 x $60 = $30,000
```

For more detail on MRR components like new, expansion, contraction, and churned MRR, see our [MRR guide](https://dodopayments.com/blogs/mrr-monthly-recurring-revenue).

### ARR (Annual Recurring Revenue)

```text
ARR = MRR x 12
```

Using the example above:

```text
ARR = $30,000 x 12 = $360,000
```

ARR is better for annual planning and benchmarking against other SaaS companies. To understand when to use MRR versus ARR, read [MRR vs ARR](https://dodopayments.com/blogs/mrr-vs-arr) and [what is ARR](https://dodopayments.com/blogs/what-is-arr-annual-recurring-revenue).

## The usage-based revenue formula

Usage-based pricing is growing across SaaS, especially for API products, AI tools, and infrastructure platforms. The revenue formula changes because price is not fixed per customer.

```text
Usage Revenue = Sum of (Units Consumed x Price per Unit) across all customers
```

If Customer A uses 10,000 API calls at $0.002 each and Customer B uses 50,000 calls at $0.002 each:

```text
Customer A: 10,000 x $0.002 = $20
Customer B: 50,000 x $0.002 = $100
Usage Revenue = $20 + $100 = $120
```

Many SaaS companies combine a base subscription with usage overages. That creates a hybrid formula:

```text
Hybrid Revenue = Base Subscription Fee + Usage Overage Charges
```

If you are building or evaluating a usage-based model, our guide on [usage-based billing for SaaS](https://dodopayments.com/blogs/usage-based-billing-saas) covers the operational side, and [Dodo's subscription features](https://docs.dodopayments.com/features/subscription) handle the billing infrastructure.

## What to include and exclude

The revenue formula is only useful if you put the right inputs into it. Founders frequently miscount by including items that inflate the number or excluding adjustments that belong.

### Include in revenue

- Subscription fees (monthly and annual, normalized)
- Usage charges above committed minimums
- Seat-based fees for active users
- Platform fees charged to customers
- One-time license purchases (for total revenue, not MRR)

### Exclude from revenue

- **Refunds** - These reduce net revenue directly. Track them in real time, not at quarter-end. See [revenue leakage in SaaS](https://dodopayments.com/blogs/revenue-leakage-saas) for why delayed refund tracking distorts your numbers.
- **Chargebacks** - A lost dispute is a revenue reversal, not an expense.
- **Discounts** - If you offer 20% off, your revenue is the discounted price, not the list price.
- **Taxes collected on behalf of authorities** - Sales tax, VAT, and GST collected from customers are pass-through liabilities. They are not your revenue.
- **Deferred revenue** - Cash collected for future periods is a liability until the service is delivered. For more on this, read [deferred revenue explained](https://dodopayments.com/blogs/deferred-revenue-explained) and [accrued revenue](https://dodopayments.com/blogs/accrued-revenue).

> Most founders confuse billings with recognized revenue until the gap causes a real problem. You invoice $120,000 in annual contracts, but only $10,000 of that is revenue this month. The other $110,000 is deferred. If you plan hiring against the $120,000 number, you are spending money you have not earned yet.
>
> \- Ayush Agarwal, Co-founder & CPTO at Dodo Payments

## Revenue at three growth stages

How you calculate and use the revenue formula changes as the business scales.

### Stage 1: Pre-product-market fit ($0 to $10K MRR)

At this stage, the basic formula is enough:

```text
Revenue = Price x Customers
```

Focus on whether the number is growing month over month. Track [ARPU](https://dodopayments.com/blogs/arpu-average-revenue-per-user) to understand whether your pricing holds up across customer segments. The goal is not precision. The goal is signal.

### Stage 2: Growth ($10K to $100K MRR)

Now you need the full MRR breakdown:

```text
Net New MRR = New MRR + Expansion MRR - Contraction MRR - Churned MRR
```

This tells you whether growth is sustainable or whether churn is hiding behind new sales. Track [net revenue retention](https://dodopayments.com/blogs/net-revenue-retention-nrr) to measure whether existing customers generate more revenue over time.

At this stage, you should also start tracking the [growth rate formula](https://dodopayments.com/blogs/growth-rate-formula) to benchmark against peers.

### Stage 3: Scale ($100K+ MRR)

At scale, you need all five formulas from the comparison table. Total revenue, recurring revenue, net revenue, deferred revenue, and billings each serve a different audience: your board, your finance team, your sales team, and your auditors.

You also need clean revenue recognition. If you sell annual plans, you recognize one-twelfth each month. If you sell usage-based, you recognize when the usage occurs. Getting this wrong creates compliance problems and makes [EBIT calculations](https://dodopayments.com/blogs/ebit-formula-explained) unreliable.

## From payment to recognized revenue

Understanding how a customer payment becomes recognized revenue helps clarify which formula applies at each step.

```mermaid
flowchart LR
    A["Customer pays"] -->|"Payment processed"| B["Cash received"]
    B -->|"Tax withheld"| C["Tax liability"]
    B -->|"Net amount"| D["Deferred revenue"]
    D -->|"Service delivered"| E["Recognized revenue"]
    E -->|"Refunds, chargebacks"| F["Net revenue"]
    F -->|"Reported"| G["Financial statements"]
```

The payment enters as cash. Tax is separated as a liability. The remaining amount sits as deferred revenue until the service period passes. Once earned, it becomes recognized revenue. After adjustments for refunds and chargebacks, it becomes net revenue on your financial statements.

This is why the revenue number on your payment dashboard often differs from the revenue number on your income statement. They are measuring different stages of the same flow.

## How Merchant of Record platforms change revenue reporting

If you use a Merchant of Record like [Dodo Payments](https://dodopayments.com), revenue reporting works differently than with a standard payment gateway.

With a payment gateway, you are the seller. You collect the full amount, handle tax remittance yourself, absorb chargebacks, and report gross revenue minus your own deductions.

With a Merchant of Record:

- The MoR is the legal seller of record
- Tax is calculated, collected, and remitted by the MoR
- Your payout is net of fees, tax, and any chargebacks
- Your revenue is the payout amount, not the gross transaction value

This simplifies your revenue formula because the payout you receive is already net of items you would otherwise need to manually deduct. You do not need to track and reconcile tax liabilities across jurisdictions yourself.

For [recurring payments](https://dodopayments.com/blogs/recurring-payments-guide), this is especially valuable because the MoR handles failed payment recovery, subscription lifecycle management, and cross-border tax on every renewal automatically.

See [Dodo Payments pricing](https://dodopayments.com/pricing) for the transparent fee structure that determines your net payout.

## FAQ

### What is the basic revenue formula?

The basic revenue formula is Revenue = Price x Quantity Sold. For SaaS businesses, this typically becomes Revenue = Monthly Subscription Price x Number of Active Subscribers, though most companies need additional formulas for recurring, net, and deferred revenue as they scale.

### How is the revenue formula different for SaaS companies?

SaaS companies use multiple revenue formulas because subscriptions create deferred revenue, usage-based pricing makes per-customer revenue variable, and adjustments like refunds and chargebacks require a net revenue calculation. The basic formula still applies but needs to be supplemented with MRR, ARR, and net revenue calculations.

### Should I use gross revenue or net revenue?

Use gross revenue for top-line growth tracking and net revenue for financial reporting and margin analysis. Net revenue gives a more accurate picture of what the business actually earns after refunds, chargebacks, discounts, and pass-through taxes. For a detailed comparison, see our guide to [gross revenue vs net revenue](https://dodopayments.com/blogs/gross-revenue-vs-net-revenue).

### What is the difference between billings and revenue?

Billings represent the total amount invoiced to customers in a period, including payments for future service. Revenue is recognized only when the service is delivered. A $12,000 annual contract invoiced today creates $12,000 in billings but only $1,000 in recognized revenue for the current month.

### How does a Merchant of Record affect my revenue calculation?

A Merchant of Record collects payment as the legal seller, handles tax remittance, and pays you a net amount after fees and deductions. Your revenue is based on the payout received, not the gross transaction value. This simplifies reporting because you do not need to separately track and deduct tax liabilities, chargebacks, or processing fees from your revenue figures.

## Final take

The revenue formula is not one formula. It is a set of formulas that evolve with your business.

At the earliest stage, Revenue = Price x Quantity Sold gives you the signal you need. As the business grows, you need recurring revenue formulas for forecasting, net revenue for financial accuracy, and deferred revenue for compliance.

The underlying principle stays the same: count only what you have earned, deduct what you owe, and make sure the number you use matches the question you are trying to answer.
---
- [More Finance articles](https://dodopayments.com/blogs/category/finance)
- [All articles](https://dodopayments.com/blogs)