Rule of 40 for SaaS Companies
The rule of 40 is a simple profitability metric used to evaluate SaaS companies: add your annual revenue growth rate (as a percentage) to your net profit margin (as a percentage), and the sum should reach at least 40. When a company hits this threshold, it signals a sustainable balance between growth and profitability — two forces that typically compete in software business models.
Why the Rule of 40 Matters
The rule of 40 solves a real tension in SaaS: venture-backed companies historically had to choose—burn cash to scale and sacrifice margin, or slow growth to turn profitable. This rule codifies the idea that neither extreme is sustainable at scale. A company achieving 50% growth with a –15% margin (scoring 35) will eventually hit financing limits. A company growing at 5% with 20% margin (also scoring 25) is leaving money on the table and losing market share to faster competitors.
Investors and boards use the rule as a quick health check. If your score exceeds 40, you’ve proven you can grow profitably—or at least have a path to profitability without sacrificing market position. A score below 40 invites scrutiny: either your growth is slowing, your margins are compressing, or you’ve made deliberate trade-offs that need justification.
Growth Versus Margin: The Core Trade-Off
Most SaaS companies face the rule of 40 as a dynamic choice, not a fixed state. As you grow, you can emphasize one of two levers.
Prioritizing growth means accepting negative or minimal margins to acquire customers and expand market share. Netflix in the 2010s, Zoom before its IPO, and Slack in its early years all sacrificed near-term profit for explosive growth. A 45% growth rate with a –5% margin hits the rule (40 total) and signals healthy expansion—the company expects margins to improve as it scales.
Prioritizing margin means slowing investment and letting natural profitability compound. Box, Upland Software, and mature SaaS players often run this way. A 12% growth rate with 28% margin also hits the rule (40 total), but appeals to different investors: stable cash generation and lower burning capital.
The choice depends on your market position, the total addressable market (TAM), and competitive intensity. In a hot market with few competitors, growth often wins. In a mature, crowded segment, margin often wins.
How to Read the Rule in Context
A rule of 40 score tells you something, but not everything. Context matters.
A company scoring 45+ is performing well by this metric. But you still need to ask:
- Is the growth rate real, or inflated by a large acquisition that didn’t integrate organically?
- Are margins boosted by one-time gains, currency swings, or accounting conservatism?
- What is the cash conversion cycle—how long does it take to turn subscription revenue into cash?
- Is customer acquisition cost sustainable relative to [lifetime value](//?
A company scoring 30 or below is flagged as a concern, but again, context saves judgment:
- Early-stage SaaS (under $2M annual revenue) should ignore the rule; unit economics matter more.
- A profitable, slow-growth company that generates lots of free cash is fine; the rule assumes you want to grow.
- A company in price war or market consolidation may temporarily score low while defending share.
Worked Example: Two Paths to 40
Imagine two rival SaaS companies, both valued at $500M, both targeting the same market.
Company A (Growth Play):
- Revenue: $50M, growing 40% YoY
- Net profit margin: –2% (operating at a small loss but expecting to fix it)
- Rule of 40 score: 40 + (–2) = 38
This company is just below the rule. It’s likely burning cash, likely still raising venture capital. If it can either cut $1.2M in annual costs (pushing margin to 0%) or accelerate to 42% growth, it clears the bar. The market accepts this path if the TAM is huge and no competitor is scaling faster.
Company B (Margin Play):
- Revenue: $50M, growing 15% YoY
- Net profit margin: 25% (profitable, generating ~$12M in annual profit)
- Rule of 40 score: 15 + 25 = 40
This company hits the rule squarely. It’s cash-generative, but growth is slower. If market share is consolidating, Company B risks getting left behind by Company A (even though A is unprofitable). But if Company B can achieve the same quality of revenue at lower CAC, or if the market is maturing, the steady profit and cash generation is safer.
Which is “better”? Neither. Company A is a venture bet; Company B is a sustainable business. The rule simply flags that both have made deliberate trade-offs and are executing on them.
Beyond the Rule: Where It Breaks Down
The rule of 40 is a sieve, not a science. It misses:
- Unit economics: A business growing 50% but losing $2 on each customer acquired will never be profitable, no matter the headline growth rate. Revenue growth alone is not a sign of health.
- Churn and retention: High revenue growth with 30% annual churn is often unsustainable. The rule doesn’t distinguish between new logos and retained ones.
- Capital intensity: A SaaS company with minimal upfront R&D spending can hit 40 easily; a company building AI models or managing data centers may need both growth and margin just to cover costs.
- Customer mix: A $5M company with 100% margin on one customer is not in the same boat as a company with 5,000 customers and 20% margin.
- Debt and interest: The rule uses net profit margin, which includes interest. A leveraged buyout of a SaaS company may score well on the rule but be saddled with debt.
The rule of 40 is best used alongside return on equity, free cash flow, and customer acquisition cost metrics to build a fuller picture.
When to Ignore the Rule
- Pre-product-market fit: If you’re still proving demand, profitability is premature.
- Price-war situations: If competitors are dumping prices, margin may drop below 0% while you hold share—a temporary, rational choice.
- One-time events: A spinoff, divestiture, or accounting change can distort the rule’s denominator. Use rolling three-year averages.
- B2B vs. B2C tension: B2B SaaS naturally carries higher margins than B2C; a B2C company scoring 30 may be healthier than it looks.
See also
Closely related
- Return on Equity — broader measure of profitability relative to shareholder capital
- Free Cash Flow — more direct measure of a company’s ability to fund growth and return capital
- Earnings Per Share — common metric for tracking SaaS company profitability per share
- Gross Profit Margin — shows profitability before operating costs
- Operating Margin — intermediate profitability metric before taxes and interest
Wider context
- SaaS Business Model — foundational understanding of software subscription economics
- Business Cycle — explains growth and contraction phases companies navigate
- Market Capitalization — how SaaS companies are valued in public markets
- Capital Asset Pricing Model — framework investors use to evaluate risk and return in SaaS stocks