Startups
Rule of 40: The SaaS Growth vs Profit Test
Rule of 40 explained: add revenue growth and profit margin; 40% or more is healthy. Formula, worked examples, real SaaS scores and when the rule misleads.
The Rule of 40 says a healthy software company's revenue growth rate plus its profit margin should add up to at least 40%. A company growing 60% a year can lose 20% of revenue and still pass. A company growing 15% needs a 25% margin. It's a quick way to judge whether a SaaS business is balancing growth and profitability sensibly, and investors use it to compare companies at very different stages of that trade-off.
The rule is simple, but the details matter: which growth number, which margin, and at what stage the test makes sense. This guide covers the Rule of 40 formula and its variants, a worked calculation example, real scores for well-known public SaaS companies calculated from their annual filings, how the choice of margin changes the answer, the newer "Rule of X", and the mistakes that make the number misleading.
Rule of 40 at a Glance
| Formula | Revenue growth rate (%) + profit margin (%) ≥ 40% |
| Growth measure | Year-over-year revenue growth, or ARR growth for subscription businesses |
| Margin measure | Usually free cash flow margin or EBITDA margin |
| Who uses it | Growth and late-stage investors, boards, public market analysts |
| When it's meaningful | Software companies with meaningful scale (often from several million in ARR upward) |
| Popularised by | Brad Feld, in a 2015 blog post |
Where the Rule of 40 Came From
Investor Brad Feld popularised the rule in a February 2015 blog post. He'd heard a late-stage investor describe a "40% rule" for healthy software companies: growth rate plus profit should add up to 40%. In his framing, a company growing 20% should generate a 20% profit, a company growing 40% can break even, and one growing 50% can lose 10%. He said it applied to SaaS companies at scale, assuming at least $50 million in revenue.
The idea caught on because it captures a real trade-off. Software companies can usually choose to grow faster by spending more on sales and marketing, or be more profitable by spending less. The Rule of 40 doesn't say which to choose. It says the combined result should clear a bar.
The Rule of 40 Formula
The Rule of 40 formula is:
Rule of 40 score = revenue growth rate (%) + profit margin (%)
A score of 40 or more passes. Both parts need to be defined clearly, and there's no single official definition.
| Component | Common choices | Notes |
|---|---|---|
| Growth rate | Year-over-year revenue growth; ARR growth; forward growth forecast | Use the same period as the margin. ARR growth is common for private SaaS |
| Profit margin | Free cash flow margin; EBITDA margin; operating margin (GAAP or adjusted) | FCF margin is the most common among investors because it's hard to flatter |
Free cash flow margin = (operating cash flow − capital expenditure − capitalised software) ÷ revenue. EBITDA margin = earnings before interest, taxes, depreciation and amortisation ÷ revenue.
Which margin you choose can change the result dramatically, as the public company table below shows. State your definition every time you quote the number.
Rule of 40 Calculation Example
Here's a Rule of 40 calculation example for three fictional SaaS companies, using ARR growth and free cash flow margin:
| Company | ARR growth | FCF margin | Rule of 40 score | Passes? |
|---|---|---|---|---|
| Rocket | 60% | −15% | 45 | Yes |
| Steady | 15% | 30% | 45 | Yes |
| Stuck | 35% | −20% | 15 | No |
Rocket burns cash but grows fast enough to justify it. Steady grows slowly but throws off cash. Both score 45. Stuck is the warning case: decent growth, but it costs too much. Each dollar of growth is bought with heavy losses.
The calculation for Rocket, step by step:
- ARR last year: $10.0 million. ARR this year: $16.0 million. Growth = (16.0 − 10.0) ÷ 10.0 = 60%.
- Revenue this year: $13.0 million. Free cash flow: −$1.95 million. FCF margin = −1.95 ÷ 13.0 = −15%.
- Score = 60 + (−15) = 45.
Rule of 40 SaaS Companies: Real Scores
To see how the rule plays out, here are Rule of 40 SaaS companies scored from their latest annual 10-K filings with the US SEC. Growth is year-over-year revenue growth. "FCF margin" is operating cash flow minus purchases of property and equipment and capitalised software, divided by revenue. "GAAP operating margin" is reported operating income divided by revenue.
| Company | Fiscal year ended | Revenue | Revenue growth | FCF margin | Rule of 40 (FCF) | GAAP operating margin | Rule of 40 (GAAP operating) |
|---|---|---|---|---|---|---|---|
| ServiceNow | Dec 2025 | $13.28B | 20.9% | 34.5% | 55.3 | 13.7% | 34.6 |
| Datadog | Dec 2025 | $3.43B | 27.7% | 26.7% | 54.4 | −1.3% | 26.4 |
| Snowflake | Jan 2026 | $4.68B | 29.2% | 23.9% | 53.1 | −30.6% | −1.5 |
| Adobe | Nov 2025 | $23.77B | 10.5% | 41.4% | 52.0 | 36.6% | 47.2 |
| Atlassian | Jun 2026 | $6.57B | 26.0% | 20.1% | 46.1 | 0.2% | 26.2 |
| Salesforce | Jan 2026 | $41.52B | 9.6% | 34.7% | 44.3 | 20.1% | 29.6 |
| MongoDB | Jan 2026 | $2.46B | 22.8% | 20.3% | 43.1 | −5.6% | 17.2 |
| HubSpot | Dec 2025 | $3.13B | 19.2% | 18.4% | 37.6 | 0.2% | 19.4 |
Calculated from each company's XBRL financial data on SEC EDGAR. Companies' own "free cash flow" figures may use slightly different adjustments.
What the table shows:
- On free cash flow, all but one pass. These are mature, successful companies, so that's expected. It's a list of winners, not a random sample.
- The margin choice changes everything. Snowflake scores 53 on FCF but −1.5 on GAAP operating margin. The gap is mostly stock-based compensation, a real cost to shareholders that doesn't use cash, plus timing differences in cash collection. Only Adobe passes comfortably on both measures.
- Two routes to the same score. ServiceNow and Datadog pass with roughly balanced growth and margin. Adobe and Salesforce pass mainly on margin, with low double-digit or single-digit growth.
The lesson: when someone quotes a Rule of 40 score, ask which margin they used. FCF-based scores flatter companies that pay heavily in stock.
Is Rule of 40 Only for SaaS?
Is Rule of 40 only for SaaS? Mostly. It was designed for subscription software, where revenue is recurring, gross margins are high and the main trade-off is how much to spend on growth. It's also applied to other recurring-revenue software and some tech-enabled services.
It fits poorly where:
- Gross margins are low, as in marketplaces with high fulfilment costs or hardware businesses. A 40% score means something different when each extra dollar of revenue brings far less profit.
- Revenue is lumpy, as in project-based or one-time licence sales, where growth swings year to year.
- The company is very early. With small revenue, a jump from $200,000 to $1 million is 400% growth and the score becomes meaningless. Early-stage companies are better judged by retention, burn multiple and payback. See our guide to burn rate.
- The business is in a deliberate transition, such as moving from licences to subscriptions, which temporarily depresses growth and margin.
The Rule of X: Weighting Growth More
Bessemer Venture Partners argues that the Rule of 40's equal weighting of growth and profit is outdated for late-stage cloud companies. Its research found growth to be a stronger predictor of valuation, so it proposed the Rule of X:
Rule of X = (revenue growth × multiplier) + free cash flow margin
Bessemer suggests a multiplier of about 2x for private companies and about 2–3x for public companies. Using 2x on the fictional companies above:
| Company | Rule of 40 | Rule of X (2x growth) |
|---|---|---|
| Rocket (60% growth, −15% margin) | 45 | 105 |
| Steady (15% growth, 30% margin) | 45 | 60 |
Both pass the Rule of 40 equally, but the Rule of X favours Rocket, reflecting the view that efficient growth compounds into more value than the same points of margin.
How to Improve Your Rule of 40 Score
The best improvements raise one side without hurting the other:
- Improve retention. Lower churn and more expansion revenue raise growth at almost no extra cost. Net revenue retention is the strongest lever.
- Fix sales efficiency. Cut channels and segments with poor payback; spend more where customer acquisition cost is recovered fastest. The SaaS magic number shows how much new revenue each sales and marketing dollar produces.
- Raise prices where value supports it. Pricing changes lift both growth and margin.
- Improve gross margin. Cheaper hosting, fewer manual onboarding steps and better support tooling make each new dollar more profitable.
- Cut spending that grows neither side. Projects with no clear customer or revenue outcome are the first place to look.
Cutting sales and marketing hard can raise the score in the short term while hurting future growth. Boards usually look at the trend over several quarters, not one result. Our overview of SaaS metrics shows how the Rule of 40 fits with the other numbers investors track.
Common Mistakes
- Mixing periods. Using next year's forecast growth with last year's margin, or quarterly growth with annual margin.
- Not stating the margin definition. EBITDA, FCF and GAAP operating margin can differ by 30 points or more for the same company.
- Ignoring stock-based compensation. FCF-based scores can look excellent while shareholders are diluted heavily every year.
- Applying it too early. Below a few million in ARR, growth rates are too volatile for the score to mean much.
- Gaming one quarter. Delaying hires or pulling cash collections forward can lift a single score without improving the business.
- Treating 40 as a hard line. A company at 38 and improving can be healthier than one at 45 and falling.
FAQ
What is a good Rule of 40 score?
40% or higher is the usual benchmark for a healthy SaaS company at scale. Many of the most valued public software companies score above 50 on a free cash flow basis, while early-stage companies are often judged on other metrics.
Should I use EBITDA or free cash flow margin?
Free cash flow margin is the most common choice among investors, because it reflects cash actually generated. EBITDA is common in private company reporting. Use one consistently and say which you used.
Can a company with negative margins pass the Rule of 40?
Yes. A company growing 70% a year with a −25% margin scores 45 and passes. The rule allows losses as long as growth is high enough to justify them.
How often should the Rule of 40 be calculated?
Most companies track it quarterly on a trailing twelve-month basis, and report it to the board alongside growth, retention and burn. Annual figures are standard for comparing public companies.
Who created the Rule of 40?
It's commonly credited to Brad Feld, who described it in a 2015 blog post after hearing a late-stage investor use it. The idea had circulated among growth investors before that.