Business & Accounting

Rule Of 40: Formula, Meaning & Example

The Rule of 40 is a SaaS performance framework that combines a company’s growth rate with a profitability margin to evaluate the tradeoff between growth and financial performance.

The basic formula is:

Rule of 40 Score = Growth Rate % + Profit Margin %

Suppose a SaaS business has:

Revenue Growth = 30%

and:

Profit Margin = 12%

Then:

Rule of 40 Score = 30% + 12% = 42%

The company scores 42, placing the combined growth-and-profitability result above the framework’s 40% reference point.

A faster-growing company can support a lower margin and still reach 40. A slower-growing company needs stronger profitability to achieve the same combined score.

The metric is simple, but companies must define both the growth measure and profitability measure consistently.

What Is the Rule of 40?

The Rule of 40 addresses a common SaaS tradeoff.

Fast-growing companies often spend heavily on sales, marketing, product development, and market expansion, which can reduce current profitability.

Mature companies may grow more slowly but produce stronger margins.

The framework combines the two dimensions rather than judging either in isolation.

For example:

Company A:

Growth = 35%

Margin = 5%

Score:

40

Company B:

Growth = 10%

Margin = 30%

Score:

40

Both reach the same Rule of 40 score through very different operating profiles.

Rule of 40 Formula

The general formula is:

Rule of 40 Score = Revenue Growth Rate % + Profitability Margin %

For example:

Growth = 25%

Margin = 18%

Then:

Rule of 40 = 43%

The calculation is addition, not multiplication.

A company with 25% growth and 18% margin has a score of 43, not 4.5 or another product of the two percentages.

Rule of 40 Example

Suppose a SaaS company reports:

Prior-Year Revenue = $20 Million

Current-Year Revenue = $26 Million

Revenue growth:

($26M − $20M) ÷ $20M × 100 = 30%

Assume the chosen profitability measure is:

10% Margin

Then:

Rule of 40 Score = 30% + 10%

= 40%

The company exactly reaches the 40% reference level under this methodology.

Example With High Growth and Negative Margin

A company does not need to be profitable to reach 40.

Suppose:

Growth = 55%

Profit Margin = −10%

Rule of 40:

55% + (−10%) = 45%

The company scores 45 despite operating at a negative margin.

Rapid growth more than offsets the loss in the combined framework.

This does not mean losses are irrelevant. It means the Rule of 40 explicitly allows a tradeoff between growth and profitability.

Example With Low Growth and High Margin

Suppose:

Growth = 8%

Profit Margin = 35%

Score:

43%

A mature SaaS company can exceed 40 without rapid growth if it produces sufficiently strong profitability.

The framework therefore does not favor only high-growth businesses.

Example Below 40

Suppose:

Growth = 15%

Margin = 10%

Then:

Rule of 40 = 25%

The combined result is below 40.

That does not automatically mean the business is poor.

Its customer retention, cash generation, capital requirements, market position, or future growth prospects may still be attractive.

The Rule of 40 is one analytical lens, not a complete business valuation.

Which Growth Rate Should Be Used?

The framework requires a clearly defined growth measure.

A company might use:

  • total revenue growth;
  • recurring revenue growth;
  • ARR growth; or
  • another consistently defined top-line measure.

The choice should match the analytical purpose and remain consistent across periods.

For a recurring SaaS business, annual recurring revenue growth can sometimes provide useful operating context, while accounting revenue growth may be more suitable for another analysis.

The key is not to switch measures merely to produce the most favorable score.

Which Profit Margin Should Be Used?

The profitability component also needs a defined methodology.

Possible measures can include:

  • operating margin;
  • EBITDA-style margin;
  • adjusted operating margin;
  • free-cash-flow margin; or
  • another consistently used profitability measure.

These definitions can produce materially different results.

If Company A uses an adjusted margin while Company B uses an unadjusted accounting margin, their Rule of 40 scores may not be directly comparable.

The chosen metric should therefore be stated whenever precision matters.

Rule of 40 With Operating Margin

Suppose:

Revenue Growth = 28%

and:

Operating Margin = 8%

Rule of 40:

28% + 8% = 36%

If operating margin later improves to 15% while growth stays at 28%:

New Score = 43%

The improvement comes entirely from profitability.

Rule of 40 With Negative Operating Margin

Suppose:

Growth = 50%

Operating Margin = −20%

Score:

30%

Rapid growth is not enough to compensate for the size of the operating loss under this calculation.

If the company improves margin to:

−5%

while maintaining 50% growth:

Score = 45%

Operating improvement can move the company above the reference level even without faster growth.

Rule of 40 With Free-Cash-Flow Margin

A company may choose free-cash-flow margin when cash generation is the intended profitability measure.

Suppose:

Revenue Growth = 22%

Free-Cash-Flow Margin = 20%

Rule of 40 score:

42%

A different profitability definition can yield a different score for the same company.

Comparisons should therefore use a consistent methodology.

Growth and Profitability Are Interchangeable Only Within the Formula

The arithmetic treats one additional percentage point of growth the same as one additional percentage point of margin.

For example:

30% Growth + 10% Margin = 40

and:

20% Growth + 20% Margin = 40

But the economic consequences are not necessarily equivalent.

Growth quality, customer acquisition cost, retention, capital intensity, gross margin, and cash timing can differ substantially.

The framework simplifies the tradeoff; it does not prove every combination yielding 40 has identical value.

Rule of 40 and Quarter-Over-Quarter Growth

Quarter-over-quarter growth is useful for tracking recent momentum, but it should not automatically be inserted into a Rule of 40 calculation.

Suppose revenue grows:

10% QoQ

A mechanical annualization would produce a much larger compounded rate if sustained.

But one strong quarter may reflect seasonality, pricing, acquisitions, or an unusually weak previous quarter.

A Rule of 40 analysis should use a growth period appropriate to the methodology rather than automatically substituting the latest sequential quarterly rate.

Rule of 40 and Month-Over-Month Growth

The same caution applies to month-over-month growth.

Suppose MRR grows:

5% in One Month

Compounding 5% for 12 months produces a mathematical annualization of approximately:

79.59%

But assuming that monthly pace will continue for a full year may be unrealistic.

Short-term momentum is useful operationally.

The Rule of 40 should generally use a stable, clearly defined growth measure that is not distorted by one unusually strong month.

Rule of 40 and MRR Growth

Monthly recurring revenue growth can provide insight into current recurring growth.

Suppose MRR increases from:

$1M to $1.1M

Monthly growth:

10%

That demonstrates strong short-term expansion.

However, using a single monthly percentage directly as the Rule of 40 growth component can create poor comparability with companies using annual growth.

Time periods should be aligned before interpreting the resulting score.

Rule of 40 and Revenue Churn

Revenue churn affects the growth component because recurring revenue lost from customers reduces net growth.

Suppose a company generates:

$5M of New and Expansion ARR

but loses:

$3M through Churn and Contraction

Net recurring growth is far lower than gross additions suggest.

Reducing revenue churn can improve the Rule of 40 score without requiring faster new-customer acquisition.

Retention therefore contributes directly to sustainable growth quality.

Rule of 40 and Net Revenue Retention

Net revenue retention helps explain whether growth is being generated inside the installed customer base.

Suppose:

NRR = 115%

Existing customers grow recurring revenue 15% before new customers are added.

That can create a strong foundation for top-line growth.

A company with high NRR may require less new acquisition to maintain a given growth rate than a company whose existing customer base contracts.

The Rule of 40 score does not reveal this underlying composition by itself.

Rule of 40 and Gross Revenue Retention

Gross revenue retention provides another important quality check.

Consider two companies with identical:

30% Growth

and:

10% Margin

Both score:

40

Company A:

GRR = 98%

Company B:

GRR = 75%

Company B has to replace much more lost recurring revenue to achieve the same net growth rate.

The headline Rule of 40 result is identical, while the durability of the customer bases differs substantially.

Rule of 40 and Sales Efficiency

Sales efficiency adds the cost of generating growth.

Suppose two companies both grow 30% with a 10% margin.

Both score:

40

Company A requires relatively modest sales and marketing spending to produce that growth.

Company B spends aggressively and has poor acquisition efficiency.

Their Rule of 40 scores match, but Company A may have a more productive growth engine.

Growth rate should therefore be analyzed with the resources required to create it.

Rule of 40 and the SaaS Magic Number

The magic number saas specifically connects incremental recurring revenue with sales and marketing spending.

Rule of 40:

Growth + Profitability

Magic Number:

Commercial Revenue Growth Efficiency

A company can score well on the Rule of 40 but have a weak Magic Number if its growth requires unusually high sales and marketing spending.

Alternatively, strong sales efficiency can coexist with a low Rule of 40 score if overall growth is modest or profitability is weak.

Rule of 40 and Lifetime Value to CAC

The lifetime value to cac ratio evaluates customer unit economics over the expected relationship.

Suppose a company scores:

45 on the Rule of 40

but:

LTV:CAC = 1.2:1

The headline growth-profitability balance may look attractive while newly acquired customers have weak lifetime economics.

Conversely, a company below 40 can still have excellent unit economics and be investing deliberately for future scale.

The metrics answer different questions.

Rule of 40 and CAC Payback

The CAC payback period adds cash-recovery timing.

Two SaaS companies can both score 40.

Company A:

CAC Payback = 6 Months

Company B:

CAC Payback = 24 Months

The second company ties up acquisition capital for much longer.

Rule of 40 does not capture that timing difference.

Rule of 40 and Pricing

Pricing can affect both sides of the equation.

A price increase percentage can increase revenue growth and improve margins when customers accept the higher price.

Suppose:

Growth Before Pricing Change = 20%

Margin = 15%

Score:

35

A pricing change increases revenue growth to 25% and margin to 18%:

New Score = 43

The business moves above 40 through simultaneous growth and margin improvement.

But if higher prices cause substantial churn, the result can reverse.

Price Increase With Churn

Suppose price increases improve gross margin but slow revenue growth because customers cancel.

Before:

Growth = 35%

Margin = 5%

Score:

40

After:

Growth = 20%

Margin = 15%

Score:

35

Profitability improves by ten percentage points.

Growth falls by fifteen.

The combined Rule of 40 score deteriorates by five points.

Pricing should therefore be evaluated through total economic effects rather than margin alone.

Rule of 40 and Price Decreases

A price decrease percentage can potentially accelerate growth but compress margins.

Suppose:

Before:

Growth = 15%

Margin = 25%

Score:

40

After lower pricing:

Growth = 30%

Margin = 12%

Score:

42

The strategy improves the combined score by two points.

But the higher score does not automatically mean the price cut was optimal. Customer lifetime, acquisition efficiency, cash flow, and competitive positioning still matter.

Rule of 40 and Value-Based Pricing

Value-based pricing can potentially improve the growth-profitability balance when prices better reflect customer value.

If stronger pricing increases revenue per account without materially harming retention, both growth and margin can improve.

If pricing exceeds perceived value, churn can rise and reduce growth.

Pricing methodology therefore interacts with the Rule of 40 through customer behavior rather than through formula mechanics alone.

Rule of 40 and Margin

The generic margin concept is broader than the specific profitability measure selected for the Rule of 40.

A business should not mix gross margin in one quarter, operating margin in another, and free-cash-flow margin in a third while presenting the scores as a continuous trend.

The chosen profitability definition must remain consistent if management wants the trend to mean anything.

Rule of 40 and Annual Recurring Revenue Growth

Suppose ARR grows:

From $20M to $27M

Growth:

($27M − $20M) ÷ $20M × 100 = 35%

If the chosen profitability margin is:

8%

Rule of 40:

35% + 8% = 43%

The business exceeds the 40 reference point under this ARR-growth methodology.

If another analyst uses accounting revenue growth instead, the score can differ.

The growth definition should therefore always accompany the result.

Negative Growth and Positive Margin

A company can have a positive Rule of 40 score even with declining revenue.

Suppose:

Growth = −5%

Profit Margin = 30%

Score:

25%

The company is profitable but shrinking.

If margin were 50%:

Score = 45%

The arithmetic would exceed 40 despite negative growth.

That illustrates why the score should not be interpreted without examining its components.

A shrinking business and a high-growth business can theoretically reach similar totals through very different profiles.

Extremely High Growth With Large Losses

Suppose:

Growth = 100%

Margin = −50%

Score:

50%

The company passes 40 mathematically.

But losing half of revenue on the selected margin basis may require substantial capital.

The Rule of 40 does not quantify financing risk, cash runway, dilution, or the certainty that high growth will continue.

Extreme component values deserve separate scrutiny.

Same Rule of 40 Score, Different Businesses

Consider:

CompanyGrowthMarginScore
A50%-10%40
B30%10%40
C20%20%40
D5%35%40

Every company scores 40.

Yet they represent very different combinations of maturity, investment, risk, cash generation, and growth potential.

The Rule of 40 compresses two dimensions into one number. Always inspect the components.

Rule of 40 Improvement Through Growth

Suppose margin remains:

10%

Growth improves:

From 20% to 35%

Original score:

30

New score:

45

The entire 15-point improvement comes from faster growth.

Management should determine whether that growth is organic, acquired, price-driven, expansion-led, or produced through higher acquisition spending.

Rule of 40 Improvement Through Margin

Suppose growth remains:

25%

Margin improves:

From 5% to 18%

Original score:

30

New score:

43

The business crosses the reference level through profitability improvement alone.

Possible causes include better pricing, lower cost, operating leverage, reduced sales spending, automation, or product mix.

Growth Improvement Can Damage Margin

Suppose a company accelerates growth by dramatically increasing sales and marketing investment.

Before:

Growth = 20%

Margin = 20%

Score:

40

After:

Growth = 35%

Margin = 2%

Score:

37

Growth improves 15 percentage points, but margin falls 18.

The company grows faster yet scores lower.

Growth purchased at an excessive profitability cost can weaken the combined framework.

Margin Improvement Can Damage Growth

The reverse can occur if management cuts spending aggressively.

Before:

Growth = 35%

Margin = 5%

Score:

40

After major cost cuts:

Growth = 15%

Margin = 25%

Score:

40

The score remains unchanged.

But the strategic implications are very different.

A stable Rule of 40 result can therefore hide substantial shifts between growth and profitability.

Rule of 40 Trend Example

Suppose:

YearGrowthMarginRule of 40
Year 150%-20%30
Year 242%-5%37
Year 332%10%42
Year 422%25%47

Growth slows as the company matures.

Profitability improves faster.

The combined score rises from 30 to 47.

That can represent a healthy transition from growth-at-all-costs toward more balanced growth and profitability.

Rule of 40 Can Decline Despite Improving Profit

Suppose:

Year 1:

Growth = 60%

Margin = −10%

Score:

50

Year 2:

Growth = 30%

Margin = 10%

Score:

40

Profitability improves by 20 percentage points.

But growth falls 30 points.

The combined score declines ten points.

Improving profits do not automatically improve the Rule of 40 if growth decelerates faster.

Rule of 40 and Company Scale

Growth rates often decline as a company’s revenue base becomes larger.

Adding $10 million of new revenue to a $20 million business represents:

50% Growth

Adding the same $10 million to a $100 million business represents:

10% Growth

A mature company may therefore rely more heavily on margin to maintain a strong Rule of 40 score.

The underlying absolute revenue growth can still be substantial.

Rule of 40 and Acquisitions

Acquired revenue can increase reported growth without reflecting the same underlying organic commercial performance.

Suppose a company grows:

30%

but half of that increase comes from an acquisition.

A Rule of 40 score calculated from total growth can differ meaningfully from one based on organic growth.

The chosen methodology should identify whether acquired growth is included when that distinction is material.

Rule of 40 and Currency Effects

International businesses can report growth affected by currency movements.

A stronger or weaker reporting currency can alter reported revenue growth even if underlying customer activity is unchanged.

When material, constant-currency growth can provide additional context.

The Rule of 40 itself does not correct for currency effects automatically.

What Does a Rule of 40 Score Above 40 Mean?

A result above 40 means:

Growth Rate + Selected Profit Margin > 40%

under the chosen definitions.

For example:

Growth = 32%

Margin = 15%

Score:

47

The company has a strong combined result within the framework.

It does not mean the company is automatically profitable, undervalued, financially safe, or superior to every company below 40.

What Does a Score Below 40 Mean?

A score below 40 means the selected growth and profitability percentages add to less than 40.

Suppose:

Growth = 18%

Margin = 12%

Score:

30

Management can investigate whether the business should improve growth, margins, or both.

But a score below 40 can still coexist with excellent customer retention, strong balance-sheet quality, attractive valuation, or deliberate investment for future growth.

Is 40 a Hard Requirement?

No.

The Rule of 40 is a heuristic.

It simplifies the growth-profitability tradeoff into an easily understood benchmark.

It does not replace detailed analysis of:

customer retention;

gross margin;

cash generation;

acquisition efficiency;

market size;

competition;

capital structure;

customer concentration;

or valuation.

It is most useful as one component of a broader operating framework.

How to Improve a Rule of 40 Score

Mathematically, there are only two ways:

increase growth;

increase the selected profitability margin.

Operationally, those improvements can come from many sources.

Growth can improve through customer acquisition, better retention, expansion, pricing, new products, or greater usage.

Margin can improve through better pricing, reduced costs, operating leverage, higher sales efficiency, and more profitable product mix.

The strongest improvements raise one component without disproportionately damaging the other.

Common Rule of 40 Mistakes

A common mistake is failing to specify which growth and profitability metrics are being used.

Another is comparing companies that calculate the score differently.

Businesses sometimes use short-term monthly or quarterly growth rates as though they were directly comparable with annual growth.

Another error is interpreting a score above 40 as proof of overall financial health.

Companies can also focus on the total score while ignoring extreme underlying components.

A strong score can coexist with poor revenue retention, weak acquisition economics, or substantial cash requirements.

Finally, the score should not be optimized mechanically at the expense of long-term customer value.

Frequently Asked Questions

What is the Rule of 40 in simple terms?

The Rule of 40 combines a SaaS company’s growth rate and profitability margin into one score to evaluate the balance between growth and financial performance.

What is the Rule of 40 formula?

Rule of 40 Score = Growth Rate % + Profit Margin %

What is an example of the Rule of 40?

If revenue growth is 30% and the selected profit margin is 12%:

30% + 12% = 42%

The Rule of 40 score is 42.

Does a company need both 40% growth and 40% margin?

No.

The two percentages are added.

For example:

30% Growth + 10% Margin = 40

Can an unprofitable company pass the Rule of 40?

Yes.

For example:

55% Growth + (−10%) Margin = 45

Rapid growth can offset a negative margin within the formula.

Can a slow-growing company pass the Rule of 40?

Yes.

For example:

10% Growth + 35% Margin = 45

Which growth rate should be used?

The methodology can use revenue growth, ARR growth, or another clearly defined growth measure. The important requirement is consistency and transparency.

Which profit margin should be used?

Different analyses can use operating margin, EBITDA-style margin, free-cash-flow margin, or another defined profitability measure. Results should not be compared unless the definitions are aligned.

Is quarter-over-quarter growth appropriate for the Rule of 40?

It can provide useful recent context, but a short-term QoQ rate should not automatically replace the growth measure defined for the Rule of 40 calculation.

How does revenue churn affect the Rule of 40?

Higher revenue churn reduces net recurring growth, which can weaken the growth component of the score.

How does NRR affect the Rule of 40?

Strong NRR supports growth from existing customers and can reduce the amount of new acquisition required to sustain top-line growth.

How does sales efficiency relate to the Rule of 40?

Rule of 40 measures growth plus profitability. Sales efficiency measures how productively commercial spending creates growth. Two companies can have identical Rule of 40 scores with very different acquisition efficiency.

Is the Rule of 40 the same as the SaaS Magic Number?

No.

The Magic Number relates recurring-revenue growth to sales and marketing spending. The Rule of 40 combines growth and profitability.

How does pricing affect the Rule of 40?

Successful pricing can improve both growth and margin. Pricing that causes excessive churn can weaken growth enough to offset the margin benefit.

Can a company above 40 still have weak unit economics?

Yes.

Weak LTV:CAC, long CAC payback, poor retention, or low gross margin can coexist with a strong aggregate Rule of 40 score.

Can a company below 40 still be healthy?

Yes.

Company stage, market opportunity, investment cycle, cash flow, retention, and valuation all matter. The Rule of 40 is a heuristic rather than a pass-or-fail law.

Why should the components be shown separately?

Two companies can both score 40 while one grows 50% at a negative margin and another grows 10% with a 30% margin. The same total can represent very different business profiles.

Why is the Rule of 40 important?

It provides a concise way to evaluate the tradeoff between SaaS growth and profitability. Used with retention, sales efficiency, CAC payback, LTV:CAC, pricing, and recurring-revenue metrics, it helps determine whether growth and profitability are developing in a balanced and sustainable way.

Mehran Khan

Mehran Khan is the primary author at The Logic Library and CEO & Founder of One Digit Media. With 10+ years of experience in software engineering, SEO, and digital publishing, he uses a research-led approach to Logics, Maths, Tech, Formulas, Science, and AI.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button