The Rule of 40 states that a SaaS company’s revenue growth rate plus its profit margin should equal or exceed 40%. It matters most once a company has predictable recurring revenue, typically past the $1 million ARR mark, and it’s used by founders, finance leaders, and investors alike as a quick health check. Research from McKinsey and BCG ties strong scores to higher valuation multiples. This metric is often integrated into SaaS client engagements.
TL;DR:
- The Rule of 40 is most meaningful for companies over $1 million ARR, with a focus on ARR-based growth calculations for clearer results.
- Using EBITDA margin is the industry standard, but disclosing free cash flow margin provides a more accurate picture when infrastructure spending is significant.
- A score below 40 signals potential issues in growth or margin, especially in early-stage companies, but is less reliable below $1 million ARR due to volatility.
- Improving the Rule of 40 involves boosting retention, optimizing go-to-market efficiency, and carefully managing AI and cloud infrastructure costs.
- Sector differences and stage-specific investments can distort the score, so it should always be reported alongside cohort analysis and other performance metrics.
Table of Contents
- How to Calculate the Rule of 40 for Your SaaS Company
- Which Profit Margin Should You Use: EBITDA, FCF, or Operating?
- What Counts as a Good Rule of 40 Score?
- How to Improve Your Rule of 40 Score
- Where the Rule of 40 Breaks Down
- How Aidventure Applies the Rule of 40 in Client Work
- Sources
How to Calculate the Rule of 40 for Your SaaS Company
The formula is simple to state and easy to get wrong in practice: add your revenue growth rate to your profit margin, and check whether the sum clears 40%. The precision lives in how you calculate each half.
Start with growth. The standard approach uses Annual Recurring Revenue, calculated as (Current ARR − Prior ARR) ÷ Prior ARR × 100. ARR is preferred over trailing twelve-month (LTM) revenue for subscription businesses because it strips out lumpy services revenue and one-time contracts, giving you a cleaner read on recurring growth. Some companies substitute LTM revenue growth when ARR reporting isn’t mature yet, but that choice needs to be disclosed and held constant quarter over quarter.
Here’s a worked example:
- Pull your ARR figures. Say your company closed last year at $8 million ARR and this year at $11.2 million ARR.
- Calculate growth. ($11.2M − $8M) ÷ $8M × 100 = 40% growth.
- Pull your profit margin. If your EBITDA margin for the same period is a negative 5%, that’s your second input.
- Add the two. growth plus a negative 5% margin results in a Rule of 40 score just short of the target.
- Decide what to fix. With growth already strong, the fastest path to 40 is trimming the margin gap rather than chasing more growth.
Statistic Callout: Fairview’s Rule of 40 calculator recommends anchoring the growth input to ARR and holding your margin definition constant across every period you report, since switching either variable mid-comparison distorts your trend line more than a single bad quarter ever could.
Consistency matters more than precision here. Pick one measurement window (typically fiscal quarter or trailing 12 months), stick to it, and strip out anything non-recurring: one-time services fees, grant income, or a single enterprise deal that won’t renew. A clear ARR versus MRR framework helps founders decide which growth input actually reflects the business, especially when usage-based pricing complicates the ARR math.
Which Profit Margin Should You Use: EBITDA, FCF, or Operating?
The Rule of 40 doesn’t specify which margin to use, and that ambiguity is where most confusion (and manipulation) creeps in. Three candidates dominate:
- EBITDA margin measures earnings before interest, taxes, depreciation, and amortization, divided by revenue. It’s the most common choice because it’s comparable across companies with different capital structures.
- Free cash flow (FCF) margin measures actual cash generated after capital expenditures, divided by revenue. It’s harder to manipulate but more volatile quarter to quarter.
- Operating margin measures operating income divided by revenue, sitting between the other two in terms of what it includes.
The gap between these three widens fast for capital-intensive or AI-heavy SaaS businesses. A company pouring money into GPU capacity or third-party inference costs can post a healthy EBITDA margin while its free cash flow margin sits deep in negative territory, because EBITDA ignores the capital spending and amortization tied to that infrastructure. CloudZero’s analysis points out that AI and cloud spending in 2024 through 2026 is compressing margins across the sector, and companies that don’t track AI costs separately risk a Rule of 40 score that looks fine on paper and falls apart in cash terms.
Our recommendation: use EBITDA margin for board reporting since it’s the industry default, but always disclose FCF margin alongside it when infrastructure spending is material. Investors increasingly ask for both.
Pro Tip: Before you calculate anything, run a clean-inputs checklist: strip one-time revenue, exclude non-recurring costs like a one-off legal settlement, and confirm your margin definition matches what you reported last quarter. A Rule of 40 score built on inconsistent inputs isn’t a metric, it’s a guess.
What Counts as a Good Rule of 40 Score?
A low Rule of 40 score signals a business that either isn’t growing fast enough or isn’t converting growth into margin, often triggering hard questions from a board. Moderate scores indicate the company is on a plausible path but hasn’t yet proven it can do both growth and profitability well. Higher scores are generally associated with healthy, scalable SaaS businesses, while exceptionally high scores are rare and may reflect either exceptional efficiency or very early-stage growth.
Statistic Callout: McKinsey’s analysis of public software companies found that only a minority consistently clear the 40% threshold, and those that do carry meaningfully higher valuation multiples than peers who fall short.
The score’s reliability depends heavily on company stage:
- Below roughly $1 million ARR, the metric is noisy because a single enterprise contract or a slow renewal quarter can swing growth by 20 or 30 points.
- Between $1 million and $10 million ARR, the signal firms up as customer cohorts mature and retention patterns stabilize.
- Past $10 million ARR, boards and investors start treating the score as a genuine performance indicator rather than a rough estimate.
None of this means the number should be treated as a pass or fail gate. McKinsey frames it as a strategic barometer, useful for justifying trade-offs rather than issuing a verdict. A sub-40 score paired with a credible plan to close the gap often lands better with investors than a padded 41% that can’t survive scrutiny.
If your score falls short, expect investors to probe well past the headline number. They’ll want cohort-level unit economics, a clear net revenue retention (NRR) trend, and an explicit path showing how ARPA and CAC payback improve over the next 12 to 24 months. A cohort analysis framework gives you the underlying data to answer those questions credibly instead of waving at a single blended number.
How to Improve Your Rule of 40 Score
Raising the score means pulling on one of two levers: grow faster without burning more cash, or protect margin without slowing growth. Most companies need to do a bit of both, in a deliberate order.
- Fix retention before you fix acquisition. Net revenue retention is the single biggest lever most SaaS companies underuse. BCG’s research found that top-performing software companies exceed the Rule of 40 largely by optimizing NRR and GTM efficiency, not by outgrowing everyone else. Track expansion revenue, churn by cohort, and time-to-value for new accounts. A dedicated NRR tracking approach turns retention from a lagging indicator into something your CS team can act on monthly.
- Tighten go-to-market efficiency. CAC payback period, channel-level ROI, and rep productivity all feed directly into your margin line. If your payback period stretches past 18 months, that’s cash tied up that should be showing up as profit margin. Some companies solve this by adding targeted outbound capacity rather than headcount. Sdr, for instance, positions itself around delivering qualified meetings with a single SDR rather than a full sales floor, a model worth evaluating if your pipeline costs are outpacing your growth gains.
- Revisit pricing and packaging before cutting costs. Value-based pricing, tighter discount governance, and packaging experiments that push customers toward higher tiers often move the growth half of the equation faster than any cost cut. Discounting culture is the quiet margin killer in most SaaS sales orgs, and it rarely gets scrutinized until a board asks why growth looks strong but margin doesn’t follow.
- Attribute cloud and AI costs by product line. If AI features are compressing your margin, you need to know which product line is responsible before you can defend the spend to a board. CloudZero recommends tracking AI ROI and allocating inference and infrastructure costs to specific cohorts rather than lumping them into overall COGS. A SaaS unit economics framework helps map ARPA, CAC, and cost per customer at the product level so you can see exactly where margin is leaking.
- Decide deliberately between growth investment and margin discipline. Early-stage companies with strong retention and a clear path to scale can justify heavier growth investment even at the cost of a lower near-term score. Later-stage companies with slowing growth need to shift the balance toward margin discipline, since investors read a declining score differently once the company has scale.
Pro Tip: When you present a sub-40 score to your board, don’t lead with the number. Lead with the 12 to 24 month plan: which NRR initiatives are underway, what CAC payback looks like this quarter versus last, and which product lines are absorbing AI cost increases. A credible trajectory beats a defensive explanation every time.
Cost optimization deserves its own line item in that plan. Separating gross margin by product line, reallocating cloud spend to the teams actually driving it, and building a real COGS allocation model are unglamorous work, but they’re what let a finance leader tell a coherent story about where the next ten points of margin come from.

Where the Rule of 40 Breaks Down
The Rule of 40 is a useful shorthand, not a law of physics, and it misleads readers in a few predictable ways.
- Stage dependence skews the number. Early-stage companies investing heavily in product and go-to-market commonly fall below 40% for good reason, and penalizing them for it ignores the reality that growth-stage investment is supposed to look unprofitable.
- Sector differences distort comparisons. A low gross margin business, such as one with heavy services delivery or hardware components bundled into its SaaS offering, will struggle to hit the same margin benchmarks as a pure software company, even with identical growth.
- Metric shopping is the most common abuse. Switching between EBITDA and FCF margin definitions from quarter to quarter, as Wikipedia’s own summary of the metric notes, is the easiest way to manufacture a better-looking score without any real operational change.
- A single number hides the story. NRR, CAC payback period, and cohort-level margins tell you why the score looks the way it does. Reporting the Rule of 40 alongside those metrics, rather than instead of them, is what separates a credible board update from a number pulled out of context.
How Aidventure Applies the Rule of 40 in Client Work
Aidventure treats the Rule of 40 as one input inside a broader KPI audit, not a standalone report card.
In a typical first 90 days, that means rebuilding the ARR growth calculation on clean, consistent inputs, defining which margin the company will report going forward, and mapping cloud or AI costs to the product lines generating them. Clients leave that process with a Rule of 40 number they can actually defend to a board, backed by the retention and unit economics data that explain it.
— Sergio
Sources
For deeper reading, McKinsey’s analysis covers the valuation link in detail, while BCG’s research breaks down the retention and GTM habits of top performers. CloudZero is the sharpest resource on how AI spending is changing the math. For hands-on calculation, Fairview’s calculator and Founderpath’s tool both let you test scenarios against your own ARR and margin figures before you bring a number to your board.
If your Rule of 40 score doesn’t reflect the business you think you’re running, that’s usually a sign your inputs, not your operations, need a second look. Aidventure’s fractional CFO services are built around exactly that kind of diagnostic work, pairing your growth and margin numbers with the cohort data that explains them, so the next board update tells a story you can stand behind.
- SaaS and the Rule of 40: Keys to the critical value creation metric — McKinsey
- Rule of 40 lessons from the top performers in software — BCG
- The rule of 40 in 2026: how to calculate it and how AI is changing it — CloudZero
- Rule of 40 Calculator — Fairview
- Rule of 40 — Wikipedia