Rule of 40 SaaS: Formula, Benchmarks, 3 Examples
The Rule of 40 gives SaaS founders one fast answer to a hard question: is your growth worth what it costs? Add your year-over-year revenue growth rate to a consistent profit margin. A score of 40% or more clears the traditional benchmark.
That simplicity is useful, but it also makes the metric easy to misuse. A 45% score built on efficient growth is not identical to a 45% score produced by deep losses and temporary expansion. Use the score as a diagnostic, not a certificate of health.
What is the Rule of 40 for SaaS?
The Rule of 40 compares growth with profitability in a single percentage. A SaaS company can grow quickly while losing money, or grow slowly while producing cash. The benchmark says those two percentages should add to at least 40.
The basic formula is: Rule of 40 score = year-over-year revenue growth rate + profit margin.
For example, 30% growth plus a 12% margin produces a 42% score. A company growing 55% with a negative 10% margin scores 45%. A company growing 8% with a 28% margin scores 36%.
The score is most useful for recurring-revenue software businesses because growth, retention, and operating leverage can be measured consistently. It is much less informative for a new startup with an unstable revenue base or a services-heavy company whose economics do not resemble SaaS.
Choose the inputs before you calculate
Most arguments about the Rule of 40 are really arguments about inputs. Decide which revenue measure, time window, and margin definition you will use. Then keep them fixed so one month can be compared with the next.
1. Revenue growth
Use year-over-year growth, not a single month multiplied by twelve. ARR growth works well when ARR is defined consistently. GAAP revenue growth is easier to audit when finance already closes it every month. Do not quietly switch between the two.
Revenue growth rate = (current-period revenue − prior-period revenue) ÷ prior-period revenue × 100.
2. Profit margin
EBITDA margin is common for private SaaS operating reviews. Free cash flow margin is stricter because it reflects cash actually produced after capital spending. Bessemer uses free cash flow margin in its cloud benchmarks, while other operators use EBITDA. Neither is automatically correct; inconsistency is the real error.
Profit margin = profit measure ÷ revenue × 100. Label the score clearly as EBITDA-based or free-cash-flow-based whenever you show it.
3. Measurement window
Use trailing twelve months for a stable board-level view, or calculate a monthly series using year-over-year growth and a trailing margin. Quarterly snapshots can swing because of annual contracts, commissions, infrastructure purchases, or collections.
Three worked Rule of 40 examples
Example 1: balanced growth and profit
A SaaS company grows ARR from $2.0 million to $2.6 million. Growth is 30%. It records $312,000 in EBITDA on $2.6 million of revenue, so its EBITDA margin is 12%. The Rule of 40 score is 42%.
This company clears the benchmark with positive contributions from both sides. The next question is whether retention and acquisition efficiency can preserve that balance as the base becomes larger.
Example 2: fast growth with planned losses
Another company grows ARR from $4 million to $6.2 million, or 55%. Its EBITDA margin is negative 18% because it expanded sales and product teams. The score is 37%.
Missing 40 does not prove the investment is wrong. It tells the founder to test the plan underneath it: are pipeline conversion, gross retention, and cohort payback improving enough to justify the loss? If not, “investing for growth” is just burn wearing a nicer shirt.
Example 3: profitable but stalled
A mature company grows 6% and produces a 31% EBITDA margin. Its score is 37%. Cost control is strong, but the metric exposes weak growth. Cutting another three points of cost may clear the benchmark temporarily; fixing retention, expansion, or new demand is more likely to create durable value.
What is a good Rule of 40 score in 2026?
Forty remains the familiar threshold, not the median outcome. SaaS Capital's 2025 analysis of private B2B SaaS companies found scores had contracted across most company sizes and funding types, largely because revenue growth slowed. It also found bootstrapped companies generally outperformed equity-backed companies on the measure, though the gap narrowed.
That matters because “below 40” and “bad company” are not synonyms. Treat the bands as operating prompts: 40 or higher indicates a strong growth-profit balance; 20 to 39 calls for diagnosis; below 20 demands a credible explanation and a corrective plan. These bands are decision aids, not universal valuation rules.
Also inspect the composition. A 50% growth rate and negative 10% margin may deserve a different valuation and risk assessment than 10% growth with a 30% margin, even though both score 40. Bessemer's Rule of X work argues that public cloud markets often reward growth more heavily than margin. Private, bootstrapped founders may rationally value cash generation more.
When the Rule of 40 is useful—and when it is not
Use it for recurring operating reviews, board reporting, annual planning, and comparisons between scenarios. It is especially useful when a team is debating whether to accelerate hiring, slow acquisition spend, raise prices, or protect margin.
Do not use it as the only KPI. A company can pass while hiding poor gross retention, rising customer concentration, weak gross margin, or an unsustainable payback period. Pair it with net revenue retention, gross margin, CAC payback, burn multiple, cash runway, and cohort retention.
For very early companies, the score can be noisy or absurd because the prior-year revenue denominator is tiny. If ARR rises from $50,000 to $200,000, growth is 300%; that does not make the business safer than a scaled company at 45%. Before roughly $1 million ARR, focus more on product-market fit, retention, runway, and repeatable acquisition.
How to diagnose a score below 40
Start by separating the two components. If growth fell, break the change into new logo ARR, expansion ARR, contraction, and churn. If margin fell, split costs into hosting, support, research and development, sales and marketing, and general administration.
Then inspect cohorts. Company-wide averages can hide a newer customer segment with poor retention or an older segment with efficient expansion. Calculate growth, gross margin, and retention by plan, acquisition channel, region, and customer size before cutting broadly.
Finally, choose one operating lever for the next review period. Examples include reducing avoidable cloud cost, improving onboarding activation, raising expansion from healthy accounts, shortening CAC payback, or removing a low-retention segment from paid acquisition. A score without an owner and action is decorative finance.
Track the Rule of 40 from live SaaS data
A spreadsheet works for an annual calculation. It becomes fragile when ARR adjustments, refunds, upgrades, churn, and cost data change every week. The practical setup is a defined metric layer backed by billing, subscription, and finance tables, with a dashboard that refreshes on a schedule.
If those inputs live in PostgreSQL, MySQL, Supabase, BigQuery, or another supported database, AI for Database lets your team ask for the components in plain English. You can request year-over-year ARR growth, calculate an EBITDA-based score, and break the result down by plan without writing SQL.
Build a self-refreshing dashboard with current ARR, prior-year ARR, growth, margin, and the combined score. Then add an action workflow that emails or posts to Slack when the score crosses a chosen threshold. Keep finance-approved definitions in the dashboard description so the metric does not drift.
The sensible first alert is not simply “below 40.” Alert on a material month-over-month decline, a missed internal target, or a component moving outside its accepted range. That produces fewer false alarms and makes the notification actionable.
Direct answers to common Rule of 40 questions
What is the Rule of 40 SaaS formula?
Add year-over-year revenue growth to a consistently defined profit margin. For example, 28% ARR growth plus a 15% EBITDA margin equals a 43% Rule of 40 score.
Should I use EBITDA or free cash flow margin?
Use the measure that matches your decision and reporting discipline. EBITDA is useful for operating comparisons; free cash flow is stricter for cash generation. Name the chosen margin and do not switch definitions between periods.
Does every SaaS company need to hit 40?
No. Forty is an investor and operating benchmark, not a law. Company stage, funding model, market opportunity, gross margin, and the quality of growth all affect how you should interpret the score.
How often should I calculate it?
Review it monthly using year-over-year growth and a stable trailing margin. Use a trailing-twelve-month version for board reporting to reduce noise, and investigate the components whenever the score changes materially.
Sources and methodology
SaaS Capital, “Growth, Profitability, and the Rule of 40 for Private SaaS Companies,” August 21, 2025: https://www.saas-capital.com/blog-posts/growth-profitability-and-the-rule-of-40-for-private-saas-companies/
Bessemer Venture Partners, “From Start to Centaur,” 2024 edition: https://www.bvp.com/assets/uploads/2024/04/From-Start-to-Centaur-The-founders-roadmap-to-100-million-ARR-Bessemer-Books-Edition-040924.pdf
The three company examples above are illustrative, not claims about named businesses. Calculate your own score from finance-approved data and keep the input definitions visible beside the result.
The useful score is the one your team can act on
The Rule of 40 compresses a strategic trade-off into one number. Use it to start a sharper conversation, then open the growth, retention, and cost components that explain the result.
AI for Database can turn those live components into a dashboard and notify your team when the balance changes. Connect your database, define the approved calculation, and replace the quarterly spreadsheet chase with a metric that stays current.
Frequently asked questions
What is the Rule of 40 SaaS formula?
Add year-over-year revenue growth to a consistently defined profit margin. A result of 40% or more clears the traditional benchmark.
Should SaaS companies use EBITDA or free cash flow margin?
Either can work. EBITDA supports operating comparisons, while free cash flow is stricter for cash generation. Label the choice and use it consistently.
Does every SaaS company need to hit the Rule of 40?
No. It is a benchmark, not a law. Interpret it using company stage, funding model, gross margin, retention, and the quality of growth.
How often should you calculate the Rule of 40?
Review it monthly with year-over-year growth and a stable trailing margin. Use a trailing-twelve-month view for less noisy board reporting.