
From the team at Flowjam · Published July 2026
Enter your year-over-year growth and your profit margin (free cash flow is the honest choice). The bar is 40.
The Rule of 40 is a shorthand investors use to judge whether a software company is balancing growth and profitability. The formula could not be simpler:
A company growing revenue 30% a year with a 12% margin scores 42 and passes. One growing 20% while burning at a -15% margin scores 5 and does not. The point is that neither number is good or bad on its own: hypergrowth funded by torching cash and slow growth with fat margins can both be fine, as long as the pair adds up. The rule forces the tradeoff into one honest number.
For another walkthrough of the formula with worked benchmarks, see SaaS Pilot Hub's Rule of 40 breakdown.
Two choices decide whether your score means anything.
Use year-over-year revenue or ARR growth. Be consistent: compare the trailing twelve months to the prior twelve, not a cherry-picked good quarter annualized.
This is where scores get gamed. Free-cash-flow margin is the stricter, more honest measure. EBITDA margin looks better because it adds back stock-based compensation and other non-cash charges, which for software can be enormous. The gap is real: on a free-cash-flow basis about 46% of public SaaS companies clear 40, but on EBITDA only about 15% do. Pick FCF if you want the number to be true rather than flattering.
Want to sanity-check a few scenarios side by side? Calculator Cove's Rule of 40 calculator lets you plug in growth and margin and see your score instantly.
Measure yourself against the market before you celebrate or panic.
| Cohort (2026) | Rule of 40 score | What it means |
|---|---|---|
| Median B2B SaaS | ● 25% | Below the line. Half the market is here or worse (up from 15% a year earlier). |
| Top quartile | ● 43%+ | Clears the bar with room. Where premium valuations live. |
| Public SaaS passing (FCF basis) | ● 46% | About 25 of 55 public names clear 40 on free-cash-flow margin. |
| Public SaaS passing (EBITDA basis) | ● 15% | Only ~8 of 55 clear it on EBITDA. The basis you pick changes the story. |
Benchmarks: Aventis Advisors, Rule of 40 in SaaS 2026, across public and private B2B SaaS. Ranges vary by cohort; treat as goalposts.
Because it predicts durable value, and it shows up directly in what your company is worth. A 10-point jump in your score can roughly double your revenue multiple, which is why it is one of the first things a growth investor screens for. Companies that consistently clear 40 raise on better terms and are far less likely to hit the wall where growth slows and there is no profitability to fall back on. Here is how the score maps to the multiple:
| Rule of 40 score | Typical EV/Revenue | Investor read |
|---|---|---|
| ● Below 20 | ~3-5x | Discounted. Growth or efficiency is in question. |
| ● 20-40 | ~5-8x | Market-average territory. Room to re-rate by fixing the weaker half. |
| ● 40-50 | ~8-12x | Clears the bar. Premium starts here. |
| ● 50+ | 12x and up | Rule-of-50 class. The compounders investors chase. |
Illustrative ranges for growth-stage B2B SaaS; actual multiples swing with rates, retention, and market cycle. The direction, not the exact figure, is the point.
The Rule of 40 is also a quick test for whether growth is bought (unsustainable spend) or earned (efficient engine). A score of 45 built on 40% growth and a 5% margin tells a very different story to an investor than 45 built on 15% growth and a 30% margin: the first is a growth bet, the second is a profitable compounder. In diligence, expect the two halves to be pulled apart and stress-tested, so always read them separately, not just the sum.
Valuation also depends on how you raise. VCBoom's guide to SAFEs vs priced rounds walks through how each structure affects dilution once investors start pricing your growth.
When you are below the line, founders reflexively try to grow faster. That is usually the expensive lever. The cheaper one is the margin side, and inside that, your cost to acquire a customer. Every dollar you shave off CAC and every week you cut from payback drops straight toward the margin without slowing the top line.
The other cheap lever is headcount you never have to hire. A library like Techsy.community collects field-tested AI skills and automations for marketing, finance and ops work, which lets a small team hold costs flat while revenue grows.
The Rule of 40 is one number on a wider dashboard. For the growth, retention and efficiency metrics that sit alongside it, see UltraTalent's SaaS metrics guide.
If you want each of those metrics defined in plain English with the formula next to it, The SaaS Library's SaaS metrics explainer walks through them one by one.
What is the Rule of 40?
The Rule of 40 says a healthy software company's revenue growth rate plus its profit margin should add up to at least 40%. It is a single number that balances the two things that pull against each other: growing fast and making money. A company growing 30% with a 15% margin scores 45 and passes; one growing 20% at a -10% margin scores 10 and does not.
How do you calculate the Rule of 40?
Add your year-over-year revenue (or ARR) growth rate to your profit margin. For example, 25% growth + 20% free-cash-flow margin = a score of 45. The two common margin choices are free-cash-flow margin and EBITDA margin; pick one and stay consistent, because they can produce very different scores.
What is a good Rule of 40 score in 2026?
40 or above is the passing bar and top-quartile SaaS companies clear 43%+. The median B2B SaaS company sits around 25%, so simply reaching 40 already puts you ahead of more than half the market.
Should I use EBITDA or free cash flow for the margin?
Free cash flow is the stricter, more honest choice in 2026. EBITDA can be inflated by stock-based compensation and other non-cash charges, which is why far more public companies pass on an FCF basis (~46%) than on EBITDA (~15%). If you want the number to mean something, use FCF margin.
Is the Rule of 40 still relevant with AI cost pressure?
Yes, but read it carefully. Rising AI and infrastructure costs squeeze the margin side, so a company can hit 40 by pure growth while quietly burning cash on compute. Always look at what is driving the score, not just the total.
What is the Rule of 40 vs the Rule of 50?
Same idea, higher bar. As efficiency expectations rose, some investors moved the target for elite companies to 50. For most SaaS, 40 is still the benchmark to clear first; 50 is where the best compound.
A sharper product demo lowers CAC and lifts conversion, straight onto the margin side of your Rule of 40. Turn a screen recording into one in minutes.
Try Flowjam free →Related reading: LTV:CAC ratio explained · SaaS metrics dashboard template · how to track MRR in Stripe.