Audited ·Last updated 29 Jul 2026·4 citations·Tier 3·0 uses

SaaS Magic Number Calculator — Leckie's 2008 Formula

Free SaaS magic number calculator using the original 2008 formula: quarterly revenue growth × 4, divided by the prior quarter's sales and marketing spend.

SaaS Magic Number Calculator

Recurring revenue reported for the quarter just closed. For a public company this is the subscription line of the quarterly income statement — the metric was designed to be computable from filings alone.
$
The same line item for the quarter immediately before. The difference between the two quarters is the whole numerator.
$
Total S&M expense in the EARLIER of the two quarters — the formula lags the spend deliberately, on the assumption that this quarter's revenue increase was bought by last quarter's selling effort.
$
Magic number
1
Annualised incremental recurring revenue divided by the prior quarter's sales and marketing spend. A practitioner benchmark from a 2008 blog post, not an accounting measure — and it assumes a roughly one-quarter lag between spend and revenue.
Quarter-over-quarter revenue increase
$1,500,000.00
Annualised new revenue (× 4)
$6,000,000.00
Quarter-over-quarter growth
13.64%
Reading
1.00 — at or above 0.75, the level at which Leckie's original post says a business is "primed to leverage spend into growth". Scale Venture Partners, which coined the term, publishes 0.7x as its own healthy baseline.

Background.

The SaaS magic number measures how much annualised recurring revenue a company added for each dollar it spent on sales and marketing the previous quarter. The formula is quoted here exactly as the source that popularised it wrote it: Magic Number = (QRev[X] – QRev[X-1]) × 4 ÷ ExpSM[X-1], from Lars Leckie of Hummer Winblad, published as a guest post on Will Price's blog on 4 March 2008. Quarterly revenue rising from $11,000,000 to $12,500,000 on $6,000,000 of prior-quarter S&M gives ($1,500,000 × 4) ÷ $6,000,000 = 1.00.

Two design choices are worth understanding before you read the result. The spend is lagged by one quarter on the assumption that this quarter's revenue increase was bought by last quarter's selling effort — an assumption, not a measurement, and one that fits a ninety-day sales cycle better than a two-week or a two-year one. And the quarterly gain is multiplied by four to annualise it, which treats one quarter's increment as if it repeats for a year. Neither choice is wrong, but both are conventions, and the metric is only comparable between companies that apply them identically.

The thresholds everyone quotes come from that same 2008 post: below 0.75, "step back and look at your business"; above 0.75, "start pouring on the gas for growth because your business is primed to leverage spend into growth"; and "if you are anywhere above 1.5 call me immediately". Scale Venture Partners, whose Rory O'Driscoll coined the term after seeing Omniture generate more than $2 of first-year revenue per $1 of go-to-market spend, publishes a slightly different figure — "a Magic Number of 0.7x is a fairly healthy efficiency baseline". Both are recorded here; the banding uses 0.75 because it comes from the source that defines the formula.

The metric exists because public SaaS companies do not disclose internal ARR bookings, so an outside analyst has only GAAP revenue and reported S&M expense to work with. That is also its limitation: it is blind to churn composition, to whether the growth came from new logos or expansion, and to any one-off that moved reported revenue. A single large contract or a change in revenue recognition swings it far more than a change in sales productivity does. Do not confuse this page with the baseball magic number, which counts games needed to clinch a division.

What is saas magic number calculator?

The SaaS magic number is a sales-efficiency benchmark equal to the quarter-over-quarter increase in recurring revenue, multiplied by four to annualise it, divided by the sales and marketing expense of the preceding quarter. It answers the question "how much annual revenue did a dollar of go-to-market spend buy?" and is computable entirely from published quarterly financial statements, which is why it became the standard outside-in efficiency measure for public software companies. The term was coined at Scale Venture Partners and the formula was popularised by Lars Leckie of Hummer Winblad in a March 2008 post. It is not defined by any standard-setter, is not a GAAP or non-GAAP financial measure, and its two conventions — the one-quarter lag on spend and the fourfold annualisation — are choices rather than derivations. It is distinct from the bookings-based sales-efficiency ratios that operators compute internally, which use new ARR booked in the same period rather than the change in recognised revenue in the following one.

How to use this calculator.

  1. Enter recurring revenue for the quarter just closed and for the quarter immediately before it. Use the same revenue line for both — mixing total revenue in one quarter with subscription revenue in the other makes the difference meaningless.
  2. Enter total sales and marketing expense for the EARLIER of those two quarters. The lag is part of the formula; using the current quarter's spend produces a different metric.
  3. Read the magic number against 0.75 and 1.5, the two levels the original post names, and remember that Scale Venture Partners publishes 0.7x as its own baseline.
  4. Check the quarter-over-quarter growth figure alongside it. A high magic number on a tiny revenue base is a different result from the same number on a large one.
  5. Before acting on a high reading, confirm the quarter contained no one-off contract, acquisition or revenue-recognition change — those move this metric far more than sales productivity does.

The formula.

Magic Number = (QRev[X] − QRev[X−1]) × 4 ⁄ ExpSM[X−1]

Subtract the prior quarter's recurring revenue from the current quarter's to get the increment. Multiply by four to annualise it — the convention treats one quarter's gain as if it recurs for a full year. Divide by the sales and marketing expense of the prior quarter, not the current one, because the formula assumes a roughly one-quarter lag between spend and the revenue it produces. The result is dollars of annualised revenue per dollar of go-to-market spend. All arithmetic is carried at full decimal precision and rounded only at the return boundary, to two decimal places for the ratio and the growth percentage and two decimal places for currency. The banded reading is evaluated against the ROUNDED magic number, so a raw 0.7495 that displays as 0.75 is read in the 0.75 band rather than contradicting the number shown. Two inputs are guarded: prior-quarter S&M spend must be above zero because the formula divides by it, and prior-quarter revenue must be above zero because the metric measures an increase over an existing base and is not meaningful for a company's first revenue quarter. A revenue decline produces a negative magic number, which the calculator reports with its own reading rather than folding into the low band.

A worked example.

Example

A public SaaS company reports $12,500,000 of subscription revenue for the quarter just closed, against $11,000,000 in the quarter before. Sales and marketing expense in that earlier quarter was $6,000,000. The quarterly increase is $12,500,000 − $11,000,000 = $1,500,000, which is 13.64% quarter-over-quarter growth. Annualised, that increment is $1,500,000 × 4 = $6,000,000. Dividing by the prior quarter's $6,000,000 of sales and marketing spend gives a magic number of exactly 1.00 — a dollar of go-to-market spend bought a dollar of annualised recurring revenue. Against the 2008 thresholds, 1.00 sits comfortably above 0.75, the level at which Leckie's post says a business is "primed to leverage spend into growth", and below the 1.5 he singles out. It is also above Scale Venture Partners' 0.7x baseline. The reading changes entirely if the spend was not lagged. Had the same $6,000,000 been the CURRENT quarter's S&M, the number would describe a different relationship — spend and the revenue it has not yet produced — and would not be the magic number at all. Doubling the prior quarter's spend to $12,000,000 for the same revenue increase halves the result to 0.50, which lands below the review line: same growth, twice the cost, and the metric says to step back before adding more spend.

prior Quarter Revenue11,000,000
current Quarter Revenue12,500,000
prior Quarter Sales Marketing6,000,000

Frequently asked questions.

What is the SaaS magic number formula?
Quoted verbatim from Lars Leckie's March 2008 post: "Magic Number = (QRev[X] – Qrev[X-1])*4/ExpSM[X-1]", where QRev[X] is quarterly recurring revenue for period X and ExpSM[X-1] is total sales and marketing expense for the preceding period. In words: take the quarter-over-quarter increase in recurring revenue, multiply by four to annualise it, and divide by the previous quarter's sales and marketing spend. Both the lag and the annualisation are conventions built into the formula rather than results derived from data, which means the metric is only comparable across companies that apply them the same way.
What is a good magic number?
The two figures in circulation come from two different sources and they do not quite agree. Leckie's 2008 post, which defines the formula, says: "if you are below 0.75 then step back and look at your business, if you are above 0.75 then start pouring on the gas for growth because your business is primed to leverage spend into growth. If you are anywhere above 1.5 call me immediately." Scale Venture Partners, which coined the term, publishes "a Magic Number of 0.7x is a fairly healthy efficiency baseline", explaining it as "for every dollar invested in Sales & Marketing, the company generates $0.70 of revenue after the first year." This calculator bands on 0.75 because that is the figure stated by the source that defines the arithmetic, and it names Scale's 0.7x alongside so you know both exist. Neither is a standard; both are investor rules of thumb.
Why does the formula use the prior quarter's sales and marketing spend?
Because it assumes selling effort produces revenue with a lag of roughly one quarter — money spent in Q1 closes deals that start generating recognised revenue in Q2. That assumption fits a ninety-day enterprise sales cycle reasonably well. It fits a self-serve product with a two-week cycle poorly, because most of the revenue effect lands in the same quarter as the spend, and it fits a long enterprise cycle poorly in the other direction, because the revenue arrives two or three quarters later and gets attributed to the wrong spend. If your sales cycle is materially different from a quarter, the magic number will systematically misattribute cause and effect, and the direction of the error depends on whether the cycle is shorter or longer.
How is this different from a sales-efficiency ratio?
The numerator. The magic number uses the change in recognised quarterly revenue, annualised — a figure available from published financial statements, which is exactly why Scale built it, since public SaaS companies do not disclose internal ARR bookings. Bookings-based sales-efficiency ratios use new ARR booked in the period, which only the company itself can see, and pair it with the same period's spend rather than the prior one. The two therefore answer the same commercial question from different data with different timing assumptions, and they will not agree for any company whose bookings and recognised revenue diverge — which is every growing subscription business. Use the magic number for outside-in analysis of a public company, and the bookings-based ratio for internal management.
Is this the same as the baseball magic number?
No — the two are unrelated and share only a name. In baseball, a team's magic number is the combined total of its own wins and its closest rival's losses needed to clinch a division; Quanta publishes that as a separate calculator. This page computes the SaaS sales-efficiency metric defined in Lars Leckie's 2008 post. Nothing about the arithmetic, the inputs or the interpretation carries across.

Embed

Quanta Pro

Paid features are coming later.

  • All 762 calculators remain free
  • No billing is enabled
Coming soon