Rule of 40 calculator for SaaS growth and profit

Add revenue growth to your EBITDA or free cash flow margin and see if you clear 40. Get the gap to 40 and the growth or margin you need to pass.

Board metricsRule of 40 scorecard · updates as you type

Revenue growth Year on year

Total revenue for the previous 12 months
Total revenue for the latest 12 months (or ARR at both points)

Profit margin

Earnings before interest, tax, depreciation and amortisation. Use a minus sign for a loss
Rule of 40 score44Passes
Revenue growth32%$2.5M → $3.3M
EBITDA margin12%$396k of $3.3M
Growth vs profitabilityTarget 40 · +4 points
Distance from 40
+4 points
Growth could slow to
28%
at a 12% margin · revenue of $3.2M
Margin could fall to
8%
at 32% growth · EBITDA of $264k
Sample numbers. Replace them with yours.
  • EBITDA or FCF margin
  • Gap to 40
  • Growth vs margin chart
  • No sign-up

Add this tool to your site

Paste this code into any page. It stays free and updates automatically.

How it works

Growth plus margin.
One number for the board.

  1. 01

    Choose how to enter numbers

    Use revenue and profit figures, or switch to Percentages if you already know your growth rate and margin.

  2. 02

    Add revenue growth

    Revenue for last year and this year. Use the same 12-month periods, or ARR at both points.

  3. 03

    Pick a margin measure

    EBITDA or free cash flow, then enter the amount for this year. Use a minus sign for a loss.

  4. 04

    Read the scorecard

    Your score, how far it sits from 40, and the growth or margin that would get you there, plotted on a growth vs margin chart.

The formula

Rule of 40 score = Revenue growth rate % + Profit margin %

Example: revenue grows from $2.5M to $3.3M (32%) with $396,000 of EBITDA (a 12% margin). 32 + 12 = 44, so the company passes by 4 points.

Rule of 40 benchmarks

ScoreWhat it means
50+Comfortably above the bar. Room to invest more in growth or absorb a slowdown.
40–50Passes. Growth and profitability are in a sensible balance.
30–40Just below. One lever, growth or margin, needs a few more points.
Below 30Below the bar. Growth isn't paying for the losses, or profit isn't making up for slow growth.

What the Rule of 40 measures

The Rule of 40 is a quick health check for software companies. Add your revenue growth rate to your profit margin. If the total is 40 or more, the business is balancing growth and profitability well.

The idea behind it is that growth and profit trade off. A company can spend heavily to grow fast and run at a loss, or grow slowly and keep a healthy margin. Either can be fine. What investors and boards want to see is that the trade is a good one, and the Rule of 40 puts both sides into one number.

How to calculate your Rule of 40 score

Use the same 12-month period for both numbers.

  1. Work out revenue growth: (revenue this year − revenue last year) ÷ revenue last year × 100.
  2. Work out profit margin: profit ÷ revenue this year × 100, using EBITDA or free cash flow.
  3. Add the two percentages together.

A worked example:

  • Revenue last year: $2,500,000
  • Revenue this year: $3,300,000
  • EBITDA this year: $396,000

Growth is 32% and the EBITDA margin is 12%, so the score is 44. That passes by 4 points. At a 12% margin the company could let growth slow to 28% and still pass. At 32% growth, the margin could fall to 8% (EBITDA of $264,000) before the score dropped below 40.

The score works with losses too. A company growing 60% with a −20% margin also scores 40.

EBITDA or free cash flow?

Both are common, and the calculator lets you switch between them.

  • EBITDA margin is close to operating profit and easy to pull from a profit and loss statement. It leaves out capital spending and the timing of cash.
  • Free cash flow margin is operating cash flow minus capital spending, divided by revenue. It is the stricter test, because it shows the cash the business actually generates or burns.

The two can differ a lot. Annual upfront billing tends to lift free cash flow, and capitalised development costs flatter EBITDA. Say which one you used whenever you share the score, and use the same one each time you report it.

What is a good Rule of 40 score?

40 is the pass mark. A score comfortably above it suggests room to invest more in growth or to absorb a slowdown. A score in the 30s usually means one lever needs a few points. Well below 30 means growth is not paying for the losses, or profit is not making up for slow growth.

It depends on stage. Early-stage companies often grow fast from a small base, which makes the score jump around, so the rule is most useful once revenue is meaningful and growth has settled. Many companies also miss 40 in a given year for good reasons, such as a deliberate push into a new market. The trend over several years tells you more than one score.

Common mistakes

  • Mixing periods. Growth from one period and margin from another gives a number that means nothing. Use the same 12 months.
  • Using monthly growth. The rule uses annual growth. 3% month-on-month growth is roughly 43% a year, not 3%.
  • Counting one-off revenue. Large one-off services or set-up fees can inflate growth. Many teams use recurring revenue (ARR) growth instead.
  • Switching margin measures. Quoting EBITDA one quarter and free cash flow the next makes the trend unreadable.
  • Reading it in isolation. Two companies with the same score can be in very different shape. Check retention, gross margin and how efficiently sales spend turns into new revenue.

How to improve your Rule of 40 score

Every point of growth and every point of margin counts the same, so look for the cheapest point first.

  • Retention and expansion. Keeping and growing existing customers adds growth without the cost of winning new ones.
  • Pricing. A price rise or better packaging lifts growth and margin at the same time.
  • Efficient acquisition. Channels with lower acquisition cost let you keep growing while spending less.
  • Cost discipline. Hosting, tooling and headcount that no longer pull their weight drag down margin.
  • Billing terms. Annual upfront plans improve free cash flow, even when EBITDA stays the same.

See how much revenue your existing customers keep with the NRR Calculator, check how efficiently sales and marketing spend becomes new revenue with the SaaS Magic Number Calculator, and work out your SaaS gross margin. If growth is the side of the score you need, our outbound lead generation service builds pipeline without a big ad budget.

FAQ

Questions,
answered.

The Rule of 40 is a benchmark for software companies: revenue growth rate plus profit margin should add up to 40% or more. It shows whether a company is balancing growth and profitability, rather than judging either on its own.

Add your year-on-year revenue growth rate to your profit margin. Revenue rising from $2.5M to $3.3M is 32% growth. $396,000 of EBITDA on $3.3M is a 12% margin. 32 + 12 = 44, so the company passes.

Both are widely used. EBITDA margin is easy to take from your profit and loss statement. Free cash flow margin is stricter because it counts capital spending and when cash actually arrives. Pick one, say which you used, and stick with it so the trend stays comparable.

Use annual revenue growth over the same 12 months as your margin. Many SaaS companies use ARR growth so one-off fees don't inflate the number. Don't use monthly growth: 3% a month is roughly 43% a year.

Yes. A company growing 60% with a −20% margin scores 40 and passes. The rule allows losses as long as growth is fast enough to justify them. As growth slows, the margin has to improve to keep the score at 40.

Find the cheapest points. A company growing 20% with a 5% margin scores 25 and is 15 points short. It could reach 40 by growing 35% at the same margin, by lifting its margin to 20% at the same growth, or by a mix of both. The calculator shows both targets.

It is most useful once a company has meaningful recurring revenue and growth has settled. Very early-stage companies can grow several hundred percent from a small base, which makes the score swing from year to year and say little about the business.

It compresses the growth versus profit trade-off into one number that can be compared across companies. A business that passes is either growing fast enough to justify its losses or profitable enough to make up for slower growth.

No. It's free, with no sign-up or credit card, and nothing you enter leaves your browser. Your last numbers are saved on your device, and Copy link gives you a shareable link to the result.

Done-for-you

Growth is the harder half of 40.

We help B2B SaaS teams build pipeline from outbound, search and AI recommendations, so new revenue doesn't depend on a bigger ad budget.