See how ScaleXP works with Xero or QuickBooks.
In a 30-minute demo, we’ll show the relevant workflows using example data and discuss how they could apply to your finance process. Complex requirements? Discuss them with us first.
Understand the SaaS magic number, calculate it with your own numbers, see how it benchmarks against other SaaS companies, and get practical tips to improve it.
This article will provide
SaaS Magic Number is a measure of growth or sales efficiency which is built from the revenue growth rate and the cost of acquiring new customers.
The formula for SaaS Magic Number is annualized Revenue Growth divided by Customer Acquisition Costs. The measure can be calculated using the most recent annual results (sometimes called trailing twelve months, or TTM) or a shorter, annualized, time period. Here we show the calculation for a full year. In this case we assume that the benefit of sales and marketing cost is attained within the same period as it is spent, but a widely accepted alternative calculation is to use spend in the month prior to the new sales generation.
As an example, if you spend $1000 on marketing in 2022, and revenue increases by $2500 in the year, the Magic Number will be 2.5. This implies that you more than paid back the acquisition costs in one year; you paid them back by 2.5x, at least in terms of sales before any associated costs.
New ARR against prior-quarter spend: $1,370,000 ÷ $1,000,000 Any currency works. The answer is a multiple either way.
Keep reading to see how that compares with the industry benchmark.
Your result
That puts you right at the 2026 median of 1.37. The top quartile reaches 2.14 or higher.
One number against one benchmark only tells you so much. The 2026 benchmark report has the median and top-quartile figures for all 20 metrics, so you can see where the rest of the business sits.
Definitions, formulas, and this year’s median and top-quartile numbers for all 20 metrics in the library. One PDF you can take straight into your next board meeting.
See our privacy policy.
Your report is ready.
Download the 2026 SaaS Benchmark Report We’ve emailed you a copy as well.A higher Magic Number is better.
A SaaS magic number below 1 indicates that the company needs longer than a year to recoup the cost of acquiring a new customer. If customers are sticky and stay for many years and Gross Margin is high, this may not be a cause for concern.
A magic number below 0.5 usually indicates that it is too early to invest in sales and marketing.
This being said, it is important to keep in mind that the SaaS magic number can vary over time driven by a wide range of factors including the cost of acquiring new customers, the ability to cross-sell to existing customers, net dollar retention, even churn. The Magic Number is just one financial metric and should be considered in the context of a company’s overall financial performance and business model.
The magic number varies by industry and business model, so the useful comparison is against companies at a similar growth rate rather than the market as a whole.
The current figures, from 342 B2B SaaS companies, are below.
Median SaaS magic number.
| Magic number | What it tells you |
|---|---|
| Above 1.0 | Each S&M dollar returns more than a dollar of new ARR. Lean into growth. |
| 0.75 – 1.0 | Efficient enough to keep investing, with room to improve. |
| Below 0.75 | Audit go-to-market before spending more. |
0.75 is the practical floor. Below it, additional spend is not returning enough to justify itself.
| Annual growth | Median magic number |
|---|---|
| Over 50% | 2.40 |
| 11–30% | Below 0.75 |
Companies growing above 50% run a magic number roughly 75% above the population median. The 11–30% band sits below the sustainable floor — spending without proportional return, which is the uncomfortable middle of the market.
Source: 2026 Aleph × Benchmarkit SaaS & AI Performance Benchmarks, published 1 June 2026, full-year 2025 actuals from 342 B2B SaaS and AI-native companies (132 reported the magic number).
Measure go-to-market efficiency
ScaleXP matches recurring-revenue growth with the sales and marketing investment that produced it, giving finance a current efficiency measure without rebuilding the calculation at quarter-end.
Recurring revenue only, complete sales and marketing costs and the correct period lag—so the result is comparable and credible.
Automate Your SaaS MetricsExample connected magic-number view
Quarterly recurring-revenue increase
$300,000
Recurring revenue increased from $2.0 million to $2.3 million during the quarter.
Illustrative example figures, not your live data.
The SaaS magic number formula is straightforward once the inputs are agreed:
(Current quarter revenue minus prior quarter revenue) × 4, divided by prior quarter sales and marketing spend.
Worked through: if a SaaS company grew quarterly revenue from $2.0m to $2.3m and spent $1.2m on sales and marketing in the prior quarter, the annualized revenue generated is ($2.3m less $2.0m) × 4 = $1.2m. Divided by $1.2m of spend, the magic number is 1.0.
Read literally, that means every dollar spent acquiring customers returned a dollar of annualized recurring revenue within the following quarter. To calculate the SaaS magic number consistently, use the prior quarter for spend, because the revenue it produced almost always lands a quarter later.
The number is a metric of efficiency, not of profitability. It answers one question: how much new annualized revenue does each unit of sales and marketing expense buy?
Because it compares a company’s sales output against its sales and marketing expenses, the magic number is most useful as a trend. A single quarter reflects deal timing as much as marketing efficiency.
The magic number is one of several ways to measure the same thing. For the alternatives, their current benchmarks and which to use when, see sales efficiency.
Three errors account for most misleading magic numbers.
Mixing the periods. Comparing this quarter’s revenue growth with this quarter’s spend understates efficiency, because that spend has not yet had time to convert.
Using total revenue rather than recurring revenue. One-off services and professional fees inflate the numerator without reflecting durable growth.
Excluding part of sales and marketing spend. Salaries, commission, tooling and contractor costs all belong in the denominator. Leaving them out flatters the result and makes any benchmark comparison meaningless.
ScaleXP fully automates SaaS Magic Number calculations. Data is compiled automatically from your accounting or financial system. Your internal budgets, targets, and forecasts are automatically added to the graphs. All you need to do is share the insights with your team,See how ScaleXP automates SaaS metrics.
A SaaS magic number above 1.0 justifies spending more on sales and marketing, because each dollar of spend returns more than a dollar of new annualized revenue. The 2026 median is 1.37, the top quartile reaches 2.14, and companies growing over 50% achieve a median of 2.40. Below 0.75, the practical floor, the priority is fixing the go-to-market engine before adding spend. ScaleXP calculates the magic number automatically each quarter, so leadership knows when to invest harder and when to fix the engine.
Yes, ScaleXP calculates the SaaS magic number automatically by combining recurring revenue from invoices in Xero, QuickBooks or Zoho Books with sales and marketing spend from the same ledger, while HubSpot, Salesforce or Pipedrive add deal detail. ScaleXP uses recurring revenue rather than total revenue, includes salaries, commissions and tools in spend, and compares the right quarters, avoiding the common calculation mistakes. Finance teams stop calculating the magic number by hand and get a consistent quarterly result the board can rely on.
ScaleXP keeps the magic number consistent with the financial statements because both inputs come from the ledger in Xero, QuickBooks or Zoho Books. Recurring revenue is built from invoices and journals, and sales and marketing spend comes from the accounts finance closes each month, so the SaaS magic number reconciles to the P&L. Finance defines once which accounts count as sales and marketing, and ScaleXP applies that rule every quarter. Boards get an efficiency metric they can trust when deciding how much to invest.
ScaleXP shows the SaaS magic number as a quarterly trend in live dashboards and PowerPoint board packs, next to CAC payback, net dollar retention and MRR growth rate. Directors see how efficiency is moving over time, not just in a single quarter, and can drill down in presentation mode to the revenue and spend behind each result. Finance teams arrive at the board meeting ready to answer the question investors ask most: what does each sales and marketing dollar return?
For Xero, QuickBooks and Zoho Books
ScaleXP calculates the SaaS Magic Number from connected recurring-revenue and sales-and-marketing data. See whether additional spend is creating durable growth before the next budget decision is made.
From acquisition spend to a clear efficiency signal
ScaleXP brings recurring revenue and the complete sales and marketing cost base into one calculation.
Measures growth in revenue from a group of customers. Typically split into upgrades, downgrades, renewals and losses.
Measures how long it takes for a company to recoup the costs of acquiring a new customer.
Percentage increase in MRR over a certain period of time, most typically a quarter or a year.
““producing more insights, faster and with greater accuracy”
SaaS metrics
ScaleXP calculates the SaaS magic number and 30+ other metrics straight from your accounting and CRM data, prepared daily.
In a 30-minute demo, we’ll show the relevant workflows using example data and discuss how they could apply to your finance process. Complex requirements? Discuss them with us first.