The Rule of 40 is the single most widely used composite metric in SaaS. It answers a question that no single metric can: is this company balancing growth and profitability in a sustainable way?
A company growing at 100% but hemorrhaging cash might look impressive on a pitch deck, but it could be 18 months from insolvency. A company with 35% profit margins but 3% growth is a cash cow heading for irrelevance. The Rule of 40 forces both dimensions into a single number, making it impossible to hide behind one at the expense of the other.
Venture capitalist Brad Feld popularized the Rule of 40 in 2015, though it had been circulating in growth equity and private equity circles before that. Since then, it has become the gold standard for SaaS health assessment, used by investors, board members, and operators to evaluate whether a company is performing at the level required for premium valuations.
The logic is simple: a SaaS company's revenue growth rate plus its profit margin should equal or exceed 40%. How a company gets there is flexible. A hypergrowth startup burning cash and a mature company with modest growth and strong margins can both pass the test. What matters is the combined score.
The Formula with Variable Definitions
The Rule of 40 formula is:
Rule of 40 Score = Revenue Growth Rate (%) + Profit Margin (%)
That's it. Two inputs, one output. But the precision of each input matters enormously.
Revenue Growth Rate
Revenue growth rate measures year-over-year percentage change in revenue. In SaaS, this is almost always calculated using Annual Recurring Revenue (ARR) or total revenue:
Revenue Growth Rate = (Current Period Revenue - Prior Period Revenue) / Prior Period Revenue x 100
For a company with $50M in ARR this year and $35M last year:
Revenue Growth Rate = ($50M - $35M) / $35M x 100 = 42.9%
Most practitioners use trailing twelve months (TTM) revenue to smooth out quarterly fluctuations. Some use annualized quarterly growth (current quarter revenue x 4 vs. prior year), but this can overstate growth during strong quarters and understate it during weak ones.
The key principle: use the same revenue definition consistently. If you measure ARR growth, use ARR. If you measure GAAP revenue growth, use GAAP revenue. Mixing definitions across periods invalidates the calculation.
Profit Margin
The profit margin component is where the Rule of 40 gets contentious. There are three common variants:
EBITDA Margin (most common)
EBITDA Margin = EBITDA / Revenue x 100
EBITDA (Earnings Before Interest, Taxes, Depreciation, and Amortization) strips out financing decisions, tax jurisdictions, and non-cash accounting charges. For SaaS companies with minimal physical assets, EBITDA closely approximates operating cash generation. This is the variant most investors and analysts default to.
Free Cash Flow (FCF) Margin
FCF Margin = Free Cash Flow / Revenue x 100
Free cash flow is the actual cash a business generates after all expenses, capital expenditures, and working capital changes. FCF margin is arguably the most honest profitability metric because you cannot manipulate actual cash. Companies that collect annual subscriptions upfront often have FCF margins 5-15 percentage points higher than their EBITDA margins due to favorable working capital dynamics.
Operating Margin
Operating Margin = Operating Income / Revenue x 100
Operating margin includes stock-based compensation (SBC), which EBITDA excludes. For companies with heavy SBC (common in late-stage SaaS), operating margin gives a more conservative and arguably more accurate picture. A company reporting 20% EBITDA margin but -5% operating margin has a significant SBC problem that the Rule of 40 calculation using EBITDA would mask.
Which variant should you use? EBITDA margin is the industry default and the most comparable across companies. FCF margin is the most rigorous for internal decision-making. Operating margin is the most conservative. The critical rule: disclose which variant you are using, and never compare scores calculated with different profitability metrics.
Worked Example with Realistic Numbers
Let's walk through three companies to see how the Rule of 40 works in practice.
Company A: Hypergrowth SaaS (Series C)
| Metric | Value | |---|---| | Current ARR | $90M | | Prior Year ARR | $50M | | Revenue Growth Rate | 80% | | EBITDA | -$27M | | EBITDA Margin | -30% |
Rule of 40 Score = 80% + (-30%) = 50
Verdict: Passes (50 > 40). This company is burning significant cash — $27M in annual EBITDA losses — but its 80% growth rate more than compensates. At this trajectory, the company will cross $150M ARR within two years. Investors accept the negative margins because the growth rate suggests the company is capturing a large market quickly. The Rule of 40 score of 50 would place this company in "strong" territory despite being deeply unprofitable.
This is the classic venture-backed profile. The implicit bet: once growth naturally decelerates (as it always does at scale), the company can dial back sales and marketing spend and let margins expand. The Rule of 40 validates this trade-off as long as growth stays high enough.
Company B: Mature SaaS (Public Company)
| Metric | Value | |---|---| | Current ARR | $400M | | Prior Year ARR | $348M | | Revenue Growth Rate | 15% | | EBITDA | $112M | | EBITDA Margin | 28% |
Rule of 40 Score = 15% + 28% = 43
Verdict: Passes (43 > 40). This company has made the transition from growth-at-all-costs to balanced growth and profitability. At $400M ARR, 15% growth still adds $60M in new ARR annually — a meaningful number by any measure. The 28% EBITDA margin demonstrates operational discipline and a mature go-to-market engine.
This profile is typical of public SaaS companies 3-5 years post-IPO. The Rule of 40 score of 43 would earn this company a valuation premium relative to peers, likely commanding 6-8x forward revenue versus 3-5x for companies below 40.
Company C: Struggling SaaS (Growth Stalling)
| Metric | Value | |---|---| | Current ARR | $75M | | Prior Year ARR | $62.5M | | Revenue Growth Rate | 20% | | EBITDA | $7.5M | | EBITDA Margin | 10% |
Rule of 40 Score = 20% + 10% = 30
Verdict: Fails (30 < 40). This is the danger zone. The company is growing, but not fast enough to justify thin margins. At 20% growth, this company isn't capturing market share aggressively. At 10% EBITDA margin, it isn't generating meaningful cash either. It's stuck in the middle.
The 10-point gap to 40 means this company needs to either accelerate growth by 10 percentage points (from 20% to 30%) or expand margins by 10 points (from 10% to 20%) — or some combination. Neither is trivial. This profile often triggers investor concern and boardroom conversations about strategic alternatives.
Industry Benchmarks
The Rule of 40 was designed as a pass/fail threshold, but in practice, the distribution of scores across SaaS companies tells a more nuanced story.
Score Tiers
| Tier | Rule of 40 Score | What It Signals | |---|---|---| | Elite | > 60% | Top-decile performer. Category leader with exceptional growth efficiency. Think companies like Snowflake or Datadog at their peak. | | Strong | 40-60% | Above the threshold. Balanced business model with premium valuation potential. Target zone for most well-run SaaS companies. | | Median Public SaaS | ~30% | The typical public SaaS company. Functional but not exceptional. Trades at market-average multiples. | | Below Average | < 20% | Underperforming on both growth and profitability. Likely facing compression in valuation multiples and increased investor scrutiny. |
Reality Check: Most Companies Fail the Test
Despite its status as a benchmark, only 30-40% of public SaaS companies actually exceed a Rule of 40 score at any given time. During the 2021 bull market, that number climbed closer to 50% as revenue growth rates surged. By 2023-2024, with growth decelerating across the sector and profitability becoming the priority, the percentage dropped.
This means passing the Rule of 40 is genuinely difficult. It is an aspirational target, not a baseline expectation.
Context by Company Stage
The Rule of 40 applies differently depending on where a company sits in its lifecycle:
Pre-$10M ARR (Seed / Series A): The Rule of 40 is largely irrelevant. At this stage, growth rate dominates. A company growing 200% with -80% margins has a Rule of 40 score of 120, but nobody is calculating it. Product-market fit and unit economics matter more.
$10M-$50M ARR (Series B/C): The Rule of 40 starts to matter. Investors begin evaluating whether the company can sustain growth without proportional increases in burn. A score of 40+ at this stage signals a capital-efficient growth engine.
$50M-$500M ARR (Late-stage / Pre-IPO / Early Public): This is the Rule of 40's sweet spot. Companies at this scale are making explicit trade-offs between growth and profitability. The score directly influences valuation multiples, IPO readiness, and M&A attractiveness.
$500M+ ARR (Mature Public): Growth rates naturally compress at scale. Companies here need strong margins (25%+) to maintain Rule of 40 compliance. The metric remains relevant but should be supplemented with efficiency metrics like FCF per employee and CAC payback period.
Common Calculation Mistakes
1. Using the Wrong Growth Metric
ARR growth and GAAP revenue growth are not the same number. ARR measures committed recurring revenue at a point in time. GAAP revenue includes professional services, one-time fees, and recognizes subscription revenue ratably over the contract term.
A company that signs a massive multi-year deal in Q4 will see its ARR jump immediately, but GAAP revenue will only reflect the portion recognized in that quarter. The difference can be 5-15 percentage points of growth rate, which directly shifts the Rule of 40 score.
The fix: Use ARR growth for internal tracking and investor conversations. Use GAAP revenue growth when comparing to public company benchmarks (since public companies report GAAP). Never mix the two in a single calculation.
2. Cherry-Picking the Profitability Metric
This is the most common manipulation. A company might report its Rule of 40 using FCF margin (which benefits from annual prepayments and favorable working capital) while a peer uses EBITDA margin. The same underlying business can show a 10-15 point difference depending on which margin metric is selected.
Even within EBITDA, "adjusted EBITDA" is rampant. Companies routinely add back stock-based compensation, restructuring charges, and one-time costs. An adjusted EBITDA margin of 25% can correspond to a GAAP operating margin of 5%.
The fix: When comparing companies, normalize to the same profitability metric. When reporting your own score, use unadjusted EBITDA margin or FCF margin and disclose the definition clearly.
3. Ignoring Scale Differences
A $5M ARR company growing at 100% with -40% margins (Rule of 40 score: 60) is not comparable to a $500M ARR company with the same score. Growth rates are inherently easier to achieve at smaller scale. Adding $5M in new ARR is fundamentally different from adding $500M.
The Rule of 40 treats a percentage point of growth the same as a percentage point of margin, regardless of scale. This is a feature (simplicity) and a bug (it can mislead comparisons across vastly different company sizes).
The fix: Always contextualize Rule of 40 scores with absolute revenue. A score of 45 at $200M ARR is significantly more impressive than a score of 45 at $20M ARR.
How to Improve Your Rule of 40 Score
There are only two levers: grow faster or become more profitable. But within those levers, specific tactics have outsized impact.
1. Optimize Growth Efficiency
Not all revenue growth is created equal. A dollar of revenue acquired through an efficient channel (inbound content, product-led growth, partner referrals) costs less than a dollar acquired through enterprise field sales or paid acquisition.
Measure CAC payback by channel and shift investment toward channels with shorter payback periods. If your inbound channel has a 9-month CAC payback and your outbound channel has a 24-month payback, reallocating 20% of outbound budget to inbound can accelerate growth while simultaneously improving margins.
Target: CAC payback under 18 months for enterprise SaaS, under 12 months for mid-market, under 6 months for SMB.
2. Improve Gross Margins Through Automation and Infrastructure
SaaS gross margins directly constrain how much operating profit is available. A company with 65% gross margins has far less room to reach profitability than one with 80% gross margins, even at the same revenue.
The highest-impact improvements:
- Reduce hosting costs through reserved instances, autoscaling, and multi-tenant architecture optimization. Cloud infrastructure is typically 10-20% of revenue for SaaS companies; cutting it by 30% adds 3-6 points to gross margin.
- Automate customer onboarding to reduce professional services headcount. Every implementation engineer you don't hire improves gross margin.
- Invest in self-serve support (documentation, in-app guidance, community forums) to reduce support costs per customer.
Target: 75%+ gross margin for enterprise SaaS, 80%+ for product-led SaaS.
3. Right-Size R&D and Sales & Marketing Spend
R&D and S&M are the two largest operating expense categories for SaaS companies, typically consuming 50-70% of revenue combined. Small improvements in efficiency compound.
For R&D: benchmark against peers. Most public SaaS companies spend 20-30% of revenue on R&D. If you are at 35% and growing at the same rate as companies spending 25%, you have a 10-point margin improvement opportunity.
For S&M: focus on sales productivity. Revenue per quota-carrying rep should increase year-over-year. If it's declining, you are adding reps faster than you are adding pipeline — a common trap that destroys both growth and margins.
4. Focus on Expansion Revenue
Expansion revenue — upsells, cross-sells, and seat expansion from existing customers — is the single most efficient growth lever in SaaS. It grows revenue without proportional customer acquisition cost because the customer already exists.
Companies with net revenue retention (NRR) above 120% effectively grow 20%+ annually from their existing base before adding a single new customer. This means the sales and marketing engine only needs to drive the incremental growth above that baseline.
Practical expansion tactics:
- Usage-based pricing tiers that encourage customers to grow into higher plans naturally.
- Product add-ons and modules that solve adjacent problems for existing customers.
- Seat-based expansion where pricing scales with the number of users within an organization.
- Annual price increases of 3-7% that compound over time without requiring new sales effort.
Target: NRR of 110%+ for SMB-focused SaaS, 120%+ for mid-market, 130%+ for enterprise.
5. Implement Usage-Based Pricing for Natural Expansion
Usage-based pricing (UBP) aligns revenue directly with the value customers receive. As customers use more of the product, revenue grows automatically. This creates a natural expansion dynamic that improves both growth rate and margin.
Companies with usage-based models report 25-30% higher NRR on average compared to pure seat-based models. The margin benefit comes from reduced sales friction — there is no negotiation required for the customer to spend more. They simply use more.
The transition to UBP requires careful implementation: set base commitments to protect revenue floors, build metering infrastructure, and invest in usage dashboards so customers understand their consumption. But the Rule of 40 impact can be significant — companies like Snowflake, Twilio, and Datadog have all demonstrated elite Rule of 40 scores with usage-based models.
Related Metrics
The Rule of 40 does not exist in isolation. These metrics provide essential context and often serve as the underlying drivers of a company's Rule of 40 score:
- Annual Recurring Revenue (ARR) — The numerator's foundation. ARR growth rate is the most common growth input to the Rule of 40.
- EBITDA — The most common profitability input. Understanding EBITDA composition helps diagnose why margins are high or low.
- Burn Rate — The cash cost of growth. Companies with high Rule of 40 scores but high burn rates may be unsustainable.
- Customer Acquisition Cost (CAC) — Drives growth efficiency. Lower CAC means more growth per dollar of margin sacrificed.
- Customer Lifetime Value (LTV) — Combined with CAC as the LTV:CAC ratio, indicates whether growth is economically rational.
- Churn Rate — The silent killer of Rule of 40 scores. High churn suppresses growth rate and forces expensive re-acquisition spending.
- Operating Margin — A more conservative profitability measure that includes stock-based compensation. See EBITDA vs Net Income for more context on profitability metric differences.
The Bottom Line
The Rule of 40 endures because it answers a fundamental question with a single number: is this SaaS company healthy? It forces the trade-off between growth and profitability into the open, making it impossible to claim success on one dimension while failing on the other.
But it is a compass, not a GPS. A Rule of 40 score of 45 tells you the company is performing well. It does not tell you whether growth is accelerating or decelerating, whether margins are improving or deteriorating, or whether the score is driven by sustainable dynamics or one-time factors.
Use the Rule of 40 as a first-pass filter and a board-level summary metric. Then dig into the component metrics — growth rate trends, margin composition, NRR, CAC payback, gross margin — to understand the full story.