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’s a way to judge growth and profitability together: a company growing fast can afford to lose money, and a company growing slowly should be making it.
Brad Feld popularized it in 2015 as a rule of thumb growth investors apply to SaaS companies at scale. It has since become a standard line in SaaS board decks and investor analyses — useful precisely because it doesn’t reward growth at any cost, or profit bought by stopping growth.
Rule of 40 formula
Rule of 40 score = Revenue growth % + Profit margin %Passes = Score ≥ 40Margin needed = 40 − Revenue growth %Growth needed = 40 − Profit margin %EBITDA margin or free cash flow margin?
Both are common, and they can differ a lot. EBITDA margin is closer to operating profitability; free cash flow margin reflects the cash actually generated, including the effect of annual prepayments (which flatter it) and capital spending (which lowers it). Pick one, say which in any report, and don’t switch between periods.
Worked example
- A SaaS grew revenue from $4.0M to $5.2M over the last 12 months: 30% growth. Its EBITDA margin over the same period was 5%.
- Rule of 40 score = 30 + 5 = 35. It falls short by 5 points.
- To pass at 30% growth it needs a 10% EBITDA margin — about $260,000 more profit on $5.2M of revenue. Or, at a 5% margin, growth of 35%.
- A second company growing 60% with a −25% margin also scores 35; one growing 15% with a 25% margin scores 40 and passes.
How many companies pass the Rule of 40? Benchmarks
| Benchmark | Figure | Source |
|---|---|---|
| The rule | Growth rate + profit margin should be at least 40% | Brad Feld, “The Rule of 40% For a Healthy SaaS Company”, 2015 |
| How often software companies clear it | Only 16% of the time, across more than 200 software companies from 2011 to 2021 | McKinsey, “SaaS and the Rule of 40: Keys to the critical value creation metric” |
Common Rule of 40 mistakes
- Mixing periods. Growth over the last 12 months and margin for one quarter don’t add up to a meaningful score. Use the same trailing 12 months for both.
- Using gross margin. The rule uses a profit margin after operating costs (EBITDA or free cash flow), not gross margin, which would make almost every software company pass.
- Applying it too early. At $300,000 of ARR, doubling is common and a single large customer swings margin; the score mostly reflects noise. It becomes informative as revenue grows and stabilizes.
- Switching profit measures. Reporting EBITDA margin one year and free cash flow margin the next can move the score by several points without anything changing.
- Counting one-off revenue as growth. A large one-time contract or a price increase that won’t repeat inflates growth for a single year.
- Treating it as the only metric. Two companies scoring 40 can be very different — one burning cash to grow, one barely growing. Look at the components, and at churn and net revenue retention.
How VisitTrack helps with the growth half
Revenue growth and margin come from your billing and accounting systems — VisitTrack doesn’t report profit. What it does show is where new revenue comes from, so you can put more into the channels that grow revenue efficiently and less into those that only add cost.
- Connect your payment provider (revenue attribution) to see each payment attributed to the source, campaign and landing page that earned it, on the Revenue tab.
- Compare revenue by channel with what each channel costs — the CAC calculator turns that into acquisition cost per customer.
- Pull revenue by source into your own reporting through the API or MCP server.
- Check how long the cash lasts while you grow with the burn rate and runway calculator.
Frequently asked questions
How do you calculate the Rule of 40?
Add your annual revenue growth rate and your profit margin, both as percentages. A company growing 30% a year with a 5% EBITDA margin scores 30 + 5 = 35. A score of 40 or more passes.
Which profit margin should I use for the Rule of 40?
EBITDA margin and free cash flow margin are the two common choices. EBITDA is closer to operating profit; free cash flow reflects the cash actually generated. Either is fine — use the same one every period and say which you used.
What is a good Rule of 40 score?
40 or above passes, and it’s a strong result: McKinsey’s analysis of more than 200 software companies from 2011 to 2021 found they exceeded the Rule of 40 only 16% of the time. A score well above 40 means a company is combining fast growth with profit.
Can a company with negative profit pass the Rule of 40?
Yes. A company growing 60% a year can lose up to 20% of revenue and still score 40. The rule exists precisely to say when losses are justified by growth — the faster you grow, the more you can afford to lose.
Does the Rule of 40 apply to early-stage startups?
Not very well. It was framed for SaaS companies at scale; with small revenue, growth rates of 100% or more and swings in margin from one hire make the score noisy. Early on, watch growth, retention and runway directly.
What growth rate should I use for the Rule of 40?
Year-over-year growth in revenue or ARR over the last 12 months, measured over the same period as your margin. Don’t annualize a single strong month or quarter — it overstates growth.
Related tools and guides
- Burn rate and runway calculatorHow long the cash lasts while you grow.
- MRR calculatorMRR, ARR and a growth projection.
- Churn rate calculatorRetention, the hidden half of growth.
- CAC calculatorWhat growth costs per customer.
- ARR (glossary)The revenue base growth is measured on.
- Net revenue retention (glossary)Growth from existing customers.
Stop calculating by hand — measure it automatically
VisitTrack tracks visitors, goals, funnels and revenue from Stripe, Paddle, Polar, Lemon Squeezy and Razorpay, so these numbers are always on your dashboard. Cookie-free, one script tag, 14 days free.
14-day free trial · No card required · Cookie-free · Cancel anytime
Or explore the live demo first →