Rule of 40 score
What is the Rule of 40?
The Rule of 40 is a SaaS benchmark that says a software company's revenue growth rate plus its profit margin should equal at least 40%. A company growing 38% a year with a 12% EBITDA margin scores 50, clearing the bar by 10 points. SaaS founders, CFOs, boards, and investors use the Rule of 40 to judge whether a company is balancing growth and profitability, compare companies at different stages, and decide whether to invest in growth or cut spending.
Rule of 40 score
YoY revenue growth % + profit margin %
Embed this free calculator on your website—copy the snippet after signup and keep the Built with Calclet link for attribution (or upgrade to remove branding).

Rule of 40 formula
Add the year-over-year revenue growth rate and the profit margin, both as percentages.
Rule of 40 score = YoY revenue growth % + Profit margin %- Gap vs 40 = 40 − Rule of 40 score. A negative gap means you're above the benchmark.
- Margin needed to hit 40 = 40 − Revenue growth %. Growth needed = 40 − Profit margin %.
- The profit term is usually EBITDA margin or free cash flow margin. Use the same definition every period.
Inputs explained
Use the same revenue base and profit definition consistently, and say which ones you used when comparing with other companies.
- YoY revenue growth (%)
- Revenue or annual recurring revenue (ARR) growth compared with the same period last year. Use trailing-12-month or year-over-year figures rather than annualizing a single strong quarter.
- Operating / EBITDA margin (%)
- EBITDA, operating, or free cash flow as a percentage of revenue. Negative margins are common for fast-growing startups and reduce the score.
Example Rule of 40 calculation
A SaaS company grows revenue 38% year over year and has a 12% EBITDA margin. Rule of 40 score = 38 + 12 = 50, so the company is 10 points above the benchmark. If growth slows to 25%, the company needs at least a 15% margin to stay at 40.
Put this calculator on your site
We'll copy this tool into your Calclet account—tweak branding and fields, then paste the embed on WordPress, Webflow, Shopify, or any HTML page. Every embed can link back to Calclet for discovery.
How to use the rule of 40 score
- Input YoY revenue growth (%) using the same revenue basis your leadership reports externally—typically GAAP subscription revenue or finance-approved annual recurring revenue growth, not billings spikes.
- Input operating or EBITDA margin (%) aligned with that revenue definition and consistent treatment of stock-based compensation.
- Read Rule of 40 score as the simple sum and interpret gap versus forty using your finance team’s sign convention for overperformance.
- Rerun scenarios on billings-normalized growth and cash-margin variants before comparing peers whose disclosures bundle different adjustments.
Common Rule of 40 mistakes
- Mixing revenue growth from one metric, such as ARR, with margin from another, such as GAAP revenue.
- Annualizing a single strong quarter, which inflates the growth term.
- Including acquired revenue in growth without separating organic growth.
- Using adjusted EBITDA that excludes large stock-based compensation without saying so.
- Applying the Rule of 40 to very early-stage companies, where growth rates swing wildly.
Rule of 40 context
- Classic Rule of 40 threshold
- Software investors popularized growth rate plus profitability margin targeting roughly 40 combined points as a balanced-screen shorthand for scale-ups trading off reinvestment and earnings.
- Growth versus margin tradeoffs
- High burn darlings can clear the bar with outsized growth and thin margins; mature vendors often contribute more margin with modest growth—either path can satisfy the combined score.
- Metric-definition variance
- Board packs disagree on GAAP revenue versus ARR, SBC inclusion, and free-cash-flow substitutions; cross-company comparisons require aligned definitions.
FAQs
Our growth is slowing—how much margin do we need to stay above the Rule of 40?
Subtract your growth rate from 40. If growth drops from 38% to 25%, you need at least a 15% margin to score 40. At 15% growth, you'd need 25%. Plan cost changes ahead of the slowdown so margin improves as growth cools.
We're growing 60% but burning cash—do we pass the Rule of 40?
Add growth and margin, even when margin is negative. 60% growth with a −30% margin scores 30, 10 points short. You could close the gap by improving margin to −20% while holding growth, or by growing 70% at the same burn. Many investors accept lower scores at early stages if growth is efficient.
Will cutting sales and marketing spend improve our Rule of 40 score?
Only if margin gains outweigh lost growth. On $20 million in revenue, cutting $2 million of spend lifts margin 10 points, from 12% to 22%. If growth falls from 38% to 30%, the score rises from 50 to 52. If growth falls to 25%, it drops to 47. Cut spending on channels with the weakest CAC payback first.
Should I use EBITDA margin or free cash flow margin?
Both are common, so state which one you use. A company with 38% growth might score 50 using a 12% EBITDA margin but only 43 using a 5% free cash flow margin if capitalized software and working capital use cash. Annual prepayments can push free cash flow above EBITDA. Track both if investors ask.
How does stock-based compensation affect the Rule of 40?
Adjusted EBITDA often excludes stock-based compensation, which can flatter the score. If SBC equals 8% of revenue, a 12% adjusted EBITDA margin becomes about 4% after SBC, and the score drops from 50 to 42. Many investors look at both versions, so be transparent about adjustments.
Should acquired revenue count toward Rule of 40 growth?
Show organic growth separately. If 38% total growth includes 15 points from an acquisition, organic growth is 23%, and the score falls from 50 to 35. Investors usually focus on organic growth because acquisitions can't be repeated as easily.
Can I annualize quarterly growth for the Rule of 40?
It's better to use year-over-year or trailing-12-month growth. Annualizing 8% quarter-over-quarter growth gives about 36%, but one strong quarter can overstate the trend. Compare the same quarter with last year for a more reliable score.
Does the Rule of 40 apply to early-stage startups?
It's less meaningful early on. A company at $3 million ARR growing 150% with a −60% margin scores 90, but growth rates at that size swing widely. Many investors focus on the Rule of 40 once a company reaches meaningful scale and use burn multiple or CAC payback for earlier stages.
We're a mature SaaS company growing 10%—what margin do we need?
At 10% growth, you need a 30% margin to reach 40. Mature companies typically score through profitability rather than growth. If margin is below that, review hosting costs, support efficiency, and sales productivity, or invest in a new growth driver.
Does a Rule of 40 score above 40 mean a higher valuation?
It often helps, but it doesn't guarantee one. Investors also weigh net revenue retention, gross margin, market size, and capital efficiency. Two companies scoring 50 can be valued very differently if one has strong retention and the other is losing customers.
Related calculators
Category: SaaS financial benchmarksTopics: Rule of 40, YoY revenue growth, EBITDA margin
Last reviewed: 2026-05-07
Reviewed by: Souhayb Kama Ldine