Back to Learn

Rule of 40 for SaaS and Software Stocks: The Strategy for Balanced Growth and Profitability

Guides
13 min read
By ScreenerHub Team

Rule of 40 for SaaS and Software Stocks: The Strategy for Balanced Growth and Profitability

The Rule of 40 strategy ranks SaaS and software companies by a single combined score — revenue growth rate plus operating margin — and concentrates on names that clear the 40% threshold while still showing the underlying quality signals (high gross margin, modest dilution, durable retention) that make the score meaningful.

It is the dominant lens for evaluating public software companies. Sell-side analysts use it, software-focused funds use it, and software CFOs run their own boards against it. The strategy works because it captures the one trade-off that defines a SaaS business model — how fast you grow versus how much of every dollar you keep — in one number that is hard to game over more than a few quarters.

TL;DR: Restrict the universe to software and SaaS. Demand revenue growth + operating margin > 40%. Add a quality floor: gross margin > 65%, market cap > $500M, positive free cash flow trajectory, and a soft valuation cap such as EV/Revenue < 15x. Rank the survivors by the combined score. On ScreenerHub this maps to a five-filter recipe built around revenue growth, operating margin, gross margin, and EV/Revenue. → Run the screen in Studio.

If you have not yet read the metric explainer, start with What Is the Rule of 40?. This page focuses on the strategy — universe selection, the exact filter recipe, how to apply it in a screener, and the failure modes serious practitioners watch for.


Origin: From Venture Capital Benchmark to Public-Market Filter

The Rule of 40 was popularised inside the venture-capital community around 2015 by investors such as Brad Feld (Foundry Group) and Fred Wilson (Union Square Ventures), and quickly adopted by SaaS-focused growth investors at firms like Bessemer Venture Partners and SaaS Capital.

The original use was a private-company sanity check. A SaaS founder pitching a board could be growing at 80% while burning aggressively, or growing at 20% while operating profitably. Both could be acceptable, but boards needed one number that made the two cases comparable. The sum of growth and margin solved that problem because the underlying SaaS economics — recurring revenue, high gross margin, scalable overhead — make the trade-off largely linear over a few-year horizon.

The public-market adaptation was led by SaaS-focused fund managers and sell-side software analysts who realised the same logic applied to listed names. By around 2018, Bessemer's BVP Nasdaq Emerging Cloud Index commentary, Meritech's public software dashboards, and Jamin Ball's Clouded Judgement newsletter had made the Rule of 40 the de-facto benchmark for public software quality.

Three reasons the strategy stuck for public investors:

  1. It penalises the right things. A software company growing fast but burning cash to do it gets the same score as a slower-growing, modestly profitable peer. The market eventually rewards the second more reliably.
  2. It scales with maturity. The same threshold of 40 applies to a hyper-growth name at 60% growth and -20% margin and to a mature operator at 12% growth and 30% margin — they map to the same quality floor.
  3. It is hard to fake for long. Quarterly cost cuts can flatter the margin for one or two prints; durable growth and durable margins together cannot be manufactured.

The Exact Recipe

Unlike Greenblatt's Magic Formula, the Rule of 40 strategy is not a strict rank-and-buy mechanic. It is a sector-specific multi-factor filter that produces a SaaS shortlist for deeper qualitative work on retention, dilution, and competitive position.

Step 1 — Define the universe

Inclusion / exclusionWhy
Include software, SaaS, internet platformsThe metric was designed for recurring-revenue businesses with high gross margin and scalable overhead
Exclude hardware, semis, IT servicesDifferent gross margin structure, different reinvestment economics; the combined score is not comparable
Exclude financials, utilities, real estateCapital structure makes operating margin and growth non-comparable
Exclude micro-caps (< $500M)Reporting quality, retention disclosure, and free-float liquidity are unreliable below this threshold
Optional: exclude consulting-heavy revenue mixA "software" company that derives 40%+ of revenue from services often behaves like an IT services firm

Step 2 — Apply the combined-score threshold

FilterSettingWhy
Revenue growth (YoY)> 15%A floor on the growth half of the score; below this, even strong margins rarely justify a software multiple
Operating margin> 10%A floor on the profitability half; ensures the business model has reached operating leverage
Combined score (growth + margin)> 40%The headline threshold; rank surviving names by this combined number
Combined-score 2-year trendStable or risingA single great print is luck; sustained Rule of 40 status is the actual signal

The growth and margin floors matter because the combined score alone is gameable. A company growing 5% with a 36% margin technically clears 40, but that name is a slow-growing software business pricing like a mature operator — usually a different investment case than the one the strategy is built for.

Step 3 — Demand SaaS-quality underlying economics

FilterSettingWhy
Gross margin> 65%Below this, the business is probably not a pure-play software model
Gross margin 3y trendStableFalling gross margin is the earliest warning that pricing power or product mix is eroding
Free cash flow trajectoryPositive or clearly improvingA high reported operating margin must be cash-backed
Stock-based compensation / revenue< 15%Heavy SBC inflates operating margin on a non-GAAP basis while still diluting shareholders
Net retention (qualitative check)> 110% preferredThe single best leading indicator that the growth half of the score will hold

Net retention is rarely available as a screener field, but it is reported by most public SaaS companies in their investor decks. Treat it as the qualitative confirmation step after the screen produces a shortlist.

Step 4 — Cap valuation

FilterSettingWhy
EV/Revenue< 15xA soft ceiling — quality SaaS rarely trades cheap, but above this returns compress
EV/EBITDA (for profitable names)< 40xUse this once operating margin is high enough for EBITDA to be meaningful

The valuation cap is deliberately generous. The Rule of 40 strategy is not a value strategy — it is a quality strategy with a sanity check. Without any valuation discipline, the screen funnels into the most expensive names at every cycle peak, which is the historical failure mode of pure software-momentum strategies.

Step 5 — Rank by the combined score

Sort the survivors by revenue growth + operating margin in descending order. The top 20–40 names are the working portfolio universe. Most practitioners then narrow further qualitatively — net retention, customer concentration, founder ownership, capital allocation history — before sizing positions.


Why the Strategy Works (When It Does)

Three forces drive the long-term return of a disciplined Rule of 40 strategy in public software.

  1. Recurring-revenue compounding. A SaaS business with high gross margin and 110%+ net retention compounds revenue per cohort even before adding new customers. Growth is structural, not promotional.
  2. Operating leverage on cloud-cost flattening. Once a SaaS business has covered the fixed cost of platform, security, and core engineering, every incremental dollar of revenue drops at a high incremental margin. The Rule of 40 captures the moment this kicks in.
  3. Multiple stability for proven names. Software companies that consistently clear 40 trade at premium-but-stable multiples. The names that fall below 40 typically re-rate sharply downward — which is why the strategy explicitly excludes them, not just penalises them.

What it is really selecting for

Filter clusterUnderlying traitIllustrative archetypes
Growth > 15% + margin > 10%Reached operating leverage without slowing growthMid-cycle vertical SaaS, infrastructure software
Gross margin > 65%, stableReal product moat — switching costs or platform lock-inMission-critical workflow, developer tools
FCF positive + low SBCReported numbers are cash-backed and not dilution-fundedCapital-disciplined founders, mature operators
EV/Revenue < 15xMarket has not yet priced in perfectionOut-of-favour quality, post-correction entries

Approximating the Strategy in ScreenerHub

ScreenerHub does not ship a one-click "Rule of 40" button — and intentionally so, because the qualitative leg (retention, SBC quality, customer concentration) is not reducible to fields. What the screener can do is collapse the universe to the few dozen public software names that genuinely deserve the deeper read.

Recipe 1 — Core Rule of 40 screen

FilterSetting
Sector / industrySoftware, SaaS, Internet platforms only
Market cap> $500M
Revenue growth (YoY)> 15%
Operating margin> 10%
Gross margin> 65%
EV/Revenue< 15x

Sort the result by revenue growth + operating margin descending. Typical output is 40–80 names in a normal market, far fewer at sector peaks. Small enough to read every annual report on the shortlist.

<!-- [SCREENSHOT: ScreenerHub Studio — Rule of 40 SaaS screen with software sector filter, market cap > $500M, revenue growth (YoY) > 15%, operating margin > 10%, gross margin > 65%, EV/Revenue < 15x, sorted by combined growth + margin score desc] -->

Run this screen in ScreenerHub: Start with Revenue Growth YoY > 15% →

Once the screen opens, layer in the operating-margin, gross-margin, and EV/Revenue filters to mirror the full Rule of 40 logic.

Recipe 2 — Strict "elite SaaS" variant

FilterSetting
Sector / industrySoftware, SaaS, Internet platforms only
Market cap> $2B
Revenue growth (YoY)> 20%
Operating margin> 20%
Gross margin> 75%
Free cash flowPositive every year for 3 years
EV/Revenue< 12x

This collapses the universe to the few names that pass the "Rule of 50" threshold many software-focused funds use internally. Typical output is 10–25 names, often the same handful of premium SaaS operators across cycles.

Recipe 3 — Early-stage compounder hunt

FilterSetting
Sector / industrySoftware, SaaS, Internet platforms only
Market cap$500M – $5B
Revenue growth (YoY)> 30%
Operating margin> -5%
Gross margin> 70%
EV/Revenue< 10x

A growth-tilted variant for earlier-stage software businesses where modest current losses are acceptable if growth is fast enough to clear 40 on the combined score. Higher single-stock risk; significantly higher reward distribution if the retention and unit-economics thesis holds.


When the Strategy Misleads

The Rule of 40 screen is the strongest single-screen edge in the public-software universe. It also has distinctive failure modes that practitioners watch for.

  1. Margin flattered by one-time cost cuts. A round of layoffs and marketing freeze can lift operating margin by 8–10 points for two or three quarters, pushing a borderline name across 40 without any improvement in the underlying business. The 2-year trend filter catches most of these.
  2. Stock-based compensation hidden by adjusted reporting. Many software companies report "non-GAAP operating margin" that excludes SBC. A company with a 25% non-GAAP margin and SBC running at 20% of revenue is structurally diluting shareholders even as the screen clears 40. Always cross-check GAAP margin and SBC/revenue.
  3. Acquisition-driven growth. A software roll-up can post 25% revenue growth via M&A while organic growth is in single digits. The combined score looks healthy; the underlying business does not compound. Organic growth disclosure (when available) is the cleanest check.
  4. Retention erosion not yet visible in growth. Net retention falling from 130% to 105% can take a full year to show up in headline revenue growth, because new bookings and price increases mask the decay. Read the retention disclosure in investor decks — it usually leads the growth number by 12–18 months.
  5. Sector-wide multiple expansion at the peak. The screen produces the largest universe at the top of software bull markets, because everyone clears the combined score when multiples are generous and growth is easy. The EV/Revenue cap is the most important filter at those points.
  6. The framework breaks outside SaaS. Applied to consumer internet, fintech, or hardware-adjacent software, the combined score lacks the structural meaning it has in pure SaaS. Keep the sector filter strict.

Rule of 40 Strategy vs. Related Approaches

StrategyWhat It TargetsWhen to Prefer It
Rule of 40 SaaS (this page)Software with balanced growth and profitabilityYou want a focused, sector-specific quality screen in software
Quality compoundersHigh ROIC + low debt across all industriesYou want a broader, industry-agnostic compounder portfolio
Magic FormulaCheap + capital-efficient across all industriesYou want a stricter rules-based value approach with shorter holding periods
Growth stock screeningHigh revenue and earnings growth, sector-agnosticYou accept higher valuation risk for faster top-line expansion
Value screeningLow-multiple stocks broadlyYou want the value funnel before applying any quality overlay
Find high-quality stocksA general-purpose quality workflowYou want quality screening outside software

Frequently Asked Questions

What combined score qualifies as "strong" for SaaS?

The traditional threshold is 40. In practice, dedicated software funds raise the bar to 50 and treat names above 60 as exceptional. Below 30 is typically a sign that either growth has decayed too far or margins have collapsed, and the name leaves the working universe until the score recovers.

Should I use GAAP or non-GAAP operating margin?

GAAP is the safer default because non-GAAP margin usually excludes stock-based compensation, which is a real economic cost to shareholders. If you use non-GAAP margin, always cross-check SBC / revenue separately and treat any name with SBC above 20% of revenue with extra scepticism.

How concentrated should a Rule of 40 portfolio be?

Most software-focused funds run 15–30 names. The strategy rewards conviction in the qualitative differentiators (retention, founder quality, capital discipline) that the screen cannot capture, so over-diversifying dilutes the edge. Beginners should start at the higher end of that range.

Does the strategy work in down markets?

Selectively. The screen tends to outperform in software bear markets because the quality floor (positive operating margin, positive FCF trajectory, gross margin > 65%) protects against the unprofitable-growth names that lead the drawdown. It tends to lag in early-cycle software bull markets when the broader software index is led by hyper-growth, low-margin names.

Why a strict software-only universe?

The Rule of 40 was designed around the specific economics of recurring revenue, high gross margin, and scalable overhead. Applied to hardware, IT services, or consumer internet, the combined score loses its structural meaning because the underlying cost structures and growth dynamics are different.

How often should I rebalance?

Less frequently than a value strategy, more frequently than a deep compounder portfolio. Quarterly review of the combined score is standard practice; most full repositionings happen once or twice per year, driven by names crossing the 40 threshold in either direction.


Keep Learning