On this page
- Understanding the Rule of 40 Formula
- Why 40% Is the Magic Number
- Applying the Rule of 40 to Investment Decisions
- Elite Performers: Companies That Consistently Beat the Rule of 40
- Limitations and Common Misapplications
- The Rule of 40 and Valuation Multiples
- Evolving the Framework: Rule of 40 Extensions
- Using the Rule of 40 in Your Portfolio
The Rule of 40 has become one of the most widely cited benchmarks in SaaS and software investing, providing a simple yet powerful framework for evaluating whether a company is striking the right balance between growth and profitability. The rule states that a healthy SaaS company’s revenue growth rate plus its profit margin should equal or exceed 40%. This combined metric acknowledges the fundamental trade-off that software companies face: invest aggressively in growth at the expense of current profits, or optimize profitability at the expense of growth velocity.
For growth stock investors navigating the complex world of cloud software valuations, the Rule of 40 offers a quick screening tool and a deeper analytical framework. Companies that consistently exceed the 40% threshold tend to command premium valuations, while those falling below often face valuation compression. Understanding how to apply, interpret, and extend this metric is essential for building a successful SaaS investment strategy.
Understanding the Rule of 40 Formula
The calculation is straightforward: add the company’s year-over-year revenue growth rate to its profit margin. The specific margin metric used varies among analysts — some use free cash flow margin, others use EBITDA margin, and some prefer operating margin. Free cash flow margin has gained the most traction because it captures the actual cash generation of the business after all operating expenses and capital investments.
A company growing revenue at 50% with a negative 10% free cash flow margin scores 40, meeting the threshold. A mature SaaS company growing at 15% with a 28% margin scores 43, also passing. A company growing at 25% with a 5% margin scores only 30, falling short. The beauty of the metric lies in its flexibility — it doesn’t prescribe a specific mix of growth and profitability, recognizing that the optimal balance shifts as companies mature.
The Rule of 40 effectively creates a frontier along which companies can be evaluated. Early-stage companies should sit on the high-growth, low-profitability end. Mature companies should anchor the low-growth, high-profitability end. What matters is that the combination exceeds the threshold, regardless of where along the spectrum a company falls.
Why 40% Is the Magic Number
The 40% threshold emerged from venture capital and growth equity circles based on empirical observation of what separates good SaaS businesses from great ones. Research across hundreds of software companies has consistently shown that those exceeding a combined score of 40 generate significantly better shareholder returns over time. Companies above this threshold command revenue multiples roughly 2-3 times higher than those below it.
The benchmark reflects the economics of the SaaS business model. Software companies benefit from high gross margins (typically 70-85%), recurring revenue streams, and operating leverage that allows margins to expand as the business scales. A well-run SaaS company should be able to allocate enough gross profit to growth investments while still generating meaningful cash flow — unless it’s in a land-grab phase where the addressable market opportunity justifies sacrificing near-term profitability for market share.
Recent data shows that the median SaaS company actually scores around 12-15% on the Rule of 40, meaning most software companies fall well short of the benchmark. This isn’t necessarily alarming — many companies in the dataset include smaller or earlier-stage businesses still finding product-market fit. Among publicly traded SaaS companies with market capitalizations above $5 billion, the median score rises to approximately 25-30%, and elite companies consistently score above 50%.
Applying the Rule of 40 to Investment Decisions
As a screening tool, the Rule of 40 helps investors quickly identify SaaS companies worthy of deeper analysis. Companies consistently scoring above 40 demonstrate that management can drive efficient growth or generate strong profits — or ideally both. Those scoring well above 40 — companies like Veeva Systems, ServiceNow, and CrowdStrike at various points in their history — represent the cream of the software crop.
When comparing companies at similar growth rates, the Rule of 40 reveals differences in operational efficiency. Two companies both growing at 30% appear similar on the surface, but if one achieves 15% free cash flow margins (Rule of 40 score: 45) while the other burns cash at negative 5% (score: 25), the first company demonstrates a fundamentally better business model or more disciplined management.
Trend analysis adds another dimension. A company whose Rule of 40 score is improving over time — perhaps from 25 to 32 to 38 — shows a trajectory toward excellence even if it hasn’t yet crossed the threshold. Conversely, a company whose score is deteriorating from 50 to 42 to 35 may be experiencing competitive pressures, market saturation, or execution challenges that warrant investigation.
Adjustments for Company Stage
The Rule of 40 threshold should be calibrated to company maturity. For early-stage companies growing above 60% annually, investors often accept Rule of 40 scores below the threshold because the growth opportunity justifies the investment. A company growing at 80% with a negative 30% margin (score: 50) is actually performing exceptionally well — the negative margin reflects rational investment in a massive opportunity.
For mature SaaS companies growing below 20%, the profitability side of the equation becomes paramount. A company growing at 10% should be generating at least 30% free cash flow margins to meet the benchmark. If a low-growth SaaS company also shows poor profitability, it may be a value trap rather than a value opportunity — the business model may not have the operating leverage that SaaS economics should deliver.
Elite Performers: Companies That Consistently Beat the Rule of 40
The most impressive SaaS companies don’t just meet the Rule of 40 — they demolish it. Companies scoring above 60% combine rapid growth with substantial profitability, demonstrating dominant market positions, exceptional products, and efficient go-to-market motions. These businesses typically feature best-in-class net revenue retention rates above 130%, indicating that existing customers consistently expand their spending.
What characterizes these top performers is usually a combination of several factors: a product that becomes mission-critical to customers (creating high switching costs), a platform approach that expands the addressable opportunity over time, strong network effects or data moats that improve the product as more customers use it, and disciplined sales efficiency that keeps customer acquisition costs reasonable relative to lifetime value.
Investors often pay substantial premiums for companies with Rule of 40 scores above 60, with EV-to-revenue multiples reaching 15-25x for the very best. While these valuations appear steep in absolute terms, they often prove justified when the company sustains exceptional performance over multiple years. The key question is whether the high score is sustainable or represents a temporary peak.
Limitations and Common Misapplications
The Rule of 40 was designed specifically for SaaS and subscription software businesses. Applying it to hardware companies, marketplaces, or non-recurring software businesses can produce misleading results because these business models have fundamentally different margin structures and growth dynamics. Even within software, companies with large professional services components may score lower not because of inferior quality but because services carry lower margins than pure software.
Revenue quality matters beyond the raw growth number. A company can inflate its Rule of 40 score by pulling forward revenue through aggressive discounting, multi-year prepaid contracts, or one-time license deals that don’t represent sustainable recurring revenue. Examining the composition of revenue growth — organic versus acquired, expansion versus new customers, recurring versus one-time — provides a more complete picture than the headline growth rate alone.
Stock-based compensation represents a significant analytical consideration. Many SaaS companies show strong free cash flow margins partly because stock-based compensation — a substantial real cost — is treated as a non-cash expense in cash flow calculations. Adjusting for SBC by subtracting it from free cash flow often reduces Rule of 40 scores by 10-15 percentage points. Some analysts prefer using SBC-adjusted free cash flow margins for a more conservative and arguably more accurate assessment.
The Rule of 40 is also a backward-looking snapshot. It tells you how the company performed over the trailing period but doesn’t directly forecast future performance. A company might score 50 on the Rule of 40 today but face market saturation, increased competition, or a product cycle transition that will compress its score going forward. Forward-looking analysis of the growth runway, competitive landscape, and product pipeline remains essential.
The Rule of 40 and Valuation Multiples
Research consistently demonstrates a strong positive correlation between Rule of 40 scores and valuation multiples in the SaaS sector. Companies exceeding the 40% threshold command median EV/revenue multiples approximately 2-3 times higher than those falling below. Within the above-40 cohort, each incremental 10 points of Rule of 40 score is associated with roughly 2-4 additional turns of revenue multiple.
This relationship creates a useful framework for evaluating whether a SaaS stock is appropriately priced. If a company with a Rule of 40 score of 55 trades at 8x revenue while peers scoring 45-50 trade at 10-12x, the discount may represent an opportunity if no structural reasons justify the valuation gap. Conversely, a company scoring 30 trading at 15x revenue appears expensive relative to its operational achievement and may be priced for significant improvement that might not materialize.
The relationship between Rule of 40 and multiples also shifts with market conditions. During risk-on environments when growth is highly valued, the premium for high Rule of 40 scores expands. During risk-off periods when profitability matters more, the premium compresses and the market increasingly differentiates between profitable and unprofitable growers regardless of their absolute Rule of 40 score. Understanding where we are in this cycle helps calibrate expectations for multiple expansion or contraction.
Evolving the Framework: Rule of 40 Extensions
Some investors have developed enhanced versions of the Rule of 40 to address its limitations. The “efficiency score” weights growth more heavily for early-stage companies and profitability more heavily for mature ones, recognizing that the optimal trade-off shifts over a company’s lifecycle. Others use a “Rule of 50” or “Rule of 60” threshold for companies they consider truly exceptional investments.
Incorporating net revenue retention as a third dimension adds valuable information about growth quality. A company achieving its Rule of 40 score primarily through efficient expansion of existing customers (high NRR) is generally more valuable than one dependent entirely on expensive new customer acquisition. Some analysts multiply the Rule of 40 score by NRR to create a “magic number” that captures both growth efficiency and revenue quality.
The concept has also been adapted for non-SaaS technology companies and even non-technology businesses. While the specific 40% threshold may not apply universally, the underlying principle — that companies should generate a combined growth-plus-profitability score above a meaningful benchmark — translates across business models with appropriate calibration.
Using the Rule of 40 in Your Portfolio
For growth stock investors building SaaS-focused portfolios, the Rule of 40 works best as one tool among several. Use it for initial screening to identify the highest-quality businesses, then apply deeper analysis including DCF valuation, competitive assessment, and management evaluation before making investment decisions. Combine it with metrics like gross margin quality, customer acquisition efficiency, and total addressable market analysis for a comprehensive view.
Tracking Rule of 40 scores across your portfolio over time provides early warning signs of deterioration and positive signals of improvement. A portfolio of SaaS stocks that consistently scores above 40 on a weighted-average basis is positioned in high-quality businesses, even if individual stocks occasionally dip below the threshold temporarily.
The Rule of 40 ultimately reflects a fundamental truth about sustainable business building: the best companies don’t sacrifice profitability entirely for growth, nor do they abandon growth to harvest profits. They find the dynamic balance between the two that maximizes long-term shareholder value. Identifying and investing in companies that master this balance — and applying appropriate GARP investing principles — remains one of the most reliable paths to growth stock investing success.
This topic sits inside a broader system; the full overview is in my complete guide to how to value growth stocks.
The Rule of 40 exists because of one business model in particular, so it is best read alongside the best SaaS stocks — that is where the rule came from and where it still works best.


