Rule of 40 Calculator for SaaS Companies
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free rule of 40 calculator. Add revenue growth and profit margin to see if a SaaS business balances growth and profitability, and how far it is from 40.
- Score
- 0
- Gap to 40
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the rule of 40 calculator
- Enter revenue growth: the year-on-year percentage growth in revenue (or annual recurring revenue).
- Enter profit margin: usually the EBITDA margin or the free cash flow margin, as a percentage. Use a negative number if the company is losing money.
The rule of 40 calculator adds them together, shows whether the score passes 40%, and how far it is from the target.
What the rule of 40 is
The rule of 40 is a quick health check for software-as-a-service (SaaS) companies, popular with investors and boards:
Revenue growth % + profit margin % ≥ 40%
The idea is that a healthy software business can trade growth for profit, but the two combined should reach at least 40%.
- Growing 30% with a 15% margin: 45%, passes.
- Growing 60% while losing 15%: 45%, passes.
- Growing 10% with a 25% margin: 35%, falls short.
- Growing 22% with a 12% margin: 34%, falls short by 6 points.
Why it's useful
Young SaaS companies often lose money while they grow quickly; mature ones grow more slowly but make strong profits. Comparing them directly is hard. The rule of 40 puts both on the same scale, so a fast-growing loss-maker and a slower profitable company can be compared.
Research and investor surveys have found that public software companies above the rule of 40 tend to be valued at higher multiples of revenue than those below it. It's not a law, but it's a widely used benchmark.
Which profit margin to use?
There's no single standard. Common choices:
- EBITDA margin: earnings before interest, tax, depreciation and amortisation, as a share of revenue. The EBITDA calculator works it out.
- Free cash flow margin: cash from operations minus capital spending, as a share of revenue. Many investors prefer it because it reflects real cash.
- Operating margin: profit from operations as a share of revenue.
Use the same measure every time, and say which one you used when sharing the result.
Which growth figure to use?
Usually year-on-year revenue growth, or annual recurring revenue (ARR) growth for subscription businesses. Use a full year where possible: quarterly growth annualised can be misleading if the business is seasonal. The MRR calculator helps work out recurring revenue and growth; the CAGR calculator gives average growth over several years.
When the rule of 40 doesn't fit
- Very early-stage startups with tiny revenue can grow 200% or more; the rule means little until revenue is meaningful (often above a few million a year).
- Non-SaaS businesses have different economics. Retailers, manufacturers and services companies have their own benchmarks.
- One-off events, such as a large contract or an acquisition, can distort either number.
- It ignores efficiency: two companies with the same score may spend very differently to get there. Look at the LTV:CAC ratio and payback period too.
How to improve your score
Increase growth:
- Reduce churn so new sales add to the base rather than replacing lost customers.
- Expand revenue from existing customers with upgrades and add-ons.
- Improve marketing efficiency and conversion.
Increase margin:
- Improve gross margin by lowering hosting and support costs.
- Focus sales and marketing spend on the channels with the best return.
- Control headcount growth relative to revenue.
The best companies improve both at once, often by keeping customers longer, which raises growth and lowers the cost of replacing churned revenue.
Rule of 40 for planning
Use the rule of 40 calculator to test plans: if the board wants 25% margins next year, how much growth is needed to stay above 40? If you plan to accelerate growth to 50%, how much loss is acceptable? Enter different combinations to see the trade-offs.
Tips
- Be consistent in which margin and growth measures you use.
- Track it quarterly on a trailing 12-month basis to smooth seasonality.
- Look at the trend as well as the level.
- Pair it with unit economics like CAC payback and retention.
Privacy and accuracy
Your figures stay in your browser. Nothing is uploaded or saved. The rule of 40 calculator simply adds the two percentages and compares the total with 40, with no AI involved. Founders, CFOs, investors and analysts use it free on any device.
Rule of 40 over time
A single year's score can be distorted by one big contract, a price change or heavy one-off investment. Many boards track the score on a trailing twelve-month basis each quarter, which smooths out the noise. A score drifting down over several quarters is an early warning, even if it's still above 40.
Weighted versions
Some investors give growth more weight than profitability, for example by multiplying growth by 1.33 or more before adding the margin, because fast growth has historically been rewarded more by markets. You can model this in the rule of 40 calculator by multiplying your growth figure before entering it. Be clear about which version you're using when reporting.
Explaining the score
When sharing the result with a board or investors, show the two components separately as well as the total, and explain what's driving each. A pass driven by profitable, steady growth tells a different story from a pass driven by rapid, loss-making expansion.
Quick reference
- Revenue growth: year-on-year change in revenue or ARR, as a percentage.
- EBITDA margin: earnings before interest, tax, depreciation and amortisation ÷ revenue.
- Free cash flow margin: (operating cash flow − capital spending) ÷ revenue.
- Score: growth % + margin %.
- Pass: a score of 40% or more.
Common mistakes
- Mixing quarterly growth with a yearly margin.
- Switching between EBITDA and cash flow margins from one report to the next.
- Applying the rule to businesses that aren't subscription software.
Rule of 40 in practice
Founders often use the rule of 40 calculator to frame trade-offs in budget discussions. If the plan raises growth from 25% to 35% but drops the margin from 15% to 5%, the score stays at 40: a reasonable trade. If the extra spending only lifts growth to 28%, the score falls to 33%, and the plan needs rethinking. Putting both options through the rule of 40 calculator makes the discussion concrete.
Rule of 40 and valuation
Public market investors have often rewarded software companies that beat the rule of 40 with higher valuations, measured as a multiple of revenue. The reasoning is simple: a company that balances growth and profitability well is more likely to compound value over many years. That doesn't mean every company should aim to exceed 40 at all costs. Early-stage companies are usually expected to prioritise growth, and mature companies to prioritise margins. The rule of 40 calculator helps you see where you stand, and how much room you have to invest in growth before your score slips.
A quick worked check
A business growing 18% with a 25% free cash flow margin scores 43% and passes; one growing 45% with a −10% margin scores 35% and falls short. Enter both into the rule of 40 calculator to see the gap, then ask what it would take to close it: either 5 more points of growth, or 5 more points of margin. Framing the decision this way keeps discussions focused on the trade-off rather than on either number alone.
Keep it handy
Bookmark this page so the tool is one tap away next time, on your phone or your computer. It loads quickly, works without an account, and keeps nothing you type. If you use it often, add it to your phone's home screen from the browser's share or menu button, and it opens like an app.
A worked example
A SaaS founder is preparing for a board meeting. Revenue grew 30% last year, and the EBITDA margin was 15%. She enters both into the rule of 40 calculator: the score is 45%, passing comfortably.
A competitor the board mentions grew 22% with a 12% margin: 34%, six points short. She uses the comparison to argue for keeping investment in growth: even if her margin falls to 10%, growth of 30% keeps the company at 40%.
Turn these numbers into paid growth
Metrics like these show where growth is stuck; Google Ads is often the fastest way to unstick it, when every click is tracked. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.
Frequently asked questions
What is the rule of 40?
A benchmark for SaaS companies: revenue growth percentage plus profit margin percentage should be at least 40%.
How do I calculate the rule of 40?
Add year-on-year revenue growth (%) to profit margin (%). The rule of 40 calculator does it for you.
Which margin should I use?
EBITDA margin or free cash flow margin are most common. Be consistent.
Can a loss-making company pass?
Yes, if it grows fast enough: 60% growth with a −15% margin scores 45%.
Does the rule of 40 apply to every business?
It's designed for software and subscription businesses. Other industries have different benchmarks.
Is the rule of 40 calculator free?
Yes, completely free, with no sign-up.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.