Discover how CloudZero helps engineering and finance get on the same team — and unlock cloud cost intelligence to power cloud profitability
Learn moreDiscover the power of cloud cost intelligence
Give your team a better cost platform
Give engineering a cloud cost coach
Learn more about CloudZero and who we are
Learn more about CloudZero's pricing
Take a customized tour of CloudZero
Explore CloudZero by feature
Build fast with cost guardrails
Drive accountability and stay on budget
Manage all your discounts in one place
Organize spend to match your business
Understand your cloud unit economics and measure cost per customer
Discover and monitor your real Kubernetes and container costs
Measure and monitor the unit metrics that matter most to your business
Allocate cost and gain cost visibility even if your tagging isn’t perfect
Identify and measure your software COGS
Decentralize cost decisions to your engineering teams
Automatically identify wasted spend, then proactively build cost-effective infrastructure
CloudZero ingests data from AWS, GCP, Azure, Snowflake, Kubernetes, and more
View all cost sourcesDiscover the best cloud cost intelligence resources
Browse webinars, ebooks, press releases, and other helpful resources
Discover the best cloud cost intelligence content
Learn how we’ve helped happy customers like SeatGeek, Drift, Remitly, and more
Check out our best upcoming and past events
Gauge the health and maturity level of your cost management and optimization efforts
Compare pricing and get advice on AWS services including EC2, RDS, ElastiCache, and more
Learn moreDiscover how SeatGeek decoded its AWS bill and measures cost per customer
Read customer storyLearn how Skyscanner decentralized cloud cost to their engineering teams
Read customer storyLearn how Malwarebytes measures cloud cost per product
Read customer storyLearn how Remitly built an engineering culture of cost autonomy
Read customer storyDiscover how Ninjacat uses cloud cost intelligence to inform business decisions
Read customer storyLearn Smartbear optimized engineering use and inform go-to-market strategies
Read customer storyIn this guide, we explain the Rule of 40, how to calculate it, and how to use it for SaaS businesses that want to optimize their profitability and growth.
Many SaaS businesses emphasize customer acquisition and retention over growing gross margins, especially during the startup and scale-up stages. It makes sense.
A company can grow its revenue faster if it acquires and retains more buying customers as opposed to simply selling more to existing customers.
Yet, here’s the thing. Revenue growth measures the increase in the amount of money a business takes in from sales. Gross margin growth determines how much profit the business is actually making after deducting the cost of goods sold (COGS), expenses, and taxes.
So, how can you tell if your SaaS company is growing sustainably? And how do you know when to focus on improving profitability — rather than just capturing a larger market share or ARR? Enter the Rule of 40 for SaaS companies.
Table Of Contents
The Rule of 40 is a principle that states a software company’s combined revenue growth rate and profit margin should equal or exceed 40%. SaaS companies above 40% are generating profit at a rate that's sustainable, whereas companies below 40% may face cash flow or liquidity issues.
Naturally, to determine whether the company is above 40% or below, it must know two things:
The Rule of 40 does not apply across every industry (it is specific to SaaS companies), but it is still a handy benchmark. This is because the SaaS sector manages high margins of 70%-90%, making the rule applicable to them compared to other subscription-based companies or otherwise.
Again, the primary purpose of benchmarking is to make it easier to compare companies that have different operating structures, are at different phases of the business cycle, or are otherwise difficult to compare.
Calculating revenue growth should be easy for any SaaS company operating for at least a year. The Generally Accepted Accounting Principles (GAAP) establish clear definitions for what constitutes revenue, and these definitions tend to remain consistent year over year.
Keeping this in mind: your business should be able to quickly look at the revenue column on your most recent income statements and calculate your annualized revenue change.
On the other hand, “profitability margin” is a rather broad term that can potentially be used to describe several different items on your company’s balance sheet or income statement.
A few of these possible items might include free cash flow (meaning you might need to create a statement of cash flows), total operating income, and earnings before interest, taxes, debt, and appreciation (EBITDA).
If using EBITDA, calculate profitability margin by measuring EBITDA as a percentage of total operating revenue (mentioned above).
Using the Rule of 40: SaaS Growth Rate plus Profit Margin should be equal to or greater than 40%:
SaaS Growth Rate + SaaS Profit Margin > 40%
But it's not quite there yet. It depends on how you calculate your revenue growth and profit margin.
A company's revenue growth rate is typically measured by its monthly recurring revenue (MRR) or annual recurring revenue (ARR).
Monthly Recurring Revenue (MRR) = The Total Number of Active Accounts X Average Revenue Per Account (ARPA)
Annual Recurring Revenue (ARR) = MRR × 12 months
Growth Rate = (Current Year Value – Prior Year Value) ÷ Prior Year Value
When it comes to profit margin, the most commonly used metric is the EBITDA margin for the corresponding period.
EBITDA Margin (%) = EBITDA ÷ Revenue
Using this approach, the correct formula for calculating The Rule of 40 is:
There is some debate about at what funding stage the rule should be applied (or less so), and its reliability as a metric. Yet, its simplicity and accuracy make the Rule of 40 popular.
“Annual Recurring Revenue is the North Star but expanding your margins is how you win”
Let’s look at a simplified Rule of 40 example.
If a company generated 10 million USD in revenue in 2019 and 12 million USD in revenue in 2020, then its year-over-year revenue growth would equal 20% (2 million divided by 10 million then multiplied by 100%).
Suppose the same company is using EBITDA as its primary “profitability” metric and that its EBITDA for 2020 was 3 million USD. In this case, the profitability margin for the company would be 30% (3 million divided by 10 million).
In this example, the company’s revenue growth plus profitability margin would equal 50% (20% plus 30%). This means that the company has “passed” the Rule of 40 and is likely well-positioned for the future.
Revenue growth and profitability margin could be negative, especially if the company has recently accrued significant amounts of debt or significant capital expenses.
However, even when either of these figures is, in fact, negative, the company can still utilize the Rule of 40 and hope that success in one area could offset any issues created by the other.
In 2017, about 40% of SaaS companies achieved The Rule of 40, according to Bain and Company.
Credit: Number of SaaS companies that passed the Rule of 40 in 2017
In 2021, data from the KeyBanc Capital Markets (KBCM) 2021 SaaS Survey indicated that 50 out of 175 SaaS companies with more than $5 million Annual Recurring Revenue met the Rule of 40, which translates to 29% of the companies.
Credit: Number of SaaS companies in 2021 that exceeded the Rule of 40 - KBCM data
More recently in 2022, a Visible Alpha analysis concluded that the most well-known or largest firms in SaaS don't always have the best outlook based on the Rule of 40.
Credit: Largest SaaS companies vs SaaS companies that exceed the Rule of 40 - Visible Alpha
Benchmarking, balancing profitability and growth, as well as informing long-term and short-term decisions are some examples of the uses of the Rule of 40 for SaaS businesses. Here are more details.
You are running a healthy SaaS business if you manage a 20% growth rate with a 20% profit margin. You can operate at a 10% loss if you achieve a 50% growth rate. You are also on the right track if you reach 40% growth with 0% profit and vice versa.
But suppose growth and profitability fall below 40%. In that case, you’ll want to inspect your other SaaS metrics to identify any potential issues, such as increased cost of goods sold (COGS), Customer Acquisition Cost (CAC), Churn, and more.
Profitability and growth rates over 40% suggest you have room to pursue hypergrowth to gain and retain more customers. A move like that can help sustain the company's "beyond 40" performance over a more extended period.
Sustaining profitability and revenue growth at 20% each can be challenging, as you may easily remain in sub-scale mode for longer than necessary. A competitive market demands that you capture and hold the largest possible share of your targeted market as soon as possible.
Yet, you might need investors to fund that hypergrowth mode. This brings us to one of the biggest reasons for calculating the Rule of 40.
VCs came up with the Rule of 40, after all. It is a way to quantify a SaaS company's potential for creating value for them as it grows — regardless of whether it is yet profitable.
SaaS companies often reach high valuations, sometimes too high. But as investors consider valuation for short-term plans, they are aware that some SaaS companies destroy their value as their average annual revenue grows.
Credit: Value-creating vs. value-destroying growth analysis by Boston Consulting Group
The Rule of 40 does not take valuation into account. The approach focuses on measuring sustained value creation instead, which helps evaluate SaaS investment opportunities.
In the SaaS sector, it is assumed that startups and smaller SaaS businesses should focus on growing revenue, even if they don't make a profit. This is not always the case.
If you are going to justify a runaway growth rate with a skin-deep margin, you need to be able to say: "we can turn a profit right away if we slow down our growth rate".
Still, the Rule of 40 can help mature SaaS businesses that have captured most of their attainable market share to focus more on margin growth than worry about expansion. After all, most SaaS companies see their growth rate decline over time.
Small companies can also use this metric to focus on marketing and sales tactics that attract and keep customers while yielding high enough margins to appeal to investors who can fund their growth.
The Rule of 40 initially applied when a SaaS business exceeded $50 million in annual revenue. Those who pioneered the rule, including Brad Feld, recommend applying it to your company if you've reached $1 million in annual recurring revenue.
According to a SaaS Capital survey, many SaaS companies reach $1 million in ARR in about five years. However, assessing a 12-18 months' period can help you see an accurate SaaS growth curve as a younger company.
Alternatively, you can wait until you have put most departments in place, have figured out your product-market fit, and sorted out cash flow issues.
Still, as with any other SaaS value metric, use the Rule of 40 as part of your overall health assessment, not as the sole metric.
On average, SaaS revenue growth ranges from 15% to 45% year to year. But SaaS growth rate also varies widely based on a company's development stage. The growth rate of companies with less than $2 million in revenue is often higher than that of companies with more than that.
Take a look at this SaaS Capital chart:
Credit: SaaS Capital
Note:
So, what happens after calculating your 40% rule?
Ultimately, running a business — whether in the SaaS industry or any other — is going to involve making some critical tradeoffs. One typical tradeoff is that pursuing additional revenue streams will often (at least temporarily) eat into a company’s profit margin.
Pursuing revenue-generating activities, such as reaching a wider audience, expanding a product line, or enhancing a product via additional research and development, will introduce additional expenses that can eat at marginal profitability.
At the same time, finding ways to improve profit margins — such as cutting the marketing budget—can cause revenue to decline.
This is all okay and normal.
The management team’s role is to carefully balance both competing interests at once and think about the company’s long-term financial plan. The Rule of 40 is so useful because it allows managers to consider how each of these metrics relates to one another while still ensuring the company is at least making some type of progress.
Pursuing revenue growth and managing profit margins will be a vital component of running a SaaS business. The main point of emphasis here is that your business should be actively pursuing and enhancing at least one of these goals at a time.
While the Rule of 40 is undoubtedly something that can benefit many SaaS enterprises, it is also something that should be taken with a grain of salt.
There are plenty of companies above 40 that still have other financial issues and plenty below 40 that are doing quite well. Furthermore, the unusual economic year we witnessed in 2020 will inevitably cause some benchmarks to be less useful than usual.
Still, even keeping these things in mind, the Rule of 40 has become quite popular throughout the broader SaaS industry. When combined with other valuable metrics, it can help managers make decisions truly best for their business.
Cloud infrastructure costs contribute significantly to the operating costs of many SaaS companies. Another important aspect is keeping your company's cost of goods sold (COGS) in excellent correlation with its recurring revenue growth rate.
Yet getting a better understanding of how your costs relate to your key business metrics, like cost per feature, cost per customer, and cost per team, can be difficult. But CloudZero can help.
to see how you can leverage the Rule of 40 like a late-stage investor.
Cody Slingerland, a FinOps certified practitioner, is an avid content creator with over 10 years of experience creating content for SaaS and technology companies. Cody collaborates with internal team members and subject matter experts to create expert-written content on the CloudZero blog.
CloudZero is the only solution that enables you to allocate 100% of your spend in hours — so you can align everyone around cost dimensions that matter to your business.