Rule of 40: Formula, Worked Example, Which Growth and Margin Measures to Use, and Its Limits
Guide · · Published December 2026 · 7 min read
By Ashwin Gopinath, CEO
TL;DR
The rule of 40 says that a software company's revenue growth rate plus its profit margin should add up to 40% or more. The formula is rule of 40 score = revenue growth % + profit margin %. A company growing 25% a year with a 12% EBITDA margin scores 37 and falls just short. The same company measured on an 18% free cash flow margin scores 43 and passes, which is why the measures must be stated beside the score. This guide is published by Sentra, a management agent that does the work: it joins the finance systems with email, chat and meetings, so when the score moves it explains the movement with sources.
What is the rule of 40?
The rule of 40 is a rule of thumb for judging whether a software company has a healthy balance between growth and profitability. It adds two percentages, the annual revenue growth rate and a profit margin, and compares the total with 40.
The idea behind it is a trade. A subscription company can spend on sales and product to grow faster, which lowers its margin, or hold spending back and earn more now. The rule accepts either choice as long as the two together reach 40. A company growing 60% can lose 20% of revenue and pass. A company growing 10% needs a 30% margin.
The rule of 40 formula
The rule of 40 formula is the revenue growth rate plus the profit margin, both in percent.
Rule of 40 score = revenue growth % + profit margin %
- Revenue growth % = (this period's revenue - the same period last year) / the same period last year x 100
- Profit margin % = profit measure / revenue x 100, for the same period
- Pass when the score is 40 or higher
A negative margin is subtracted. Growth of 50% with a margin of -15% gives a score of 35.
How to calculate the rule of 40: a worked example
To calculate the rule of 40, work out year-on-year revenue growth, work out the margin for the same twelve months, and add them. The figures here are an example with round numbers. A software company had revenue of $20,000,000 last year and $25,000,000 this year. This year's EBITDA was $3,000,000 and free cash flow was $4,500,000.
- Revenue growth = (25,000,000 - 20,000,000) / 20,000,000 = 25%
- EBITDA margin = 3,000,000 / 25,000,000 = 12%
- Score with EBITDA margin = 25 + 12 = 37. Below 40
- Free cash flow margin = 4,500,000 / 25,000,000 = 18%
- Score with free cash flow margin = 25 + 18 = 43. Above 40
Free cash flow is higher than EBITDA in this example because customers pay annual subscriptions in advance, so cash arrives before the revenue is recognized. One company, one year, and the result changes with the margin chosen.
Which growth and margin measures people use
There is no single official version of the rule of 40, so companies choose a growth measure and a margin measure, and the choice changes the score.
| Input | Measure | When it is used | Watch for |
|---|---|---|---|
| Growth | Year-on-year revenue growth | The default. Uses audited revenue | Includes one-time services revenue |
| Growth | Year-on-year ARR growth | Subscription companies, private company reporting | ARR is unaudited and defined by each company |
| Growth | Recurring revenue growth only | When services are a large share of revenue | Must be paired with a margin on total revenue or stated clearly |
| Margin | EBITDA margin | The most common choice | Ignores capital spending and working capital |
| Margin | Adjusted EBITDA margin | Investor presentations | Adjustments vary. Removing stock-based compensation lifts the score |
| Margin | Operating margin | A stricter test using reported operating profit | Includes depreciation, amortization and stock-based compensation |
| Margin | Free cash flow margin | When cash generation is the question | Annual prepayments and delayed supplier payments flatter it |
Three rules keep the score honest. Use the same twelve months for both inputs. Use the same pair every period. Print the pair beside the score, for example: rule of 40 score 37 (revenue growth, EBITDA margin). Our guides to annual recurring revenue and the EBITDA formula define the inputs.
How to read the result
Read the rule of 40 score together with its two parts, because the same score can describe very different companies.
| Company | Growth | Margin | Score | What it describes |
|---|---|---|---|---|
| A | 60% | -20% | 40 | Fast growth funded by losses. Depends on continued access to capital |
| B | 25% | 15% | 40 | Balanced growth and profit |
| C | 5% | 35% | 40 | A mature, profitable business with little growth |
The trend matters as much as the level. A score that falls from 45 to 37 over four quarters needs an explanation by part: growth slowed, or margin slipped, or both. Report the score with its trend in the board pack. Our board meeting agenda template shows where the metrics section sits.
Limits of the rule of 40
The rule of 40 is a quick screen, and it leaves out most of what determines whether a company is healthy.
- It treats a point of growth and a point of margin as equal. For a young company, growth usually matters more. For a mature one, margin does.
- It suits companies past the early stage. A startup growing 200% from a small base passes easily while burning cash, and the score says little.
- It says nothing about the quality of growth. Growth bought with heavy discounts or high churn counts the same as durable growth. Read it beside retention and gross margin.
- It is easy to flatter. Switching from EBITDA to adjusted EBITDA, or to free cash flow in a year of large prepayments, raises the score with no change in the business.
- It was made for software. Recurring revenue and high gross margins make the trade between growth and profit direct. Applied to a low-margin business, the threshold of 40 has little meaning.
- One year can mislead. A single large contract or a one-time cost moves the score. Look at several periods.
Common mistakes
- Mixing periods. Quarterly growth annualized against a full-year margin gives a number that describes no real period.
- Changing measures between periods. The trend then reflects the change of definition.
- Adding percentage points to dollars. Both inputs are percentages of revenue.
- Managing to the score. Cutting spending to pass this year can cost next year's growth. Use the score to start a discussion.
Where the explanation for the number lives
The finance systems show that growth or margin moved, and the reason usually sits in email, chat and meetings. The CRM shows new bookings fell in the quarter. The deal reviews where three large contracts slipped, and the thread where a hiring plan was pulled forward, sit outside it.
Sentra is a management agent that does the work. It reads the ERP, CRM, HRIS and BI tools alongside email, chat, meetings and documents, and joins the two: the systems of record say what happened, and the conversations say why. For the rule of 40, Sentra computes the score on the definition the finance lead has set, and writes the explanation of each part that moved, by cause, with a link to every source. It puts that in the pre-read for the board meeting and the monthly review, drafts the follow-ups to the owners of the lines that moved, chases them and keeps the tracker current. It also keeps the definition in one place, so the score is calculated the same way each period.
A named person approves anything Sentra drafts or raises before it reaches anyone else. Every line cites its source, and each reader sees only what they could already open in the source system. Our guides to KPI reporting and variance analysis cover the method.
To see Sentra explain what moved growth and margin in your own numbers, book a demo.
FAQ
What is the rule of 40 formula?
Rule of 40 score = revenue growth % + profit margin %. A company passes when the total is 40 or more. Growth of 25% plus a margin of 15% gives exactly 40.
How do you calculate the rule of 40?
Calculate year-on-year revenue growth in percent, calculate the profit margin for the same twelve months in percent, and add the two. With revenue up from $20,000,000 to $25,000,000 and EBITDA of $3,000,000, the score is 25 + 12 = 37.
Should the rule of 40 use EBITDA or free cash flow?
Both are in common use. EBITDA margin is the most common, and free cash flow margin is used when cash generation is the question. Pick one, keep it every period and state it beside the score.
Should growth be measured on revenue or ARR?
Recognized revenue growth is the default because revenue is audited. Subscription companies often use ARR growth because it reflects the business sooner. State which one you use.
Can a company with losses pass the rule of 40?
Yes. A negative margin is subtracted from growth, so a company growing 60% with a margin of -20% scores 40. It passes, and it still depends on outside funding to cover the losses.
Does the rule of 40 apply to early-stage startups?
It is of limited use there. Very high growth from a small base produces a passing score regardless of how much cash is being spent. The rule is more informative once a company has several years of revenue.
What are the limits of the rule of 40?
It weighs growth and margin equally, ignores retention and the quality of growth, changes with the margin measure chosen, and was designed for software companies with recurring revenue. Use it as a first screen beside other metrics.