The Rule of 40 is one of the fastest ways to judge whether a software stock is balancing growth and profitability well. You add two numbers and check the total.
It cuts through the noise around SaaS valuations. Instead of debating growth alone, you get a single quality test.
Here is how the rule works, when it helps you, and where it quietly misleads you.
What the Rule of 40 Measures
The Rule of 40 says a healthy software company should have a combined growth rate and profit margin of at least 40%. You add the revenue growth rate to the profit margin.
According to The Motley Fool: the rule is a benchmark used to assess whether a software company's growth and profitability strike a sustainable balance.
Growth is usually year-over-year revenue growth. For subscription businesses, that often means annual recurring revenue (ARR) or monthly recurring revenue (MRR) growth.
These recurring measures smooth out lumpy one-time deals. They show you how fast the underlying subscription base is actually compounding.
The profit margin can be measured several ways. Common choices are EBITDA margin, operating margin, or free-cash-flow margin.
The margin you pick matters a great deal. A company can look like a clear pass on one margin and a narrow miss on another.
So before you trust any score, confirm which margin produced it. Two analysts using different margins can reach opposite conclusions on the same stock.
The Growth vs Profitability Trade-Off
Subscription businesses live with a natural tension. Customer acquisition and product investment pull against margins, while slowing that spend protects profit but caps growth.
The Rule of 40 turns that tension into one number. It rewards either side of the trade-off as long as the total stays above 40%.
A young company can pass on high growth with thin or negative margins. A mature company can pass on strong margins with slower growth.
That flexibility is the point. Two very different businesses can both clear the bar through opposite strengths.
It also explains why investors forgive heavy spending at some software names. Burning cash to win customers is fine if growth keeps the combined score high.
The market increasingly cares about this balance. The valuation premium for companies passing the Rule of 40 rose from about 23% in 2022 to about 129% in 2024.
That widening gap tells you something important. Investors now pay up sharply for businesses that prove they can grow and stay disciplined at the same time.
You can trade US stocks from $1 with fractional shares to build a basket of Rule-of-40 software names. Start with fractional shares.
How to Apply It to SaaS Stocks
Applying the rule is simple arithmetic. Take the revenue growth rate, add the chosen profit margin, and compare the sum to 40%.
Working an example
Consider a fast-growing analytics name. According to Palantir: the company posted 85% year-over-year revenue growth in Q1 2026.
Pair that growth with a 60% adjusted operating margin. Adding the two gives a Rule of 40 score of 145% for Palantir (PLTR), an exceptionally high reading.
Most software names land far below that. Established platforms like Salesforce (CRM) and ServiceNow (NOW) tend to balance steady growth against improving margins.
Comparing across stages
The rule lets you line up companies at different maturity levels. A hyper-growth security name like CrowdStrike (CRWD) leans on growth, while a workforce platform such as Workday (WDAY) may lean more on margin.
The goal is consistency. Use the same margin definition for every company so the comparison stays fair.
Limitations of the Rule of 40
The rule is a screen, not a verdict. It tells you something useful quickly, then asks you to dig deeper.
The biggest catch is margin choice. Which margin you use changes the score, so an EBITDA-based pass can become a free-cash-flow miss.
Stock-based compensation is a common blind spot here. An adjusted margin can flatter the score while real dilution quietly erodes value.
The rule also ignores a lot. It says nothing about the balance sheet, revenue quality, or one-time items.
It is also model-specific. The Rule of 40 is far less meaningful outside SaaS and subscription businesses with recurring revenue.
A capital-intensive or cyclical business does not fit the same math. Applying the rule there can flag false strength or false weakness.
Treat a passing score as an invitation to study the company, not a reason to skip the work.
Conclusion
The Rule of 40 is a clean first filter for software stocks. It rewards companies that balance growth and profit without forcing a single playbook.
Use it to start the conversation, not end it. Confirm which margin drives the score, then check the items the rule leaves out.
You can trade US stocks from $1 with fractional shares to build a basket of Rule-of-40 software names. Open the app to get started.
FAQ
What is the Rule of 40?
It is a SaaS quality test where revenue growth plus profit margin should total 40% or more.
Which margin should I use?
Common choices are EBITDA, operating, or free-cash-flow margin, and the one you pick changes the score.
Can a company pass without being profitable?
Yes, a fast-growing company can pass on high growth even with thin or negative margins.
Does the Rule of 40 work for non-software stocks?
It is far less meaningful outside SaaS and subscription models with recurring revenue.