Skip to content
Allin

What Is the Rule of 40? Six Ways to Score Exactly 40

Published 5/27/2026 · 8 min read · Business tools

Camille Laurent

Camille LaurentFinance writer at Allin

Tax · Personal finance

Checked against 2 sources

View profile
In short

The Rule of 40 says a software company's annual revenue growth rate plus its profit margin, both in percent, should add up to at least 40. A company growing 30 percent with a 10 percent margin scores 40 and passes; one growing 25 percent with a 5 percent margin scores 30 and does not. The rule's defining property is that it is indifferent between its two inputs: 60 percent growth at a minus 20 percent margin scores exactly the same 40 as 10 percent growth at a 30 percent margin, even though on $10M of revenue the first adds $6.0M of new revenue while burning $2.0M of cash and the second adds $1.0M while generating $3.0M. That indifference is the whole criticism. The second thing nobody states is which margin they used — EBITDA margin, free-cash-flow margin, operating margin and net margin can differ by 15 points or more in the same company, which is enough to move a score from a comfortable pass to a clear fail. Treat the number as a screening question, not a verdict, and always ask which margin produced it.

Growth rate plus profit margin should clear 40. But 60 percent growth at a minus 20 percent margin scores the same as 10 percent growth at a 30 percent margin — and on $10M of revenue those are opposite companies.

The arithmetic, and the indifference built into it

The calculation is a single addition. Take the year-over-year revenue growth rate as a percentage, take the profit margin as a percentage, add them, and compare the total to 40. Growth of 30 percent with a 10 percent margin gives 40 and passes. Growth of 25 percent with a 5 percent margin gives 30 and fails, even though a company growing a quarter a year while making money is a perfectly good business. There is no weighting, no adjustment for company size, and no term for how the two numbers were reached. That simplicity is why the rule spread — you can compute it from the first two lines of any board deck — and it is also the source of every objection to it.

The indifference is the part worth dwelling on. Because the two inputs are simply added, the rule assigns identical scores to opposite strategies. On $10M of revenue, a company growing 60 percent at a minus 20 percent margin adds $6.0M of new revenue and burns $2.0M of cash; a company growing 10 percent at a 30 percent margin adds $1.0M and generates $3.0M. Both score 40. One is a venture bet that will run out of money without another round, the other is a self-funding business that has stopped compounding, and the rule ranks them equal. Anyone using the score as a filter is implicitly claiming those two are equally attractive — which depends entirely on whether you are buying growth or buying cash flow, a question the rule does not ask.

Which margin you use changes the verdict

There is no canonical margin in the Rule of 40. In practice people use EBITDA margin, free-cash-flow margin, operating margin, or occasionally net margin, and they rarely say which. In the same company these differ enormously. Take a company with $10M of revenue, 25 percent growth, a 20 percent EBITDA margin and a 5 percent free-cash-flow margin — an entirely ordinary spread once you account for capitalised development costs, working-capital swings and stock-based compensation. On the EBITDA definition it scores 45 and passes comfortably. On the free-cash-flow definition it scores 30 and fails clearly. The same year, the same company, a 15-point swing, and a $1.5M gap between the two profit figures.

The practical rule is therefore to state the definition every time you state the score, and never to compare two companies' scores unless you know both were computed the same way. The most conservative choice is free-cash-flow margin, because it is the one that cannot be improved by an accounting decision: capitalising development shifts cost off the profit line but not out of the bank account. EBITDA margin is the most commonly used and the most flattering, which is precisely why it is the most commonly used. If you compute your own score both ways and the two answers straddle 40, that gap is more informative than either number — it tells you exactly how much of your reported profitability is an accounting presentation rather than cash.

What the rule is actually good for

Used as a screening question, the rule earns its keep. It forces the two conversations that matter into a single sentence, and it catches the two failure modes that a growth chart alone hides: growth bought at a burn rate the company cannot sustain, and profitability achieved by stopping investment. A board that reviews the score every quarter and asks which of the two inputs moved is doing something useful. A board that treats 40 as a target to be optimised is inviting the obvious gaming — cut sales and marketing in the last quarter of the year and the margin rises immediately while the growth cost shows up only in the following year's number.

Two limits are worth stating explicitly. The rule is close to meaningless below roughly $1M of revenue, because percentage growth off a tiny base is trivially large — doubling from $200K to $400K is 100 percent growth and says almost nothing about the business. And the rule was built for subscription software, where revenue is recurring and gross margins sit above 70 percent; applied to a business with 30 percent gross margins, the margin term is structurally capped and 40 becomes unreachable regardless of quality. If you want one number to sit next to it, use net revenue retention: it measures whether the revenue you already have grows on its own, which is the thing the Rule of 40 cannot see at all.

Profit margin
Seven growth-and-margin combinations, all applied to a company with $10M of revenue
Growth rateProfit marginScoreWhat the year actually looked like
60 %−20 %40 — passAdds $6.0M of revenue and burns $2.0M of cash — needs funding to continue
40 %0 %40 — passAdds $4.0M of revenue and exactly breaks even — the textbook growth-stage shape
30 %10 %40 — passAdds $3.0M of revenue and generates $1.0M — growing and self-funding at once
20 %20 %40 — passAdds $2.0M of revenue and generates $2.0M — the balanced midpoint of the rule
10 %30 %40 — passAdds $1.0M of revenue and generates $3.0M — a profitable business that has stopped compounding
0 %40 %40 — passAdds nothing and generates $4.0M — a cash machine the rule cannot distinguish from a rocket
25 %5 %30 — failAdds $2.5M of revenue and generates $0.5M — respectable on both counts, and still 10 points short

Worked with our own calculator

Rule of 40 calculator

Given

Revenue growth rate (%)
33
Profit margin (%)
17

Result

Rule of 40 score
50

These figures are produced by the calculator below, not typed in by hand — they are recomputed whenever the tool changes.

Run it on your own figures

Frequently asked questions

Which margin should I use in the Rule of 40?
There is no official answer, which is the problem. EBITDA margin is the most common and the most flattering; free-cash-flow margin is the most conservative and the hardest to manipulate with accounting choices. Pick one, state it whenever you quote the score, and compute it the same way every quarter. If you compute both and one passes while the other fails, the gap between them is the number worth investigating.
Does the Rule of 40 apply to businesses that are not subscription software?
Poorly. The threshold of 40 was calibrated on subscription software, where revenue recurs by default and gross margins routinely exceed 70 percent. A retailer or an agency with a 30 percent gross margin cannot reach a 30 percent profit margin at all, so the margin term is structurally capped and only extreme growth can clear the bar. The structure of the rule — trade growth against profit, and hold the sum to a benchmark — still transfers; the number 40 does not. Set your own threshold from the margins your industry actually achieves.
Is a score well above 40 always better?
Not automatically. A score of 70 built from 65 percent growth and a 5 percent margin is a very different asset from a 70 built from 20 percent growth and a 50 percent margin, and the rule cannot distinguish them any more than it can distinguish the two ways of reaching 40. A very high score driven entirely by margin often means the company is under-investing and will hand the market to a competitor that spends. Read the two components, never the sum alone.

Articles you may find interesting

All guides
ExplainerWhat LTV:CAC Ratio Should You Target? The Churn Estimate Decides ItEveryone quotes 3:1 and nobody states their churn assumption. With $100 ARPU and an 80 percent gross margin, moving monthly churn from 2 to 3 percent drops the ratio from 4.0:1 to 2.67:1 — a pass turned into a fail by one percentage point.ExplainerMRR and the Arithmetic of Recurring RevenueMonthly recurring revenue is a normalised run rate, not revenue earned. Normalise it wrong and every downstream number is wrong. Here is the movement analysis that explains the figure, and why net revenue retention decides whether growth compounds.ExplainerCAC Payback Period Explained: Why a 3:1 LTV/CAC Can Still Run Out of CashLTV/CAC says whether a customer is profitable eventually. Payback says whether you can afford to wait. The formula divides CAC by monthly gross profit — and the gross margin is the term nearly everyone drops.ComparisonEBITDA vs EBIT vs Net Income: One P&L, Three AnswersWalked down one $10M P&L: EBITDA of $1.8M, EBIT of $1.1M, net income of $525K. The gap is 70.8 percent of EBITDA — and it is the cost of the assets and the debt the business actually runs on.ExplainerEBITDA: What It Deliberately Leaves OutEBITDA adds back the two costs that differ most between companies, which is exactly what makes it comparable — and exactly why it flatters anyone who owns a lot of equipment. Here is the same profit walked all the way down, and the maintenance-capex floor the measure never shows.ExplainerARPU and the Averages That Hide Your BusinessAverage revenue per user is a mean over a distribution with no middle, divided by a denominator nobody defines. Here is the same month of revenue read five ways, and two opposite businesses landing on exactly the same ARPU.

Related tools

Sources

Spotted a mistake in this article?