SaaS Metrics Library

SaaS Magic Number: Calculation, Benchmarks & Improvement Guide

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

  • Calculation
  • Benchmarks
  • Improvement

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.

Formula for calculating the SaaS Magic Number, showing revenue and customer acquisition costs.

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.   

Try it with your numbers

$
$

New ARR against prior-quarter spend: $1,370,000 ÷ $1,000,000 Any currency works. The answer is a multiple either way.

1.4x magic number

Keep reading to see how that compares with the industry benchmark.

How your result compares

Your result

1.4x magic number

That puts you right at the 2026 median of 1.37. The top quartile reaches 2.14 or higher.

Change your numbers

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.

Get the 2026 SaaS benchmark report

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.

What is a good result for SaaS Magic Number?

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.

What are the Magic Number SaaS benchmarks?

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.

1.37
Median magic number
2.14
Top quartile
0.68
Bottom quartile
+46%
Up from 0.94 — first time above 1.0

Above 1.0 for the first time

Median SaaS magic number.

0.94
Prior year
1.37
Latest
Each dollar of sales and marketing now returns more than a dollar of new ARR at the median. That has not been true for several years, and it is the clearest single sign of the efficiency shift across SaaS.

What the number means

Magic numberWhat it tells you
Above 1.0Each S&M dollar returns more than a dollar of new ARR. Lean into growth.
0.75 – 1.0Efficient enough to keep investing, with room to improve.
Below 0.75Audit go-to-market before spending more.

0.75 is the practical floor. Below it, additional spend is not returning enough to justify itself.

Growth changes everything

Annual growthMedian 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

Know what every sales and marketing dollar returns.

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 Metrics

Example connected magic-number view

  • Revenue: Contracts · invoices · recurring-revenue data
  • Sales and marketing: Salaries · commission · campaigns · tooling

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, step by step

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.

What the magic number says about marketing efficiency

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?

  • Below 0.5 – the SaaS business is spending heavily for limited return. Fix conversion, pricing or targeting before adding budget.
  • 0.5 to 0.75 – workable, but growth is expensive. Worth pressure-testing which channels carry the marketing expense.
  • Above 0.75 – efficient. Most investors read this as a signal of genuine growth potential, and a reason to spend more rather than less.

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.

Common mistakes when calculating the magic number

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.

SaaS Magic Number Visualization Example

Bar chart displaying the SaaS Magic Number with actual and target values over several quarters.

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.

Frequently asked questions

What SaaS magic number justifies spending more on sales and marketing?

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.

Can ScaleXP calculate the SaaS magic number automatically?

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.

How does ScaleXP keep the magic number consistent with the financial statements?

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.

How does ScaleXP show the SaaS magic number in board packs?

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

Know when to invest harder—and when to fix the engine.

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.

Book a Demo No preparation needed

From acquisition spend to a clear efficiency signal

ScaleXP brings recurring revenue and the complete sales and marketing cost base into one calculation.

Graph illustrating net dollar retention metrics with dollar signs and documents.

Net Dollar Retention

Measures growth in revenue from a group of customers. Typically split into upgrades, downgrades, renewals and losses.

User interface displaying CAC playback options and controls for data analysis.

CAC Payback

Measures how long it takes for a company to recoup the costs of acquiring a new customer.

Graph depicting growth with a dollar sign and upward trend line.

MRR Growth Rate

Percentage increase in MRR over a certain period of time, most typically a quarter or a year.

SAAS METRICS LIBRARY

Read about more SaaS metrics, from ARR to Rule of 40.