Rule of 40 Explained: Formula, Benchmark, and Limits

Chad Hartman

By

Published · Last updated

A software company that's growing fast can still be a bad bet, and a highly profitable one can still be stalling out — a single growth number or a single margin number, read alone, won't tell you which. The Rule of 40 exists to combine the two into one comparable score investors can screen with in seconds. What it actually measures, what counts as a passing score, and — just as important — where the formula stops meaning anything once a company isn't a subscription software business is what turns it from a number repeated on earnings calls into something usable.

Start your 7-day free trial →

Input Definition Typical / Benchmark Range
Rule of 40 Score Revenue Growth Rate (%) + Profit Margin (%) Above 40 is the standard pass mark
Revenue Growth Rate Trailing-twelve-month revenue growth, most often year-over-year High-growth SaaS: 30%+; mature SaaS: high single digits to ~15%
Profit Margin Most commonly free cash flow margin (TTM free cash flow ÷ TTM revenue); operating margin or EBITDA margin are also used Roughly 0% to 40%+, depending on growth stage

Table of Contents

What Is the Rule of 40?

The Rule of 40 is a single combined benchmark used to judge whether a software or subscription business is balancing growth and profitability in a healthy way. It adds a company's revenue growth rate to its profit margin — most commonly free cash flow margin, though some analysts substitute operating margin or EBITDA margin — and checks whether the sum clears 40%. A fast-growing company that isn't yet profitable can still pass the test if growth alone is strong enough; a slower-growing, highly profitable company can pass on margin alone. What the rule is built to catch is the company that's neither growing quickly nor generating real margin — the combination that's hardest to defend in a software business trading on a growth multiple.

The Rule of 40 Formula

Rule of 40 Score = Revenue Growth Rate (%) + Profit Margin (%)

Both inputs are typically measured on a trailing-twelve-month basis, and the profit margin figure varies by which version of the rule an analyst is using — free cash flow margin is the most common choice because it reflects actual cash generation rather than an accounting profit figure that can be affected by non-cash items like stock-based compensation. A company growing revenue 25% year-over-year with a 20% free cash flow margin scores 45 — comfortably above the 40 threshold, even though neither individual number would necessarily stand out on its own.

What Counts as a Good Rule of 40 Score?

A combined score above 40 is the standard pass mark venture investors and public-market software analysts use, though the threshold works better as a rough screening line than a precise cutoff. A score meaningfully above 40 — 60, 80, or higher — signals a company executing well on both dimensions simultaneously, which is rare enough that it typically draws a premium valuation multiple. A score below 40 doesn't automatically mean a company is in trouble; a business in a heavy investment phase can post a temporarily low score while building toward a larger addressable market, which is why the trend in the score over several quarters usually matters more than any single period's reading.

A Worked Example From a Real Filing

Palantir Technologies' fiscal 2025 10-K illustrates what a truly strong Rule of 40 score looks like in practice — see GeminIQ's full Palantir 10-K analysis for the complete filing breakdown. Revenue grew 56.2% year-over-year, and free cash flow margin came in near 47% on $2.10 Billion in free cash flow against $4.48 Billion in revenue. Added together, that's a combined Rule of 40 score of roughly 103 — more than double the 40 threshold, and a score high enough that it's worth checking both inputs individually rather than treating the combined number as self-explanatory. A score that high can be driven predominantly by growth, predominantly by margin, or — as in this case — by both moving in the same direction at once, and the underlying mix matters for judging how durable the score is likely to be.

Why Growth and Margin Are Treated as Interchangeable

The logic behind adding two different metrics together is that, for a subscription software business specifically, growth and profitability represent a genuine tradeoff a management team can choose between. A company can spend more on sales and marketing to accelerate growth at the cost of near-term margin, or pull back on growth spending to let margin expand — and within reasonable bounds, investors in this specific business model have historically been roughly indifferent between the two paths, as long as the combined score clears the bar. That indifference is specific to software's cost structure: incremental revenue carries very low marginal cost, so a dollar of growth this year and a dollar of margin this year both represent a similar underlying claim on the business's long-term cash generation.

Where the Rule of 40 Breaks Down

The Rule of 40 was built for subscription software specifically, and it degrades quickly outside that context — which is exactly the qualification a passing score is most often quoted without. A capital-intensive business — a semiconductor manufacturer, an airline, a REIT — doesn't have software's near-zero marginal cost structure, so a 25%-growth, 15%-margin capital-intensive company clearing the same 40 threshold isn't making the same tradeoff a software company in that position is; a large share of its margin is consumed by maintenance capital expenditures the rule doesn't account for at all. The metric also says nothing about the quality or durability of either input — a growth rate driven by one large one-time contract, or a margin inflated by a temporary cost-cutting push, can produce a passing score that doesn't reflect the underlying trend. Applied outside subscription software, or applied to a single quarter without checking the trend, the Rule of 40 is a number repeated without the context that makes it useful in the first place.

Frequently Asked Questions

What is the Rule of 40 in SaaS?

It's a combined benchmark that adds a software company's revenue growth rate to its profit margin — most often free cash flow margin — and checks whether the sum clears 40%. It's used as a quick screen for whether a subscription software business is balancing growth investment and profitability in a defensible way.

What margin should be used in the Rule of 40 calculation?

Free cash flow margin is the most common and arguably the most rigorous choice, since it reflects actual cash generation rather than an accounting profit figure that can be shaped by non-cash items like stock-based compensation. Some analysts substitute operating margin or EBITDA margin, which can produce a meaningfully different score for the same company depending on how large the gap between accounting profit and cash generation is.

Does the Rule of 40 apply outside of software companies?

Not reliably. The rule assumes a cost structure — very low marginal cost on incremental revenue — that's specific to subscription software. Capital-intensive businesses in other sectors face a different tradeoff between growth and margin, since a meaningful share of their margin is consumed by maintenance capital spending the Rule of 40 formula doesn't account for.

Is a Rule of 40 score above 40 always a good sign?

Not on its own. The score can be inflated by a temporary factor — a large one-time contract driving growth, or a short-term cost cut driving margin — that doesn't reflect the durable trend in the business. Checking both individual inputs, and how the combined score has moved over several consecutive quarters, is a more reliable read than a single period's passing score.

Start your 7-day free trial →

Wall Street's data. Main Street's price.

Institutional terminals charge thousands a year for as-filed accuracy. GeminIQ gives you the same thing for a fraction of the cost: financials built directly from raw SEC EDGAR filings, not third-party APIs, with full XBRL traceability back to the original 10-K or 10-Q. No normalized guesswork, just calculated metrics, charts, screeners, and watchlists built on numbers exactly as the company reported them. Start researching now at GeminIQ.com.

All financial figures cited in this article reference Palantir Technologies Inc.'s fiscal 2025 10-K (filed February 17, 2026, period ending December 31, 2025). All SEC filings are publicly available at SEC EDGAR.

Disclaimer: The content in this blog is for educational and entertainment purposes only and does not constitute financial, legal, or tax advice. Investing involves risk, including the loss of principal. The views expressed are my own and not intended as financial advice or a guarantee of future performance.