The magic number formula
new revenue = this quarter − last quarter magic number = (new revenue × 4) / last quarter's S&M spend payback (months) = 12 / magic number
The metric asks one question: when this company puts money into sales and marketing, does recurring revenue come back out? A magic number of 1 means a quarter's spend recreates itself as annualized revenue within a year. The benchmark bands come from Lars Leckie, who coined the metric, and the full definition with the worked example lives at SaaS magic number in the glossary.
Two honest caveats. The formula runs on revenue, so a company at 60 percent gross margin recovers its money materially slower than the ratio implies, which is why the calculator shows payback in gross-profit months as well. And it judges only the go-to-market: a company can post a strong magic number while burning heavily everywhere else, which is what the burn multiple catches, and what the Rule of 40 summarizes for the whole company at once.