# Rule of 40 for SaaS: What It Is and How to Calculate It

> Learn what the Rule of 40 for SaaS means, how to calculate it, and how founders can improve the balance between growth and profitability.
- **Author**: Ayush Agarwal
- **Published**: 2026-04-12
- **Category**: SaaS Finance
- **URL**: https://dodopayments.com/blogs/rule-of-40-saas

---

The Rule of 40 for SaaS is a simple formula with a sharp purpose: it helps founders judge whether growth is strong enough to justify current profitability, or whether profitability is healthy enough to compensate for slower growth.

That tradeoff matters because SaaS companies rarely optimize for both at the same time. Early companies often chase growth and accept losses. Mature companies may slow growth to improve margins. The Rule of 40 gives both camps a common benchmark.

It is not a law, and it should not replace deeper analysis. But it is one of the cleanest shorthand metrics for evaluating business quality. That is why it regularly appears in investor discussions, board updates, and finance planning.

You should never read the Rule of 40 alone. It works best with [SaaS profit](https://dodopayments.com/blogs/saas-profit), your broader [SaaS metrics KPI dashboard](https://dodopayments.com/blogs/saas-metrics-kpi), and strategies to [boost SaaS profitability](https://dodopayments.com/blogs/boost-saas-profitability) while preserving healthy [recurring revenue](https://dodopayments.com/blogs/recurring-revenue).

> The margin advantage of digital products disappears quickly if you are manually handling tax filings, chargeback disputes, and failed payment retries. Automate the operational layer so your margin stays intact.
>
> - Ayush Agarwal, Co-founder & CPTO at Dodo Payments

According to Ayush Agarwal, strong SaaS businesses are built when pricing, billing, and product value scale together. The Rule of 40 becomes much easier to hit when revenue quality is not being diluted by churn, failed payments, or inefficient monetization.

## What is the Rule of 40 for SaaS?

The Rule of 40 says that a SaaS company's revenue growth rate plus profit margin should equal or exceed 40%.

**Rule of 40 = Growth rate + Profit margin**

If the total is 40 or higher, the company is usually considered financially balanced. If it is below 40, investors or operators may ask whether growth is too slow for the current burn or whether margins are too thin for the growth profile.

```mermaid
flowchart LR
    A[Revenue growth rate] --> C[Rule of 40 score]
    B[Profit margin] --> C
    C --> D{At least 40?}
    D -->|Yes| E[Healthy balance of growth and efficiency]
    D -->|No| F[Need faster growth, higher margins, or both]
```

## Why the Rule of 40 matters

The SaaS model allows companies to invest heavily upfront because recurring revenue can compound over time. But that same model can hide inefficiency if growth is bought at any cost.

The Rule of 40 matters because it forces discipline across both sides of the equation:

- Growth quality
- Margin quality

It helps answer:

- Is our growth strong enough to justify our burn?
- Are our margins strong enough to offset slower growth?
- Are we building an efficient business or just expanding expense lines?

This is especially useful when comparing companies of different stages. A 60% growth company with -15% margin scores 45. A 20% growth company with 25% margin also scores 45. Both may be healthy, but the operational story is different.

## How to calculate the Rule of 40

The formula is easy. The nuance is choosing the right inputs.

### Step 1: Choose your growth metric

Most companies use year-over-year recurring revenue growth. Depending on reporting style, this might be ARR growth or revenue growth.

Example:

- Revenue last year: $8M
- Revenue this year: $10M
- Growth rate: 25%

### Step 2: Choose your profit metric

Common options include:

- EBITDA margin
- Operating margin
- Free cash flow margin

There is no universal standard, but whichever margin you choose should stay consistent across reporting periods.

Example:

- EBITDA margin: 18%

### Step 3: Add them together

Rule of 40 = 25% growth + 18% margin = 43%

That company clears the benchmark.

## Which margin should SaaS companies use?

This is where many calculations go sideways.

### EBITDA margin

Useful for comparing operating performance, especially in finance-heavy reporting environments.

### Operating margin

Good for understanding the business after core operating costs, but before financing effects.

### Free cash flow margin

Useful when you want to see whether the company actually turns growth into cash.

Each choice tells a slightly different story. If you are reporting internally, the most important thing is consistency and clarity.

## How to interpret Rule of 40 scores

| Score    | Interpretation                                  |
| -------- | ----------------------------------------------- |
| Below 20 | Weak balance of growth and efficiency           |
| 20 to 39 | Improving, but below ideal benchmark            |
| 40 to 50 | Healthy SaaS operating profile                  |
| 50+      | Very strong performance for most SaaS companies |

This is directional, not absolute.

- Venture-backed companies may tolerate lower scores early if growth is exceptional
- Public SaaS investors often expect stronger scores from mature businesses
- AI and usage-heavy businesses may show more volatility due to consumption swings

## Examples of the Rule of 40 in practice

### Company A: Fast growth, lower margin

- Growth: 55%
- Profit margin: -10%
- Rule of 40 score: 45%

This company is still efficient enough to justify losses because growth is strong.

### Company B: Moderate growth, strong margin

- Growth: 18%
- Profit margin: 24%
- Rule of 40 score: 42%

This business is not hypergrowth, but it is healthy and disciplined.

### Company C: Weak growth and weak margin

- Growth: 12%
- Profit margin: 5%
- Rule of 40 score: 17%

This company needs a strategic reset. Either growth must accelerate or operating efficiency must improve substantially.

## What the Rule of 40 does not tell you

The simplicity is useful, but it also hides important detail.

The Rule of 40 does not explain:

- Whether growth comes from healthy [recurring revenue](https://dodopayments.com/blogs/recurring-revenue) or aggressive discounting
- Whether margins are durable or boosted by temporary cuts
- Whether churn is worsening beneath the surface
- Whether cash flow is improving or just deferred
- Whether your customer base is compounding through strong NRR

That is why founders should pair it with:

- [SaaS profit](https://dodopayments.com/blogs/saas-profit)
- [CAC payback period](https://dodopayments.com/blogs/cac-payback-period)
- [Net revenue retention](https://dodopayments.com/blogs/net-revenue-retention-nrr)
- [Reduce churn metrics for SaaS](https://dodopayments.com/blogs/reduce-churn-metrics-saas)
- [Revenue leakage in SaaS](https://dodopayments.com/blogs/revenue-leakage-saas)
- [Build predictable revenue](https://dodopayments.com/blogs/build-predictable-revenue)

## What improves your Rule of 40 score

### 1. Improve gross retention and NRR

The easiest way to damage your Rule of 40 is to grow new business while existing revenue leaks out through churn and downgrades.

Review:

- Onboarding quality
- Failed payment recovery
- Expansion pathways
- Pricing fit

This is why [dunning management](https://dodopayments.com/blogs/dunning-management), [involuntary churn recovery](https://dodopayments.com/blogs/involuntary-churn-failed-payments), and NRR analysis belong in finance conversations, not just customer success meetings.

### 2. Raise monetization efficiency

You do not always need more demand. Sometimes you need better packaging.

High-impact monetization moves include:

- Cleaner add-on structure
- Better annual plan design
- More thoughtful [subscription pricing models](https://dodopayments.com/blogs/subscription-pricing-models)
- Expansion triggers tied to usage or seats
- Lower friction checkout and renewals

### 3. Reduce revenue leakage

Revenue leakage quietly hurts both growth and margin quality. If you lose revenue to failed payments, billing errors, or weak recovery processes, the Rule of 40 score suffers even when demand is healthy.

According to Rishabh Goel, many SaaS teams think about pricing and growth separately from billing operations. In practice, revenue quality depends on all three working together.

### 4. Control cost without killing growth

Margin improvement helps the score, but not every cut is smart. Reducing support, product investment, or onboarding quality can lower short-term costs while damaging long-term retention.

Healthy margin improvement usually comes from:

- Better automation
- Higher pricing discipline
- Cleaner unit economics
- Fewer manual finance and billing workflows
- Stronger self-serve expansion

## Why billing infrastructure affects the Rule of 40

The Rule of 40 is a finance metric, but the inputs are heavily influenced by billing systems.

Poor billing operations can hurt growth and margins through:

- Failed renewals
- Payment friction in new markets
- Tax and compliance overhead
- High manual finance workload
- Slow plan changes and entitlement updates

Dodo Payments helps SaaS companies simplify that layer by acting as Merchant of Record and supporting global sales across 220+ countries and regions. The pricing model stays straightforward:

- 4% + 40c for domestic US transactions
- +1.5% for international payments
- +0.5% for subscriptions

That structure matters because it removes fixed platform fees while combining billing, payments, and compliance in one system. It also gives teams access to [subscription management](https://docs.dodopayments.com/features/subscription), [subscription dunning](https://docs.dodopayments.com/features/recovery/subscription-dunning), [webhooks](https://docs.dodopayments.com/developer-resources/webhooks), and the [customer portal](https://docs.dodopayments.com/features/customer-portal) to keep recurring revenue healthier.

## A practical Rule of 40 review process

If you want the metric to shape decisions, not just reporting, use a simple review cadence.

### Monthly

- Update growth and margin inputs
- Track movement versus prior month and quarter
- Note major drivers behind change

### Quarterly

- Review retention and NRR impact on growth quality
- Review pricing and expansion efficiency
- Audit revenue leakage and failed payment recovery
- Compare customer acquisition efficiency to margin trends

### Annually

- Revisit your target score based on company stage
- Align budgeting with growth versus efficiency priorities
- Decide whether to bias for growth, margin, or balanced improvement

## When a low Rule of 40 score is not a disaster

A low score is a warning, not an automatic failure.

Sometimes a company is deliberately investing in a new market, a major product expansion, or a distribution reset. In those cases, a temporarily weak Rule of 40 can be rational if leadership is clear about when efficiency should improve.

The problem appears when the score stays low for too long without a believable path to better retention, stronger pricing, or healthier margins. That is why the metric works best when tied to concrete improvement plans instead of vague growth narratives.

## When the Rule of 40 is most useful

The metric is most useful when:

- You are presenting company quality to investors or board members
- You need a simple benchmark for tradeoffs between growth and margin
- You want to compare multiple operating scenarios
- You are deciding whether to accelerate spending or improve efficiency first

It is less useful as a daily operator dashboard. For that, you need more granular metrics.

It is also most helpful when leadership agrees in advance how the company will respond if the score weakens. Without that discipline, the Rule of 40 becomes a retrospective label instead of a planning tool.

## FAQ

### What is a good Rule of 40 score for SaaS?

A score of 40% or higher is generally considered healthy. Companies above 50% are often performing very well, while companies below 40% usually need either better growth, better margins, or both.

### Can an unprofitable SaaS company still pass the Rule of 40?

Yes. If revenue growth is strong enough, it can offset negative margins. For example, 60% growth and -15% margin still produces a Rule of 40 score of 45%.

### Should I use EBITDA margin or free cash flow margin?

Either can work if you stay consistent. EBITDA margin is common for operating comparisons, while free cash flow margin is useful when cash generation matters more than accounting presentation.

### Does the Rule of 40 apply to early-stage SaaS startups?

It can be directionally useful, but very early companies often prioritize growth and product learning over benchmark efficiency. It becomes more valuable as revenue scales and capital discipline matters more.

### How does churn affect the Rule of 40?

High churn hurts growth directly by shrinking recurring revenue and indirectly by making acquisition less efficient. That lowers the growth side of the formula and often raises operating costs at the same time.

## Conclusion

The Rule of 40 for SaaS is powerful because it forces one hard truth into view: sustainable growth requires a healthy balance between expansion and efficiency.

It is not enough to grow fast if margins are collapsing, and it is not enough to be profitable if growth is fading. The best SaaS businesses improve both over time by strengthening retention, pricing, monetization, and operational efficiency.

If you want a billing and Merchant of Record stack that supports cleaner recurring revenue globally, explore [Dodo Payments](https://dodopayments.com) and review [Dodo Payments pricing](https://dodopayments.com/pricing).
---
- [More SaaS Finance articles](https://dodopayments.com/blogs/category/saas-finance)
- [All articles](https://dodopayments.com/blogs)