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

SaaS Magic Number Calculator — Leckie's 2008 Formula

SaaS magic number from two quarters of recurring revenue and the earlier quarter's sales and marketing spend, read against the 0.75 and 1.5 benchmarks.

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 new recurring revenue per dollar of the previous quarter's sales and marketing spend, a ratio with no units.
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.

From the outside, a public software company shows two numbers each quarter that matter for growth: the recurring revenue it recognised and what it spent on sales and marketing. The SaaS magic number joins them. Take the rise in quarterly recurring revenue, multiply it by four to make it an annual figure, and divide by the previous quarter's sales and marketing expense. A result of 1.0 means each dollar of selling effort added a dollar of annualised revenue.

The formula used here is the one Lars Leckie of Hummer Winblad set out on 4 March 2008 in a guest post on Will Price's blog, along with the thresholds still quoted: below 0.75, "step back and look at your business"; above it, the business is "primed to leverage spend into growth"; above 1.5, "call me immediately". Scale Venture Partners, where Rory O'Driscoll coined the term after finding that Omniture produced more than $2 of first-year revenue for every $1 of go-to-market spend, publishes 0.7x as its own healthy baseline. The reading is banded on Leckie's 0.75, with Scale's figure noted beside it.

The one-quarter lag and the multiplication by four are conventions, not measurements. They fit a business whose deals take about a quarter to close and whose revenue is recognised steadily, and they fit less well the further a company is from that.

What is saas magic number calculator?

The magic number is a sales-efficiency ratio: annualised growth in recurring revenue divided by the sales and marketing spend assumed to have produced it. It can be worked out from published quarterly statements alone, using the subscription revenue line and the sales and marketing expense line, which is why analysts lean on it for public companies that do not disclose bookings. It is an investors' rule of thumb rather than an accounting measure, and no standard defines it; a US-listed company that presents it in its filings is expected under SEC guidance to explain how it is calculated.

How to use this calculator.

  1. Enter recurring revenue for the quarter just closed and for the quarter before it, taken from the same line both times. Subscription revenue is the usual choice; leave out one-off services and implementation fees.
  2. Enter total sales and marketing expense for the earlier of the two quarters, not the one just closed.
  3. Read the magic number together with the quarter-over-quarter growth, and look for an acquisition, an unusually large contract or a change in revenue recognition before trusting a high figure.

The formula.

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

Magic number = (QRev[X] − QRev[X−1]) × 4 ÷ ExpSM[X−1]. QRev[X] is recurring revenue in the quarter just closed, QRev[X−1] in the quarter before, and ExpSM[X−1] is sales and marketing expense in that earlier quarter. The subtraction isolates the new revenue added in one quarter. Multiplying by four restates it as an annual run rate, as though the quarter's gain will keep recurring. Dividing by the previous quarter's spend reflects the assumption that selling effort takes about a quarter to show up as recognised revenue. The dollar increase and the quarter-over-quarter growth rate, the increase divided by the earlier quarter's revenue, are shown alongside. Prior-quarter revenue and spend must both be above zero, and a fall in revenue produces a negative magic number with its own reading.

A worked example.

Example

A software company's subscription revenue rose from $11,000,000 in one quarter to $12,500,000 in the next, and it spent $6,000,000 on sales and marketing in the earlier quarter. The increase is $12,500,000 − $11,000,000 = $1,500,000, quarter-over-quarter growth of 13.64%. Annualised, $1,500,000 × 4 = $6,000,000, and $6,000,000 ÷ $6,000,000 gives a magic number of 1.00. Each dollar of the earlier quarter's selling effort added a dollar of annual recurring revenue, which clears Leckie's 0.75 line and Scale's 0.7x baseline and falls short of the 1.5 he said would prompt a call.

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

Frequently asked questions.

Why does the formula use the previous quarter's sales and marketing spend?
It assumes money spent on selling in one quarter turns into recognised revenue in the next. That suits a sales cycle of roughly ninety days. A self-serve product that converts in weeks sees most of the effect in the same quarter, and a long enterprise cycle sees it two or three quarters later, so in both cases the formula pairs revenue with the wrong spend.
Why is my magic number negative?
Recurring revenue fell between the two quarters. If revenue had dropped from $11,000,000 to $10,500,000 on $6,000,000 of spend, the result would be −0.33. The ratio cannot say why: heavy churn can swamp healthy new sales, or new sales may simply have stalled. Revenue retention and gross new bookings are needed to tell those apart.
Does a reading of 1.5 or more mean I should spend more?
Check the quarter first. With $4,000,000 of prior-quarter spend, the example's $1,500,000 increase gives 1.50. A single large contract, an acquisition or a change in how revenue is recognised can produce that without any change in sales productivity. If the figure holds over several quarters, it is a stronger case for investing more in sales.
How does the magic number relate to CAC payback?
Payback also counts gross margin. Months to recover sales and marketing spend from gross profit come to roughly 12 ÷ (magic number × gross margin), so a magic number of 1.00 with a 75% gross margin pays back in about 16 months, and 0.50 in about 32. Churn lengthens that further, since the formula assumes every new dollar of revenue stays.
Is this the same as the baseball magic number?
No, they only share a name. In baseball the magic number is the combination of a team's wins and its closest rival's losses needed to clinch a division, and it has a separate calculator. This one measures how efficiently a subscription software company turns sales and marketing spend into recurring revenue.

How this page was produced

Published by
Quanta Calculator
Primary sources
4 cited below
Method
Magic Number = (QRev[X] − QRev[X−1]) × 4 ⁄ ExpSM[X−1]
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

Embed

Quanta Pro

Paid features are coming later.

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