Free tool

Rule of 40 calculator

The Rule of 40 is a benchmark for software companies: revenue growth rate plus profit margin should add up to at least 40 percent. It is calculated as year-over-year revenue growth plus profit margin, both in percent. This calculator works both out from two years of revenue and your operating profit, then shows your gap to the 40 line. Nothing stored.

Last twelve months
Rule of 40 score
40
above the line
Revenue growth
50%
year over year
Profit margin
−10%
of trailing revenue
Distance to 40
+0
points of headroom

Growth of 50% plus a margin of −10% scores 40, clearing the 40 line with 0 points to spare. The useful follow-up is which half carries the score: growth-heavy passes fade as growth naturally slows, so the question is whether efficiency is arriving to replace it.

Track cash, burn and runway live in Plainhub.Build your modelTry the live demo

The Rule of 40 formula

The Rule of 40 says a software company's year-over-year revenue growth rate plus its profit margin should add up to at least 40 percent. This calculator takes growth from two years of revenue and margin as operating profit over this year's revenue. Scores are not always comparable, because Brad Feld measured growth in MRR and profit as EBITDA.

growth rate  = (revenue this year − revenue last year) / revenue last year
margin       = operating profit / revenue this year
score        = growth rate % + margin %   →   pass at 40 or more

The rule exists because growth and profitability trade against each other, and judging either alone rewards the wrong things. A company burning heavily can be excellent if it grows fast enough; a slow grower can be excellent if it is genuinely profitable. Adding the two puts every company on one scale.

The rule was written up by Brad Feld in a February 2015 post: growth rate plus profit should add up to 40 percent. Feld heard it from an unnamed late stage investor, so the origin is older than the post. He measured growth as year-over-year MRR growth and profit as EBITDA; this calculator uses revenue and operating profit. The full treatment, with a worked example and the common ways companies flatter the score, is in Rule of 40: what it is, how to calculate it, and when it lies.

It is a later-stage yardstick. If you are pre-Series A, the score will either flatter you absurdly or scare you pointlessly; the ratios that actually decide things at that stage are the burn multiple and the SaaS magic number, which measure what growth costs while there is still a runway clock running.

Common questions

What is the Rule of 40?

A health test for software companies: revenue growth rate plus profit margin should add up to at least 40 percent. A company growing 55 percent at a −10 percent margin scores 45 and passes; one growing 15 percent at a 10 percent margin scores 25 and does not. Brad Feld wrote the rule up in 2015.

How do you calculate the Rule of 40?

Add your year-over-year revenue growth rate to your profit margin, both as percentages. Rule of 40 score = revenue growth % + profit margin %. This calculator derives both from amounts: growth from two years of revenue, margin from profit divided by current revenue.

Which profit margin does the Rule of 40 use?

Convention varies: operating margin, EBITDA margin and free cash flow margin are all in circulation. The choice matters less than consistency, across time and across any companies being compared. For a private company watching its own trend, free cash flow margin is the hardest to flatter.

Does the Rule of 40 apply to early-stage startups?

Not usefully. Brad Feld framed it as a benchmark for software companies at scale, around $50 million of revenue; far below that, growth from a small base produces absurd scores that mean nothing. Early companies learn more from burn multiple and runway, which measure whether the growth is affordable at all.

Keep the cash picture beside the score

Bring annual revenue and operating profit from your accounts to this calculator. Plainhub tracks current recurring revenue, costs and runway for daily spending decisions; those figures are not an accounting profit margin. Use it to keep the cash constraint visible while you review the broader growth score.