SaaS Metrics

The Rule of 40

The simple metric that balances growth and profitability in SaaS

What is the Rule of 40?

The Rule of 40 states that a healthy SaaS company's growth rate plus profit margin should equal or exceed 40%.

It's a simple yet powerful way to evaluate whether a company is balancing growth investment with profitability in a sustainable way.

The Formula

Growth Rate % + Profit Margin % ≥ 40%

Example 1: 30% revenue growth + 15% profit margin = 45% Pass
Example 2: 60% revenue growth + (-15%) loss = 45% Pass
Example 3: 20% revenue growth + 10% profit margin = 30% Fail

Breaking Down the Components

Growth Rate

Year-over-Year Revenue Growth %

Calculated as: (This Year Revenue - Last Year Revenue) ÷ Last Year Revenue × 100%

Example: ($10M - $8M) ÷ $8M = 25% growth

Profit Margin

Usually Free Cash Flow Margin or EBITDA Margin

Calculated as: Profit (or Loss) ÷ Revenue × 100%

Example: $1.5M profit ÷ $10M revenue = 15% margin

The Growth-Profitability Tradeoff

The Rule of 40 acknowledges that companies can succeed with different strategies:

High Growth Strategy

60% + (-20%)

= 40%

Fast-growing startups invest heavily in growth, running at a loss. They're buying market share.

Balanced Strategy

30% + 20%

= 50%

Moderate growth with healthy profitability. Sustainable and attractive to many investors.

Profit-Focused Strategy

10% + 35%

= 45%

Mature companies optimize for profitability. Lower but stable growth with strong cash generation.

Rule of 40 Scorecard

> 50%Excellent — top-tier SaaS company performance
40-50%Good — healthy balance of growth and efficiency
30-40%Needs Work — below standard, investigate inefficiencies
< 30%Problem — growing too slowly or spending too much

Real-World Examples

CompanyGrowth RateProfit MarginRule of 40
Snowflake (2021)106%-41%65%
Salesforce (2023)18%32%50%
Datadog (2022)83%-3%80%

How Cloud Engineers Impact Rule of 40

As a cloud engineer, you can influence both sides of the equation:

Enable Growth

  • Build scalable infrastructure that supports customer growth
  • Ship features faster to drive customer acquisition
  • Ensure reliability that prevents churn
  • Support new markets/regions with global infrastructure

Improve Margins

  • Optimize cloud infrastructure costs
  • Automate operations to reduce headcount needs
  • Improve resource efficiency (CPU, memory, storage)
  • Architect cost-efficient solutions from the start

Key Insight: The Rule of 40 shows that there's no single "right" way to run a SaaS business. You can be hyper-growth at a loss, or slow-growth and highly profitable - both can create tremendous value. The key is operating above 40% so you're efficiently using capital to create value.

Rule of 40 Calculator

Calculate your company's Rule of 40 score

Enter Your Company Metrics

Calculate from revenue & profit, or enter percentages directly

Revenue & Profit Metrics

Tip: Use FCF or EBITDA if available

Ready for the Next Topic?

Continue your learning journey