The Rule of 40 Explained: How SaaS Stocks Are Valued

TL;DR. The Rule of 40 says a software company’s annual revenue growth rate plus its profit margin should add up to at least 40%. It’s a quick way to see whether a SaaS business is balancing growth and profitability — and it’s why Wall Street pays up for names like Snowflake even when GAAP earnings are negative. This guide walks through the math, a real worked example, and the common ways the metric misleads.

The formula in one line

Rule of 40 = Revenue Growth Rate (%) + Profit Margin (%) ≥ 40%.

That’s it. Growth and profit are graded as a single score. A company growing 30% a year with a 15% free cash flow margin earns a 45 — passes. A company growing 50% but burning 5% of revenue scores 45 — also passes. A company growing 10% with a 10% margin scores 20 — fails. The Rule trades off growth and margin on equal footing.

The framework is associated with venture investor Brad Feld, who popularized it in a February 2015 blog post after hearing a late-stage SaaS investor describe it at a board meeting. It now anchors almost every public software earnings model.

Where the Rule of 40 fits in valuation

SaaS companies are usually valued on a multiple of revenue rather than earnings, because they often spend aggressively on sales, marketing, and R&D in the early years. The question for investors is: which multiple? A revenue multiple of 5x and 20x can both be defensible — it depends on the underlying business quality.

Rule of 40 is the most widely used single-number proxy for that quality. Bessemer Venture Partners, which tracks public cloud companies through the BVP Nasdaq Emerging Cloud Index, finds that revenue multiples line up tightly with Rule of 40 (and a newer variant, the Rule of X) across the cycle. In their own words, the framework is “often referenced — that companies should have efficiency scores of 40%+ — but the average BVP Nasdaq Emerging Cloud Index efficiency score is actually closer to 50%” (Bessemer Atlas).

A real worked example: Snowflake’s Q1 FY27

On May 27, 2026, Snowflake reported Q1 FY27 results that show the math in action. From the company’s investor relations release:

  • Product revenue: $1.334 billion, up 34% year-over-year.
  • Free cash flow: $232.8 million on $1.391 billion of total revenue — a 17% FCF margin.

Plug those in:

Rule of 40 = 34 + 17 = 51.

That comfortably clears 40, which is one reason the stock surged ~35% on the print. The market wasn’t just paying for the headline beat; it was paying for a quality score that puts Snowflake near the top decile of public software businesses.

Which “profitability” goes in the formula?

Here is where most retail investors get tripped up. There is no single agreed-upon margin to use. The three common choices:

  • Free cash flow (FCF) margin. Cash generated from operations minus capex, divided by revenue. Bessemer treats this as the default because it captures real economic profit and is harder to dress up. Snowflake reported 17% FCF margin in Q1 FY27.
  • Non-GAAP operating margin. GAAP operating profit adjusted to exclude stock-based compensation (SBC), amortization of acquired intangibles, and restructuring. Snowflake reported 12% on this basis. SaaS management teams love this number because it strips out their largest non-cash expense — SBC.
  • GAAP operating margin. The number on the audited income statement. For most SaaS names, it is deeply negative — Snowflake’s was about negative 40% on a GAAP basis in recent years, because employee equity is a real cost.

The same company can produce three very different Rule of 40 scores depending on which margin you pick. When you read “Snowflake is at 51 on the Rule of 40,” the writer almost always means FCF. When you read “a 60% Rule of 40,” SBC has typically been excluded. Always check.

Why investors weight it so heavily

The reason a single number gets this much airtime: it disciplines two narratives investors otherwise hear separately.

  1. Growth narratives tend to push margins lower — more sales hires, more marketing, more R&D. A 50% grower that earns -20% margins is a 30 on the Rule of 40, not a great score.
  2. Profitability narratives tend to push growth lower — cost cuts, hiring freezes, sales-rep attrition. A 5% grower at 35% margins is a 40. Acceptable, but the multiple should be much lower than the 50% grower above.

Forcing both numbers into one score makes it harder to hide one with the other. It also lines up with how academic finance values companies: revenue growth compounds future cash flows, and margin determines how much of revenue turns into those cash flows.

The Rule of X: a newer, sharper version

Bessemer Venture Partners has argued for several years that the Rule of 40 understates the importance of growth. Their Rule of X applies a multiplier to growth:

Rule of X = (Growth Rate × Multiplier) + FCF Margin.

Bessemer suggests roughly 2x for private companies and 2–3x for public companies. Their logic: a percentage point of incremental growth compounds, while a percentage point of margin expansion is a one-time event. That is why two companies with the same Rule of 40 can trade at very different revenue multiples — the one with more of its score coming from growth deserves the premium.

A snapshot of where public cloud sits today

Benchmark Rule of 40 Rule of X (2.3×)
BVP Cloud Index average 31% 50%
Top decile cloud businesses 48% 80%
Snowflake (Q1 FY27, May 2026) 51% 95%
Hypothetical mature SaaS (10% growth, 30% FCF) 40% 53%
Hypothetical hyper-grower (60% growth, -20% FCF) 40% 118%
Sources: Bessemer Atlas, “The Rule of X”; Snowflake Q1 FY27 release, May 27, 2026. Hypothetical rows illustrate trade-offs.

How the trade-off looks visually

Growth vs FCF margin: combinations that pass the Rule of 40 A line chart showing growth rate on the x-axis and FCF margin on the y-axis, with the 40% line falling diagonally from top-left to bottom-right. FCF margin (%) Revenue growth (%) -20 0 20 40 60 0 20 40 60 80 Rule of 40 line Mature SaaS (10/30) Hyper-grower (60/-20) Fails: 30/10 = 40− Snowflake Q1 FY27 (34/17)
Source: ECMSource illustration. Snowflake point from Q1 FY27 IR release, May 27, 2026.

Anything above the dashed line passes. Below it fails. The reason the Rule has staying power is that it does not pick a winner between growth and margin — it lets the company choose its mix.

How the score should evolve through a company’s life

SaaS life-cycle: growth falls, margin rises, the score holds A stacked area-style line chart showing revenue growth declining while FCF margin rises across early, scale, and mature stages, with the sum staying near 40 to 50. Score components (%) Early ($50M ARR) Scale ($500M ARR) Mature ($5B+ ARR) 0 20 40 60 80 Growth FCF margin Rule of 40 (sum)
Source: ECMSource illustration based on stage descriptions in Bessemer Atlas.

Notice that the dashed sum-line barely moves even as the two components change places. That is the visual story behind why a great software company can keep earning a high multiple long after its days of triple-digit growth are over.

Common mistakes to avoid

  • Mixing margin definitions. Comparing Company A’s GAAP operating margin to Company B’s FCF margin gives a meaningless score. Use the same definition for the same peer set.
  • Ignoring stock-based compensation. A non-GAAP “Rule of 60” score that excludes SBC can look great until you notice diluted share count growing 5–7% per year. Per-share value can still go nowhere.
  • Applying it too early. Feld explicitly applied the Rule to SaaS companies at scale — he suggested at least $50 million in revenue. Start-ups burning cash to find product-market fit should not be graded on it.
  • Treating 40 as a magic line. A score of 38 vs 42 is statistical noise. The signal is the trajectory and the mix — especially how much of the score comes from growth, since growth deserves the higher multiplier.
  • Forgetting it’s a software framework. The Rule of 40 was built for high-gross-margin recurring-revenue businesses. Applying it to commodity hardware or pure services consulting will mislead.

What to read next

If you found this useful, the natural follow-ups on ECMSource are the explainers on free cash flow, EBITDA, and when the P/E ratio misleads you. Together they cover the four most common ways analysts judge a public company’s quality.

Sources

Disclosure: This article was produced with AI assistance and reviewed before publication. It is for informational purposes only and is not investment advice.

Leave a Comment