Skip to content
Built in Lahore, PakistanHow we check the math
mathbehind

The Rule of 40: Balancing Growth and Profit in SaaS

Growth rate plus profit margin should reach 40. Companies can pass by growing fast, by being profitable, or by a mix of both.

By Muhammad Ahmad, Software EngineerLinkedIn· figures checked

Published , updated . 4 min read.

Want to run your own numbers?Rule of 40 CalculatorOpen the calculator

Software companies face a constant trade-off: spend money to grow faster, or grow more slowly and keep more profit. The Rule of 40 is a one-line way to judge whether that trade-off is working.

The formula

Add your year-over-year revenue growth rate to your profit margin. If the total is 40 or more, you meet the rule.

30% growth with a 15% profit margin
  1. Growth + margin

    30% + 15%equals45

  2. Compared with 40

    45 − 40equals5

Very different companies can pass

  • Growing 60% a year while losing 20% of revenue: 60 + (−20) = 40.
  • Growing 10% a year with a 30% profit margin: 10 + 30 = 40.
  • Growing 25% a year while losing 5%: 25 + (−5) = 20, well below the line.

The first company is burning money but getting a lot of growth for it. The second is growing slowly but very profitably. The third is losing money without growing fast enough to justify it, which is the situation the rule is designed to flag.

Which profit margin?

You will see EBITDA margin, operating margin and free cash flow margin all used. Free cash flow is harder to flatter, which is why many investors prefer it. The important thing is to use the same measure each time you compare.

Limits of the rule

It works best for established subscription businesses with steady revenue. Very early startups can post enormous growth percentages from a tiny base, and a single large contract can swing the number for a smaller company. Treat it as a quick health check that starts a conversation, not a verdict.

How to improve your score

There are only two ways to raise the score: grow faster, or become more profitable. In practice the question is which one is cheaper for your business right now. Cutting spending that is not producing growth raises margin without hurting growth. Investing more in channels that reliably bring in customers can raise growth faster than it lowers margin.

Tracking the score every quarter, rather than once a year, shows whether decisions are moving it in the right direction. A falling score while losing money is the clearest sign that spending needs a closer look.

How many companies actually pass?

Fewer than the rule's fame suggests. SaaSRise's 2026 benchmarks report a median score of 31 across private SaaS companies, with a clear pattern by size: a median around 15 for companies under $5 million of ARR, rising to around 50 for those above $100 million. Passing the Rule of 40 is a mark of a strong, established business, not a baseline expectation for a small one.

Three companies, three scores

  • A startup growing 60% a year while running a −25% profit margin scores 35. It is growing fast but spending too heavily for that growth.
  • A steady business growing 10% a year with a 35% margin scores 45. It passes without being exciting.
  • A company growing 25% with a 15% margin scores exactly 40.

The rule treats a point of growth and a point of margin as equal. Many investors do not: at most stages, growth is valued more highly than profit. Bessemer Venture Partners, for example, has proposed a "Rule of X" that gives growth a heavier weight. The simple Rule of 40 remains the common shorthand, but it is worth knowing the person you are talking to may weigh the two differently.

Getting the inputs right

  • Growth: use year-over-year growth in recurring revenue or ARR, measured over the last twelve months, not a single strong month annualised.
  • Margin: say which one you use. EBITDA margin and free cash flow margin are both common, and they can differ by many points in a year with big upfront payments.
  • Be consistent from quarter to quarter, so changes in the score reflect the business rather than the method.

Reaching 40 from different starting points

Using the Rule of 40 Calculator, a company growing 20% a year with a 20% profit margin scores exactly 40, a balanced, efficient business. A company growing 60% with a −25% margin scores 35 and needs either faster growth or smaller losses. The rule doesn't say which is better, only that the combination should add up. For a young company, closing the gap through efficient growth is usually preferred; for a mature one, through margin.

Track the score quarterly on a trailing twelve-month basis, and look at the direction as much as the level: a score rising from 25 to 35 tells a better story than one falling from 45 to 40.

Tip: If you are below 40, look at which half is weak. Losing money is fine if growth is strong enough to justify it; losing money while growing slowly usually is not.

Questions people ask

What is the Rule of 40?
Revenue growth rate plus profit margin should be 40 or more. 30% growth with a 15% margin scores 45.
Which profit margin should be used for the Rule of 40?
EBITDA, operating or free cash flow margin are all used. Free cash flow is hardest to flatter; use the same one every time.
Does the Rule of 40 apply to early startups?
It works best for established subscription businesses. Very early companies can post huge growth from a tiny base, so treat it as a health check, not a verdict.
What is the median Rule of 40 score?
About 31 for private SaaS in SaaSRise's 2026 benchmarks, ranging from around 15 under $5 million of ARR to around 50 above $100 million.
Is 20% growth with a 20% margin good?
It meets the Rule of 40 exactly: a score of 40, which is strong. The 2026 median for private SaaS is about 31.

Sources

  1. SaaSRise: The 2026 SaaS Benchmarks Report