Startup & SaaS · Formula v1.0

SaaS Rule of 40 Calculator

SaaS Rule of 40 Calculator: Add annual recurring-revenue growth and profitability margin.

Use a consistent profit measure and avoid treating 40 as universal. Enter annual recurring-revenue growth in percent and EBITDA or free-cash-flow margin in percent (30 means 30%). At the worked-example inputs, the rule of 40 score is 42.0%. The rule of 40 says a healthy software company's growth rate plus profit margin should be at least 40%. On the example, 30% growth plus a 12% margin scores 42, just above the threshold. It lets a company trade growth against profit: a fast grower can lose money and pass, while a slow grower must be very profitable. Use it to see whether growth is being bought too expensively and to compare with peers. It returns rule of 40 score, distance from 40, entered growth plus margin.

FreeNo sign-upInputs stay in-browserCSV exportReviewed August 17, 2026
LAST REVIEWEDAugust 17, 2026Inputs stay in your browser
Live calculation

Enter your numbers

Calculated result
Rule of 40 score42.0%
Distance from 402.0%
Entered growth plus margin42
Sensitivity check

What if annual recurring-revenue growth changes?

-10% input39.0%
0% input42.0%
+10% input45.0%

Transparent method

The formula

Rule of 40 score = annual recurring-revenue growth rate + profit margin

Worked example

Rule of 40 score42.0%
Distance from 402.0%
Entered growth plus margin42

Example inputs

Annual recurring-revenue growth30.0%
EBITDA or free-cash-flow margin12.0%

How to interpret the result

The Rule of 40 combines growth rate and profit margin into one number specifically so that a fast-growing, unprofitable company and a slower-growing, highly profitable one can both score well, which is deliberate. The rule doesn't say either path is better, only that the combination should clear a general threshold, not that 40 is a universal pass-fail line for every company at every stage.

Before you rely on it

What to check

Use a consistent, clearly defined profit measure when calculating the score, and treat 40 as a general benchmark rather than a fixed pass-fail line for every company regardless of stage.

The common error

Where people go wrong with saas rule of 40 calculator

Treating a Rule of 40 score below 40 as an automatic red flag regardless of company stage or strategy. An early-stage company deliberately prioritizing growth over near-term profit, or the reverse, can have good reasons for scoring below the threshold at a specific point in its life.

Sensitivity evidence

How annual recurring-revenue growth changes the rule of 40 score

SaaS Rule of 40 Calculator: rule of 40 score and distance from 40 and entered growth plus margin across a range of annual recurring-revenue growth, every other input held at the worked-example value.
Annual recurring-revenue growthRule of 40 scoreDistance from 40Entered growth plus margin
26.0%38.0%-2.0%38
28.0%40.0%0.000%40
30.0%worked example42.0%2.0%42
32.0%44.0%4.0%44
34.0%46.0%6.0%46

Every input, tested

Which input moves the rule of 40 score most

SaaS Rule of 40 Calculator: rule of 40 score with each input moved on its own, every other input held at the worked-example value.
InputTested fromToRule of 40 score at each endSwing
Annual recurring-revenue growth28.0%32.0%40.0% to 44.0%4.0% (9.5%)
EBITDA or free-cash-flow margin10.0%14.0%40.0% to 44.0%4.0% (9.5%)

Two variables at once

Rule of 40 score by annual recurring-revenue growth and EBITDA or free-cash-flow margin

SaaS Rule of 40 Calculator: rule of 40 score at each combination of annual recurring-revenue growth (rows) and EBITDA or free-cash-flow margin (columns).
Annual recurring-revenue growth \ EBITDA or free-cash-flow margin8.0%12.0%16.0%
26.0%34.0%38.0%42.0%
28.0%36.0%40.0%44.0%
30.0%38.0%42.0%46.0%
32.0%40.0%44.0%48.0%
34.0%42.0%46.0%50.0%

Step by step

The worked example, input by input

Worked-example inputs and the results they produce for the saas rule of 40 calculator.
InputValue used
Annual recurring-revenue growth30.0%
EBITDA or free-cash-flow margin12.0%
Rule of 40 score42.0%
Distance from 402.0%
Entered growth plus margin42

Where the inputs come from

Annual recurring-revenue growth is the year-over-year growth rate of ARR or revenue, and the margin is EBITDA margin or free cash flow margin as a percent of revenue. Use consistent definitions across periods and peers, and say whether you use EBITDA or free cash flow. Both should cover the same twelve months. Negative margins are entered as negative numbers.

When the result stops applying

The rule is a heuristic and not a law, and it fits scaled software companies better than early startups. Margin choices, such as adjusted EBITDA excluding stock compensation, change the score. Growth and margin can be traded off in different ways that have very different risks. A single year's score can mislead.

What to compare it with

See the components on the MRR growth and EBITDA margin calculators, and the efficiency of spending on the magic number and CAC payback pages. The net revenue retention page shows the quality of growth. Track the score quarterly.

People also ask

Frequently asked questions

What is the rule of 40?

A guideline that a software company's revenue growth rate plus its profit margin should be at least 40%, balancing growth against profitability.

Which margin should I use?

EBITDA margin or free cash flow margin, applied consistently. Free cash flow is stricter since it includes capital and working-capital needs.

Does every company need to pass?

Not necessarily. Early-stage companies often score lower because they invest heavily in growth, but the rule is a common benchmark for maturity.

Common startup & saas questions

Sources and evidence