---
title: "Rule of 40: the SaaS score, net revenue retention and more"
url: "https://amaltash.com/articles/rule-of-40"
published: "2026-11-28T08:53:11.575254+00:00"
summary: "What the rule of 40 is, how to work it out, and real scores for eight big software companies so you can check the math."
---

# Rule of 40: the SaaS score, net revenue retention and more

What the rule of 40 is, how to work it out, and real scores for eight big software companies so you can check the math.

Written by Charvi Agarwal (COO); Arpit Agarwal (Founder & CEO); Amaltash Research (Amaltash Advisors LLC).
Reviewed by Arpit Agarwal (Founder & CEO); Charvi Agarwal (COO); The Amaltash Team (Editorial review).
Updated 2026-11-28 · Published 2026-11-28.

The short answer. The rule of 40 is a quick test for software companies. Add the revenue growth rate and the profit margin. If the sum is 40% or more, the company passes. Most people use free cash flow margin as the profit part.

## What is the rule of 40?

Young software companies face a trade. They can spend a lot to grow fast. Or they can spend less and keep more cash. It is hard to do both at once.

The rule of 40 puts both in one number. A company that grows 30% a year can lose some money and still pass. A company that grows 10% needs a 30% margin to pass.

It is a rule of thumb, not a law. Investors in software use it to compare companies of different ages. It is used most for SaaS. SaaS means "software as a service." You pay for it each month or year, often in a web browser.

## Rule of 40 formula

Rule of 40 score = revenue growth rate + profit margin

- Revenue growth rate is this year's revenue compared with last year's. Made-up example: revenue went from $100 to $120. Growth is 20%.
- Profit margin is profit ÷ revenue. Most people use [free cash flow margin](https://amaltash.com/articles/free-cash-flow). That is operating cash flow minus capital spending, divided by revenue. Some use [EBITDA margin](https://amaltash.com/articles/ebitda) or [operating margin](https://amaltash.com/articles/gross-margin) instead.

A score of 40 or more passes. Here is a made-up example with round numbers.

- A company grew revenue 25%.
- Its free cash flow margin was 15%.
- 25 + 15 = 40. It just passes.

Another one grew 50% but had a free cash flow margin of −20%. It burned cash. 50 + (−20) = 30. It fails.

## Who came up with the rule of 40?

No single person owns it. Brad Feld, a venture investor, wrote it up on his blog on February 3, 2015. His post was called "The Rule of 40% For a Healthy SaaS Company." He said he heard it from a late-stage investor in a board meeting. He did not name that investor.

## Rule of 40 for eight big software companies

As of November 25, 2026, from each company's latest 10-K (SEC EDGAR).

Dollar figures are in millions. Growth compares the latest fiscal year with the one before. Free cash flow is operating cash flow minus purchases of property and equipment. For Datadog and CrowdStrike, we also took out capitalized software, which they show on its own line. The score is our math: the sum of the two rounded numbers.

| Company | Year ends | Revenue | Revenue growth | Free cash flow | FCF margin | Rule of 40 score |
| --- | --- | --- | --- | --- | --- | --- |
| [Salesforce](https://amaltash.com/market/crm) | Jan 31, 2026 | $41,525 | 9.6% | $14,402 | 34.7% | 44.3 |
| ServiceNow | Dec 31, 2025 | $13,278 | 20.9% | $4,576 | 34.5% | 55.4 |
| Workday | Jan 31, 2026 | $9,552 | 13.1% | $2,777 | 29.1% | 42.2 |
| Snowflake | Jan 31, 2026 | $4,684 | 29.2% | $1,120 | 23.9% | 53.1 |
| Datadog | Dec 31, 2025 | $3,427 | 27.7% | $915 | 26.7% | 54.4 |
| CrowdStrike | Jan 31, 2026 | $4,812 | 21.7% | $1,241 | 25.8% | 47.5 |
| [Palantir](https://amaltash.com/market/pltr) | Dec 31, 2025 | $4,475 | 56.2% | $2,101 | 46.9% | 103.1 |
| Adobe | Nov 28, 2025 | $23,769 | 10.5% | $9,852 | 41.4% | 51.9 |

Source: Each company's 10-K, read from SEC EDGAR data on November 25, 2026. Links are in Sources below.

All eight pass on this math. But they pass in different ways.

Look at Salesforce and Adobe. They grew about 10%. They pass because they keep a lot of cash from each sale.

Look at Snowflake and Datadog. They grew close to 30%. Their cash margins are lower. Growth carries more of the score.

Look at Palantir. It grew 56.2% and kept a 46.9% margin. Both parts are high, so its score is over 100.

## Worked example: Salesforce, step by step

Here is the full math for Salesforce. Its fiscal year ended January 31, 2026. Dollar figures are in millions.

1. Find this year's revenue. Total revenue was $41,525.
2. Find last year's revenue. For the year ended January 31, 2025, it was $37,895.
3. Growth rate. $41,525 ÷ $37,895 − 1 = 9.6%.
4. Find operating cash flow. The [cash flow statement](https://amaltash.com/articles/cash-flow-statement) shows $14,996.
5. Find capex. Capital expenditures were $594.
6. Free cash flow. $14,996 − $594 = $14,402.
7. Free cash flow margin. $14,402 ÷ $41,525 = 34.7%.
8. Add. 9.6 + 34.7 = 44.3. That is above 40, so it passes.

Now one more check. Salesforce paid $3,509 in stock to its workers. That is 8.5% of revenue. Operating cash flow adds stock pay back, as if it cost nothing. Take it out, and the score is 44.3 − 8.5 = 35.8. Now it is under 40.

## What is net revenue retention?

Net revenue retention (NRR) asks one question. Take the customers you had a year ago. How much do they pay you now, compared with then?

NRR = what last year's customers pay now ÷ what they paid a year ago

- It counts customers who buy more. That is called expansion.
- It takes off customers who buy less, and [customers who leave](https://amaltash.com/articles/unit-economics).
- It leaves out brand-new customers.

Made-up example: a year ago, your customers paid $100 a year. Today the same group pays $120. Some bought more. A few left. NRR is $120 ÷ $100 = 120%.

Over 100% means the old customers grew on their own. A company could sign no new customers and still grow.

## Net dollar retention vs net revenue retention

They mean about the same thing. Some companies say "net revenue retention." Some say "dollar-based net retention." Some say "net dollar retention." Each company writes its own definition in its [10-K](https://amaltash.com/articles/sec-filings). Some use yearly recurring revenue, called ARR. Some use product revenue. So read the definition before you compare.

Three companies in our table report it in their 10-K.

As of November 25, 2026, from each company's latest 10-K (SEC EDGAR).

| Company | What they call it | Rate | As of |
| --- | --- | --- | --- |
| Snowflake | Net revenue retention rate | 125% | Jan 31, 2026 |
| Datadog | Trailing 12-month dollar-based net retention rate | "about 120%" | Dec 31, 2025 |
| CrowdStrike | Dollar-based net retention rate | 115% | Jan 31, 2026 |

The others in our table did not report an NRR number in their 10-K. We did not fill one in.

## What is gross retention rate?

Gross retention leaves out expansion. It only counts what you lose. So it can never be over 100%.

Gross retention = (what last year's customers paid a year ago − what was lost) ÷ what they paid a year ago

Made-up example: customers paid $100 a year ago. Some left or cut back by $5 in all. Gross retention is $95 ÷ $100 = 95%.

ServiceNow reports a close cousin, called a renewal rate. Its 10-K says the renewal rate was 98% for each of 2025, 2024 and 2023. ServiceNow works it out from lost contract value, in its own way.

## What is the magic number in SaaS?

The magic number asks: how much new revenue did each $1 of sales and marketing bring in?

Magic number = revenue added this year ÷ last year's sales and marketing spend

Many investors use quarters and annualize them. Here we use a simple yearly version from the 10-K. Made-up example: a company added $50 of revenue. Last year it spent $100 on sales and marketing. The magic number is 0.5.

A common rule of thumb says above about 0.75 is efficient. Below about 0.5 can mean sales costs too much. These cut-offs are habits, not rules.

## Score without stock pay, and the magic number

As of November 25, 2026, from each company's latest 10-K (SEC EDGAR). Dollar figures are in millions. Our math.

| Company | Stock pay | Stock pay, % of revenue | Score minus stock pay | Magic number (yearly) |
| --- | --- | --- | --- | --- |
| Salesforce | $3,509 | 8.5% | 35.8 | 0.27 |
| ServiceNow | $1,955 | 14.7% | 40.7 | 0.60 |
| Workday | $1,626 | 17.0% | 25.2 | 0.45 |
| Snowflake | $1,600 | 34.1% | 19.0 | 0.63 |
| Datadog | $751 | 21.9% | 32.5 | 0.98 |
| CrowdStrike | $1,097 | 22.8% | 24.7 | 0.56 |
| Palantir | $684 | 15.3% | 87.8 | 1.81 |
| Adobe | $1,942 | 8.2% | 43.7 | 0.39 |

Stock pay is the "share-based compensation" line on the cash flow statement. The magic number uses revenue growth and the prior year's "sales and marketing" line.

Take out stock pay and only three of the eight still pass. Snowflake falls the most, from 53.1 to 19.0.

## What is the burn multiple?

The burn multiple is for companies that lose cash. It asks: how much cash did you burn to add $1 of new yearly revenue?

Burn multiple = net cash burned ÷ net new ARR

Made-up example: a company burned $20 of cash this year. Its yearly recurring revenue grew by $10. The burn multiple is $20 ÷ $10 = 2. Lower is better. Under 1 is often called very good.

David Sacks, an investor, wrote about it on April 23, 2020. His post was called "The Burn Multiple." All eight companies in our table made cash, so the burn multiple does not apply to them.

## What are the key SaaS metrics?

Here is a short cheat sheet. Each one answers a different question.

| Metric | Formula | What it tells you |
| --- | --- | --- |
| Rule of 40 | Revenue growth % + FCF margin % | Is growth paid for with enough cash? |
| Net revenue retention | Old customers' revenue now ÷ a year ago | Do customers spend more over time? |
| Gross retention | (Revenue a year ago − revenue lost) ÷ revenue a year ago | How much do you lose? |
| Magic number | Revenue added ÷ last year's sales and marketing | Is sales spending paying off? |
| Burn multiple | Cash burned ÷ net new ARR | How much cash does growth cost? |
| ARR | Yearly value of recurring contracts | How big is the steady revenue? |

The [CAGR calculator](https://amaltash.com/cagr-calculator) works out growth per year across many years. That helps when one year looks odd.

## Where it misleads you

The rule of 40 is quick. It can also fool you.

- Stock pay is left out. Free cash flow adds stock pay back. But stock pay adds shares, which is a real cost to owners. In our table, five of eight fall under 40 once you take it out.
- Each company picks its own margin. Some use free cash flow. Some use adjusted operating margin or EBITDA. A score a company shows in its own slides can differ from ours. Check which margin was used.
- One year can be odd. A big contract or a cut in hiring can move one year a lot. Look at several years.
- Buying other companies lifts growth. Revenue from a purchase looks like growth. But the company did not earn it by selling more.
- It says nothing about price. A company can pass and still have a stock price that falls. The score is not a reason to buy or sell.
- NRR has no common rule. Each company defines it. Comparing 125% at one with 115% at another may not be fair.
- The dates don't match. The fiscal years in our tables end on different dates.
- Past is not a forecast. A good score last year says nothing sure about next year. Testing an idea on past data, like in [backtesting](https://amaltash.com/articles/backtesting), has the same limit.

## Risks and limits

- Our tables use one fiscal year per company, from its latest 10-K.
- Capex is each company's purchases-of-property line. For Datadog and CrowdStrike we also took out the capitalized software line. We made no other changes.
- Companies can fix, or restate, old filings. Check the latest filing.
- Nothing here is advice to buy or sell any stock. You can lose money investing.

## Do this in Amaltash

Amaltash can research a company for you from its SEC filings. Ask for its revenue growth, free cash flow margin and rule of 40 score. It shows each number, the math and the filing it came from. You can also build a trading strategy and test it on past prices. That is called [backtesting](https://amaltash.com/articles/backtesting).

- As of November 28, 2026, Amaltash has no free plan. Your first 30 days cost $1. Then Pro is $20 a month. See [pricing](https://amaltash.com/pricing).
- Pro and Ultra are monthly plans with no lock-ins and no cancellation fees.
- No sales call: sign up online and start today.

## Ask Amaltash

Get the answer with every number traced to its filing. Change the company if you like.

[Show Salesforce's rule of 40 score for each of the last 5 years: revenue growth, free cash flow margin and the sum. Show each number, the math, and the 10-K it came from.](https://invest.amaltash.com/research?q=Show+Salesforce%27s+rule+of+40+score+for+each+of+the+last+5+years%3A+revenue+growth%2C+free+cash+flow+margin+and+the+sum.+Show+each+number%2C+the+math%2C+and+the+10-K+it+came+from.)

- [What is Palantir's rule of 40 score, with and without stock pay?](https://invest.amaltash.com/research?q=What+is+Palantir%27s+rule+of+40+score%2C+with+and+without+stock+pay%3F)

- [What net revenue retention did Snowflake report in its latest 10-K?](https://invest.amaltash.com/research?q=What+net+revenue+retention+did+Snowflake+report+in+its+latest+10-K%3F)

- [Does ServiceNow pass the rule of 40 on free cash flow margin?](https://invest.amaltash.com/research?q=Does+ServiceNow+pass+the+rule+of+40+on+free+cash+flow+margin%3F)

No free plan. Your first 30 days cost $1. Cancel any time. No sales call. A research tool, not advice.

It is a research tool. It does not tell you what to buy.

## Frequently asked questions

### Who came up with the rule of 40?

No one person. Brad Feld wrote it up on his blog on February 3, 2015, in a post called "The Rule of 40% For a Healthy SaaS Company." He said he heard it from a late-stage investor at a board meeting. He did not name the investor.

### What is the 3 3 2 2 2 rule of SaaS?

It is a growth path for a young software company. Triple yearly revenue for two years. Then double it for three years. It is also called T2D3. Neeraj Agrawal of Battery Ventures wrote about it on February 1, 2015, in "The SaaS Adventure." It is a goal for startups, not a test for big public companies.

### What is four wall profitability?

It is a retail and restaurant term, not a SaaS one. It is the profit of one store, counting only the costs inside its four walls. That means rent, staff and goods for that store. Head-office costs are left out. It shows if each store pays for itself.

### What is Palantir's rule of 40?

On our math, Palantir's score was 103.1 for the year ended December 31, 2025. Revenue grew 56.2%. Free cash flow margin was 46.9%. A score built with a different margin, like adjusted operating margin, would differ. Take out stock pay, and our score is 87.8.

### Is the rule of 40 still relevant?

Many software investors still use it. It is quick and easy to compare. But it is a rough screen. It leaves out stock pay, and each company picks its own margin. Use it as a first look, then read the 10-K.

### What is a good net revenue retention rate?

Over 100% means old customers spend more each year. Many software investors call over 120% strong. Under 100% means old customers spend less overall. These are habits, not rules. In our table, the three reported rates were 115% to 125%.

## Sources

- [Salesforce, Inc. Form 10-K for the fiscal year ended January 31, 2026 (SEC EDGAR, filed March 2, 2026)](https://www.sec.gov/Archives/edgar/data/1108524/000110852426000060/0001108524-26-000060-index.htm)
- [ServiceNow, Inc. Form 10-K for the fiscal year ended December 31, 2025 (SEC EDGAR, filed January 29, 2026)](https://www.sec.gov/Archives/edgar/data/1373715/000137371526000007/0001373715-26-000007-index.htm)
- [Workday, Inc. Form 10-K for the fiscal year ended January 31, 2026 (SEC EDGAR, filed March 6, 2026)](https://www.sec.gov/Archives/edgar/data/1327811/000132781126000014/0001327811-26-000014-index.htm)
- [Snowflake Inc. Form 10-K for the fiscal year ended January 31, 2026 (SEC EDGAR, filed March 20, 2026)](https://www.sec.gov/Archives/edgar/data/1640147/000164014726000008/0001640147-26-000008-index.htm)
- [Datadog, Inc. Form 10-K for the fiscal year ended December 31, 2025 (SEC EDGAR, filed February 18, 2026)](https://www.sec.gov/Archives/edgar/data/1561550/000162828026008819/0001628280-26-008819-index.htm)
- [CrowdStrike Holdings, Inc. Form 10-K for the fiscal year ended January 31, 2026 (SEC EDGAR, filed March 5, 2026)](https://www.sec.gov/Archives/edgar/data/1535527/000153552726000010/0001535527-26-000010-index.htm)
- [Palantir Technologies Inc. Form 10-K for the fiscal year ended December 31, 2025 (SEC EDGAR, filed February 17, 2026)](https://www.sec.gov/Archives/edgar/data/1321655/000132165526000011/0001321655-26-000011-index.htm)
- [Adobe Inc. Form 10-K for the fiscal year ended November 28, 2025 (SEC EDGAR, filed January 15, 2026)](https://www.sec.gov/Archives/edgar/data/796343/000079634326000003/0000796343-26-000003-index.htm)
- [SEC EDGAR XBRL company facts API, read November 25, 2026](https://www.sec.gov/search-filings/edgar-application-programming-interfaces)
- [Brad Feld, "The Rule of 40% For a Healthy SaaS Company," February 3, 2015](https://feld.com/archives/2015/02/rule-40-healthy-saas-company/)
- [Neeraj Agrawal, "The SaaS Adventure," TechCrunch, February 1, 2015](https://techcrunch.com/2015/02/01/the-saas-travel-adventure/)
- [David Sacks, "The Burn Multiple: How Startups Should Think About Capital Efficiency," April 23, 2020](https://sacks.substack.com/p/the-burn-multiple-51a7e43cb200)

## Keep reading

- [Unit economics: CAC, churn rate and the LTV to CAC ratio](https://amaltash.com/articles/unit-economics)
- [Free cash flow: formula, yield and real examples](https://amaltash.com/articles/free-cash-flow)
- [Gross, operating and net margin: formulas and examples](https://amaltash.com/articles/gross-margin)
- [CAGR calculator: growth per year](https://amaltash.com/cagr-calculator)
- [Salesforce (CRM): price and company data](https://amaltash.com/market/crm)

---

Educational content published by Amaltash Advisors LLC. Nothing here is investment advice or a recommendation to buy or sell any security. All investing involves risk of loss, including loss of principal, and past performance does not guarantee future results.
