Skip to content
Calculator Collection

Rule of 40 Calculator

Check whether a SaaS company's growth rate plus profit margin clears the 40% benchmark that signals a healthy balance of growth and profitability.

Last updated: May 2026

Compare with similar

About this calculator

The Rule of 40 is a widely used benchmark for software and subscription businesses that says a healthy company's revenue growth rate plus its profit margin should be at least 40%. The calculation is simply Score = growth rate (%) + profit margin (%), and a result of 40 or above is considered passing. The rule captures a fundamental trade-off: early-stage companies often grow fast while losing money, whereas mature companies grow slowly but generate strong margins, and either profile can be healthy as long as the two numbers together clear the bar. A company growing 50% while burning enough to post a −10% margin scores 40 and passes; so does a slower grower expanding 15% with a 25% margin. The flexibility on which margin to use is important — practitioners variously plug in EBITDA margin, free-cash-flow margin, or operating margin, so consistency matters more than the exact choice. Edge cases: very early companies with triple-digit growth can pass easily despite deep losses, while companies that are neither growing nor profitable fail badly. The rule is a quick screening heuristic, not a valuation model; it ignores absolute size, market opportunity, retention, and unit economics. It is most meaningful for recurring-revenue businesses past the earliest stage and should be tracked as a trend rather than read from a single quarter, since one-off items can distort either input.

How to use

Example 1 — a SaaS company growing revenue 30% a year with a 15% profit margin. Enter Revenue Growth Rate = 30 and Profit Margin = 15. Score = 30 + 15 = 45. Verify: 45 is above the 40% threshold, so the company is balancing growth and profitability well and passes the Rule of 40. Example 2 — a high-growth startup expanding 60% a year but running a −25% margin (still burning cash). Enter 60 and -25. Score = 60 + (−25) = 35. Verify: despite spectacular growth, the heavy losses pull the score to 35, just below the benchmark — a signal that the company is spending more aggressively than its growth justifies under this rule.

Frequently asked questions

Which profit margin should I use in the Rule of 40?

There is no single mandated definition — analysts use EBITDA margin, free-cash-flow margin, or operating margin depending on the context and what data is available. EBITDA and free-cash-flow margins are the most common for SaaS because they approximate the cash the business generates. What matters most is consistency: pick one definition and apply it every period so your trend is comparable, and know which definition a company is using before comparing it to peers. Mixing definitions is the most frequent mistake, since a generous margin measure can flatter a borderline company. When reading someone else's Rule of 40 figure, always check which margin they plugged in.

Is the Rule of 40 a hard pass/fail line?

No — 40 is a rule of thumb, not a precise cutoff, and a company scoring 38 is not meaningfully worse than one scoring 42. It is best used as a directional screen and a way to compare similar companies, not as a binary verdict. The trend over several quarters is far more informative than any single reading, since one-time items, seasonality, or accounting choices can swing a single period. Top-performing software companies often score well above 40, so investors sometimes raise the bar for premium businesses. Treat it as one input among many rather than a definitive grade.

Does the Rule of 40 apply to all companies?

It was designed for recurring-revenue software (SaaS) businesses and is most meaningful there; applying it to companies with very different economics — hardware, retail, services, or pre-revenue startups — can be misleading. Businesses without predictable subscription revenue have different growth-versus-profit dynamics that the rule was not built to capture. It also works poorly for the very earliest startups, whose growth rates can be astronomically high simply because they start from a tiny base. The rule shines for scaling software companies past the seed stage. Outside that context, use metrics tailored to the specific business model.

When should I NOT rely on the Rule of 40?

Do not use it as a valuation tool or a substitute for analyzing unit economics — it says nothing about customer acquisition cost, lifetime value, net revenue retention, market size, or competitive position, all of which can make or break a company that nominally passes. It also ignores absolute scale: a tiny company and a giant can post the same score with vastly different durability. A single-quarter reading can be distorted by one-off revenue or expenses, so never judge on one data point. And because the margin definition varies, an impressive score can be partly an artifact of a generous metric choice. Use it to screen and compare, then dig into the fundamentals.

Can a company with negative profit still pass?

Yes — that is precisely the point of the rule. A company can post a negative profit margin and still pass if its revenue growth is high enough to make up the difference: 55% growth with a −15% margin scores 40 and passes. This reflects the reality that fast-growing software companies often deliberately run at a loss to capture market share, and that is acceptable as long as growth is strong enough to compensate. The rule penalizes companies that are both slow-growing and unprofitable, which is the genuinely worrying combination. So a loss alone is not a red flag under the Rule of 40 — a loss paired with weak growth is.

Sources & references