Rule of 40: Formula, Example and How to Act on It
The rule of 40 says a SaaS company's revenue growth rate plus its profit margin should equal 40% or more. It is a rule of thumb for balancing growth and profitability. A company at 50% growth and -10% margin scores 40 and passes. A company at 15% growth and 10% margin scores 25 and fails.
- Rule of 40 score = revenue growth rate (%) + profit margin (%). A score of 40 or higher passes.
- Profit margin can be EBITDA margin, free cash flow margin or operating margin. Pick one and use it every time.
- Growth and margin trade off. Heavy spending on sales and marketing can lift growth but drag the margin down.
- The rule is a screen, not a valuation. It says whether growth and profit are balanced, not what the company is worth.
- Track it on a fixed schedule. Quarterly, with the same formula and the same period lengths, so trends are real.
What is the rule of 40?
The rule of 40 is a single number that tests whether a SaaS business balances growth against profitability. It adds the revenue growth rate to the profit margin.
A score of 40% or more is generally considered healthy. The rule is common practice among SaaS investors and finance teams, not a regulatory standard.
The logic is simple. Fast growth funded by deep losses is risky.
High margins with no growth is a business going stale. The rule forces both numbers onto one line.
That makes it easy to compare companies of different sizes and stages.
What is the rule of 40 formula?
The formula is revenue growth rate plus profit margin, both as percentages. Growth is usually year-over-year revenue growth for the period. Margin is usually EBITDA margin, though free cash flow margin and operating margin are also used.
Rule of 40 = revenue growth rate (%) + profit margin (%)
Two rules keep the number honest. First, use the same margin definition every period.
Second, match the periods: a trailing-twelve-month growth rate should pair with a trailing-twelve-month margin. Mixing a monthly margin with an annual growth rate distorts the score.
The result is a percentage-style score, not a dollar figure. A score of 40 means growth and margin together clear the threshold.
A score of 60 is strong. A score of 20 signals a problem to fix.
How do you calculate the rule of 40 step by step?
You calculate it in four steps: pick the period, compute growth, compute margin, then add them. Keep every input from the same financial period.
-
Pick the period. Use a quarter or trailing twelve months. Stay consistent.
-
Compute revenue growth. (Current period revenue − prior period revenue) ÷ prior period revenue × 100.
-
Compute profit margin. Profit measure ÷ revenue × 100. Use EBITDA, operating income or free cash flow.
-
Add the two percentages. The sum is the rule of 40 score.
-
Compare to 40. Record pass or fail and the gap to the threshold.
Run the same steps for each period so you build a trend line. One quarter tells you little.
Four quarters show whether growth or margin is drifting. Teams that track margin inputs alongside the score catch problems earlier.
A gross margin calculator helps confirm the margin base is right before you compute profit margin.
Write the margin definition into your finance calendar. Changing from EBITDA to free cash flow mid-year makes every comparison invalid.
What does a rule of 40 worked example look like?
Here is a simple example using round numbers. A SaaS company had $10,000,000 in revenue last year and $13,000,000 this year. Its EBITDA this year was -$1,300,000, a -10% margin.
| Step | Calculation | Result |
|---|---|---|
| Prior year revenue | Given | $10,000,000 |
| Current year revenue | Given | $13,000,000 |
| Revenue growth | ($13.0M − $10.0M) ÷ $10.0M × 100 | 30% |
| EBITDA | Given | -$1,300,000 |
| EBITDA margin | -$1.3M ÷ $13.0M × 100 | -10% |
| Rule of 40 score | 30% + (-10%) | 20 |
| Gap to threshold | 40 − 20 | 20 points |
The score is 20, which fails the rule. The company grew fast but burned too much to get there.
To pass, it needs 20 more points. That could come from 10 points more growth and 10 points better margin, or 20 points of margin improvement alone.
Now change one input. If EBITDA were +$1,300,000 instead, the margin would be +10% and the score would be 40, a pass.
Same growth, different spending discipline. That is the trade-off the rule is built to expose.
A rule of 40 calculator runs these numbers in seconds.
What are common rule of 40 mistakes?
The most common mistake is mixing margin definitions or periods between calculations. Other frequent errors are using revenue growth that includes acquisitions, and ignoring the margin inputs that drive the score.
- Switching margin definitions. EBITDA one quarter and free cash flow the next makes the trend meaningless.
- Mismatched periods. Pairing a monthly margin with annual growth inflates or deflates the score.
- Ignoring acquisition effects. Inorganic growth belongs in the notes, not silently in the growth rate.
- Using revenue instead of profit. Revenue margin is not a profit margin. Use a profit measure.
- Chasing the score alone. Cutting all spending can pass the rule while starving future growth.
- No fixed schedule. Ad hoc calculation invites cherry-picking good quarters.
The fix is a written definition sheet: period, growth formula, margin measure and owner. Attach it to every report. A SaaS metrics reference keeps the related definitions in one place.
How should IT, finance and operations teams act on the rule of 40?
Act on the rule of 40 by treating the score as a diagnostic, then fixing the weaker of the two inputs. The score tells you whether to push growth or tighten spend. It does not tell you which line items to change.
For finance, the score sets the budget conversation. A failing score with strong growth points to spend control.
A failing score with weak growth points to go-to-market problems. A passing score buys room to invest.
For IT and operations, the lever is usually SaaS cost and tool sprawl. Every unused license is margin you already paid for.
Cutting redundant apps improves margin without touching growth. That is the fastest way to move the score.
Pair the rule with related metrics before you decide. A CAC payback calculator shows how long growth spending takes to return.
The LTV:CAC ratio shows whether that spending is efficient at all. Improving efficiency can lift both growth and margin at once, which moves the score twice.
Set a target score for the next four quarters. Assign each input an owner. Review the score next to the budget, not after it.
How does the rule of 40 differ from other SaaS metrics?
The rule of 40 is a combined growth and profit screen, while most SaaS metrics measure one thing at a time. It is not a replacement for unit economics or cash metrics. It is a summary layer above them.
| Metric | What it measures | Output |
|---|---|---|
| Rule of 40 | Growth plus profit balance | Score vs 40 |
| Burn multiple | Net burn per dollar of net new revenue | Ratio |
| Magic number | Sales efficiency | Ratio |
| CAC payback | Months to recover acquisition cost | Months |
| LTV:CAC | Lifetime value per dollar of acquisition cost | Ratio |
Use the rule of 40 for the board-level view. Use the others to explain why the score moved.
A burn multiple calculator is a good companion, because burn and margin move together. If the rule score drops, the burn multiple usually shows where.
Frequently asked questions
Is 40% a pass or a target?
A score of 40 or higher is generally treated as a pass. Many teams set a higher internal target, such as 50, to leave room for a weak quarter.
Which profit margin should I use?
EBITDA margin is the most common choice. Free cash flow margin and operating margin are also used. Pick one and apply it every period.
Can a company pass with negative profit?
Yes. A company at 60% growth and -15% margin scores 45 and passes. Strong growth can carry a negative margin.
Does the rule of 40 apply to private companies?
Yes. It works for any company with reliable revenue and profit figures. Private companies often use it in board reporting and fundraising.
How often should the score be calculated?
Quarterly is common practice. Use trailing twelve months for a smoother view, and always compare like periods.