TL;DR
- ✓ The SaaS magic number formula is: (Current Quarter ARR − Prior Quarter ARR) × 4 ÷ Prior Quarter S&M Spend.
- ✓ Benchmark tiers: below 0.5 = broken model; 0.5–0.75 = investable but inefficient; 0.75–1.0 = healthy; above 1.0 = accelerate spend.
- ✓ The metric measures net revenue growth — churn drags the numerator down, so retention quality directly affects the score.
- ✓ The most common errors: using gross bookings instead of net ARR, misclassifying S&M spend, and ignoring the quarter lag.
- ✓ A magic number above 1.0 is roughly equivalent to a CAC payback period under 12 months at 100% gross margins.
The SaaS magic number formula is one of the most cited efficiency metrics in venture-backed software, yet it is also one of the most miscalculated. The formula answers a precise question: for every dollar spent on sales and marketing last quarter, how much annualized recurring revenue did you generate this quarter? A score above 0.75 signals a go-to-market engine worth scaling. A score below 0.5 means the model has not yet found its footing.
The metric was created by Rory O'Driscoll at Scale Venture Partners in 2005 while evaluating Omniture for investment. He observed the company generating more than $2 of first-year revenue for every $1 invested in its go-to-market engine — and called it magic. The name stuck. Today, every serious SaaS investor and operator uses the magic number as a first-pass filter for go-to-market health.
This guide covers the exact formula and its components, a step-by-step worked example with a numerical table, the benchmark tiers at each company stage, the five most common calculation mistakes, and the relationships between the magic number, CAC payback, and Rule of 40.
SaaS Magic Number. A measure of go-to-market efficiency that compares net new annualized recurring revenue generated in one quarter to the sales and marketing spend from the preceding quarter. The formula is: (Current Quarter ARR − Prior Quarter ARR) × 4 ÷ Prior Quarter S&M Spend. The result expresses how many dollars of recurring revenue the business generates per dollar of sales and marketing investment.
The SaaS Magic Number Formula
The formula exists in two versions. One uses ARR; the other uses GAAP revenue. The calculation is identical — only the revenue input differs.
The multiplication by 4 annualizes the quarterly revenue change. The prior-quarter lag on S&M spend reflects the reality that spend in one quarter produces closings in the following quarter — the formula deliberately captures this cause-and-effect relationship.
What Counts as S&M Spend
Precision in the denominator matters as much as accuracy in the numerator. Sales and marketing spend includes:
- Salaries, commissions, and on-target earnings for all quota-carrying sales representatives
- Salaries and variable compensation for account executives and sales development representatives
- Salaries for marketing team members (demand generation, field marketing, product marketing)
- All paid media spend: search, social, display, sponsorships, events
- Marketing technology costs directly tied to demand generation (SEO tools, advertising platforms, intent data)
- Sales enablement tools and CRM costs allocated to sales headcount
S&M spend does not include customer success payroll (retention function), professional services revenue, or software costs serving the entire company rather than the sales and marketing function specifically.
ARR vs. GAAP Revenue: Which to Use
For internal use, always prefer ARR. GAAP revenue recognition creates timing distortions — a multi-year upfront contract recognized over 36 months will understate the true sales motion in any given quarter. ARR reflects contracted recurring value and gives the operating team an accurate view of how the GTM engine is performing today.
For benchmarking against public companies — say, when a CFO wants to compare the company's efficiency to Salesforce, HubSpot, or Snowflake — GAAP revenue is the only option because public companies do not disclose ARR. The interpretation of results is consistent; the underlying revenue base is simply different.
Worked Example: Calculating the Magic Number Step by Step
The following example walks through a complete quarterly calculation for a hypothetical B2B SaaS company called Arcadia Analytics. Arcadia serves mid-market financial services firms, sells annual contracts, and is currently at Series B with $12M ARR.
| Input | Q1 (Prior Period) | Q2 (Current Period) |
|---|---|---|
| Starting ARR | $10,200,000 | $11,400,000 |
| New ARR Added | $1,300,000 | $800,000 |
| Churned ARR | −$100,000 | −$200,000 |
| Ending ARR | $11,400,000 | $12,000,000 |
| S&M Spend | $1,600,000 | — |
Step 1 — Calculate net new ARR in Q2:
$12,000,000 − $11,400,000 = $600,000
Step 2 — Annualize by multiplying by 4:
$600,000 × 4 = $2,400,000
Step 3 — Divide by Q1 S&M spend:
$2,400,000 ÷ $1,600,000 = Magic Number of 1.50
Arcadia Analytics generated $1.50 of annualized recurring revenue for every $1.00 it spent on sales and marketing in the prior quarter. By any benchmark, this is exceptional — the business is in the top performance tier and the right strategic question is how aggressively to reinvest in the GTM motion.
Notice that churn affected the calculation. Q2 new ARR was $800,000, but $200,000 churned — so the numerator captured only $600,000. This is intentional: the magic number measures net revenue growth, not gross bookings. A high bookings number obscuring heavy churn will produce a misleading score. If Arcadia had no churn, the magic number would have been 2.0 rather than 1.5 — a significant difference that pinpoints exactly where value is leaking.
A Lower-Score Scenario
Now consider a second company, Beacon SaaS, at a similar ARR level but with a different outcome:
- Q1 Ending ARR: $8,500,000 | Q2 Ending ARR: $8,900,000 → Net new ARR: $400,000
- Q1 S&M Spend: $2,100,000
- Magic Number: ($400,000 × 4) ÷ $2,100,000 = $1,600,000 ÷ $2,100,000 = 0.76
Beacon is at the low end of the "healthy" tier. The GTM engine is fundable but leaving efficiency on the table. The natural follow-up question: is the drag coming from low new bookings, high churn, or outsized S&M spend relative to the market the business can address?
SaaS Magic Number Benchmarks by Stage
The benchmark tiers below represent the consensus view across Scale Venture Partners, Bessemer Venture Partners, and leading SaaS finance practitioners. They are thresholds for action, not just observation.
The go-to-market engine is not converting spend into revenue at a sustainable rate. Before increasing S&M investment, diagnose whether the issue is product-market fit, positioning, ICP definition, or sales execution. Throwing more spend at a broken model accelerates cash burn without improving outcomes.
The model shows emerging traction and is fundable at Series A or B, but unit economics are not yet attractive enough to justify aggressive scaling. Operational improvements — ICP tightening, sales cycle compression, win rate optimization — should precede significant new S&M investment.
This is the target range for most venture-backed SaaS businesses. Scale VP's long-term data shows the median private SaaS company hovers around 0.7x. A score in this range means each incremental dollar of S&M investment will likely pay back within 12–16 months. Investor Lars Leckie's public guidance: "above 0.75, pour on the gas."
The GTM engine is compounding. Each dollar of S&M spend generates more than $1 of annualized recurring revenue. This is the clear signal to accelerate hiring, expand marketing spend, and enter new segments. According to Bessemer Venture Partners' Scaling to $100M framework, companies at this level should be aggressively reinvesting every available dollar into their sales motion.
Stage-Adjusted Interpretation
The thresholds above are starting points. The right interpretation depends on three factors:
- Company stage. A Series A company at $3M ARR can post a 1.5 magic number from three enterprise deals. The same score at $100M ARR reflects a genuinely efficient, repeatable machine. At scale, the denominator (S&M spend) is large enough that the metric reflects the whole GTM system, not outlier deal activity.
- Revenue mix. Expansion ARR from existing customers counts positively in the numerator. A company where 40% of net new ARR comes from upsells will naturally score higher than a comparable new-logo-only business. Neither is wrong — but the driver matters for strategic decisions.
- Gross margin. The magic number does not incorporate gross margin. A company at 0.9 with 90% gross margins is meaningfully more efficient than a company at 0.9 with 60% gross margins. The CAC payback period (discussed below) corrects for this.
According to Benchmarkit's 2025 SaaS Performance Metrics data, the median magic number across private B2B SaaS companies was 0.90 — above the 0.75 threshold but below the 1.0 acceleration zone. Most businesses are in a range where incremental spend is justified, but meaningful efficiency improvements are still available.
Five Common Magic Number Calculation Mistakes
The formula has four variables. Each one produces a different error pattern when miscalculated. These are the mistakes seen most often in practice.
Mistake 1: Using Gross Bookings Instead of Net ARR
The numerator must reflect net ARR change — new ARR minus churned ARR minus contracted ARR. Using gross new bookings ignores churn entirely and inflates the score. A company booking $1.2M in new ARR while churning $800K has a net position of $400K, not $1.2M. Using bookings overstates efficiency by 3×.
This error is most common at companies where the sales and finance teams track different metrics. Sales reports on bookings (which affect quota attainment). Finance tracks net ARR change (which reflects economic reality). The magic number calculation belongs to finance, not sales.
Mistake 2: Misclassifying Customer Success as S&M
Customer success salaries are not sales and marketing spend — they are a retention cost. Including them inflates the denominator and suppresses the magic number. The correct question: does this person acquire new customers, or does this person retain and expand existing ones? Acquisition functions belong in the denominator. Retention functions do not.
The reverse error also occurs: excluding account managers who carry expansion quotas from the denominator. If an account manager's primary function is upsell and cross-sell to existing accounts, that cost belongs in the calculation.
Mistake 3: Ignoring the Quarter Lag
The formula deliberately compares Q2 ARR growth to Q1 S&M spend — not Q2 S&M spend. The lag accounts for the fact that pipeline generated from marketing spend and early sales activity in one quarter typically closes in the following quarter. Companies with longer enterprise sales cycles may need to extend the lag to two quarters to get an accurate picture.
Using the same-quarter denominator is the most common structural error. It produces a metric that measures nothing useful — the spend and the result are not causally connected within a single quarter.
Mistake 4: Calculating on a Single Quarter Without Trending
A single quarter magic number is noisy. One large enterprise deal closing in Q2 instead of Q1, a lumpy marketing campaign, or a concentrated churn event can move the number significantly. The metric becomes meaningful as a trend — four to eight rolling quarters reveal the direction of the GTM engine, not a single data point.
Calculate the magic number every quarter and plot the trend. A declining trend from 1.2 to 0.8 over six quarters is a more urgent signal than a single quarter at 0.8 — even if 0.8 looks "healthy" in isolation.
Mistake 5: Not Segmenting by Channel or Motion
A blended magic number can mask divergent performance across go-to-market channels. A self-serve product-led motion with 20% S&M spend and strong conversion rates can offset a failing enterprise sales motion with 80% S&M spend and poor win rates. The blended score looks acceptable. The enterprise motion is burning cash.
Operators who track magic numbers by channel — product-led, field sales, inside sales, inbound, outbound — can identify which motions deserve additional investment and which require restructuring.
Magic Number vs. CAC Payback Period
The magic number and the CAC payback period measure the same underlying phenomenon from different angles. Both quantify go-to-market efficiency. They differ in what they reveal about the path to profitability.
| Dimension | Magic Number | CAC Payback Period |
|---|---|---|
| Output unit | Ratio (revenue per dollar of spend) | Time (months to recover CAC) |
| Gross margin adjusted | No — uses revenue, not gross profit | Yes — uses gross profit per customer |
| Level of analysis | Company / segment level | Cohort / customer level |
| Best for | Board-level GTM efficiency signal | CFO and VP Sales unit economics |
| Churn sensitivity | Yes — net ARR in numerator | Partially — depends on CAC definition |
| Healthy benchmark | Above 0.75 | Under 18 months (mid-market) |
The two metrics complement each other rather than substitute for one another. A magic number above 1.0 corresponds roughly to a CAC payback period under 12 months, assuming 100% gross margins — the math is symmetrical. As gross margins fall below 100% (the reality for most SaaS businesses with infrastructure and support costs), the same magic number implies a longer payback period.
For a deeper examination of CAC payback benchmarks and how to calculate the period by customer segment, see SaaS Metrics Series A Investors Actually Care About.
A magic number above 1.0 is not a sign to slow down investment. It is the signal to accelerate — provided gross margins are healthy and the customer lifetime value justifies the acquisition cost. The metric confirms efficiency, not ceiling.
Magic Number vs. Rule of 40
The Rule of 40 and the magic number answer different questions. The Rule of 40 asks: is the business healthy overall, balancing growth and profitability? The magic number asks: is the go-to-market engine efficient, converting spend into recurring revenue? A business can pass the Rule of 40 while having a weak magic number — and vice versa.
McKinsey's analysis of 40 public B2B SaaS companies found that top-quartile Rule of 40 performers shared four common characteristics: strong ARR growth (median 45% YoY), high net revenue retention (median 130%), shorter CAC payback periods (median 16 months), and healthy free cash flow margins. A high magic number directly contributes to two of those four drivers — ARR growth and CAC payback — making it a leading indicator of Rule of 40 performance.
| Metric | Question Answered | Scope | Benchmark |
|---|---|---|---|
| Magic Number | Is the GTM engine efficient? | Sales & marketing function | Above 0.75 |
| Rule of 40 | Is the business healthy overall? | Whole company | Score ≥ 40 |
| CAC Payback | When does customer acquisition pay back? | Unit economics | Under 18 months |
| Burn Multiple | How much cash burns per dollar of ARR? | Capital efficiency | Below 1.5× |
The practical implication: a weak Rule of 40 score should trigger a diagnostic, not an immediate conclusion. If the Rule of 40 is failing because of poor growth, the magic number reveals whether the GTM engine is the culprit. If the Rule of 40 is failing because of poor margins, the magic number is irrelevant to that diagnosis — the issue lives in cost of goods sold or operating expenses.
For a full breakdown of Rule of 40 calculation and how it connects to valuation multiples, see SaaS Metrics Investors Want to See (Seed to Series C).
How to Improve Your SaaS Magic Number
Improving the magic number requires moving the numerator up, the denominator down, or both. There are structural levers and tactical levers. Structural levers take longer but produce durable improvement. Tactical levers show up faster but can mask underlying model problems.
Structural Levers (Durable)
Tighten ICP definition. Every qualified lead that does not close wastes S&M spend without contributing to the numerator. A precise ICP — defined by firmographic, technographic, and behavioral signals — reduces wasted pipeline and improves the ratio of closed revenue to spend. In practice, narrowing the ICP from "mid-market B2B" to "Series B SaaS companies between $5M–$25M ARR using Salesforce and Stripe" can double conversion rates and lift the magic number substantially.
Reduce churn. The magic number is net of churn. A 5% quarterly churn rate on $10M ARR destroys $500K per quarter in the numerator — equivalent to a large sales team's output. Customer success investment that reduces churn from 8% to 4% annually can lift the magic number more than hiring three additional account executives. This is the most underappreciated lever in the formula.
Build a product-led motion. Self-serve acquisition channels carry dramatically lower S&M cost per dollar of ARR. A freemium or free-trial tier that converts to paid at even modest rates reduces the effective denominator for the ARR those users generate. Companies with strong product-led components consistently post higher magic numbers at comparable ARR levels.
Tactical Levers (Faster Impact)
Increase average contract value. Closing the same number of deals at higher ACV directly expands the numerator. Packaging and pricing reviews that shift customers from monthly to annual contracts, or from individual-user pricing to platform pricing, improve ARR per customer without requiring additional headcount.
Compress time-to-close. Revenue that closes in Q2 instead of Q4 appears in the Q2 numerator. Faster deal cycles — through streamlined legal review, self-service procurement, or champion enablement — shift revenue recognition earlier and improve the quarterly magic number. This is a timing improvement, not a structural one, but it matters for the trend line investors observe.
Reallocate spend toward high-efficiency channels. If paid search produces a magic number of 1.4 and field events produce 0.3, the allocation decision is clear. Most companies do not run channel-level magic number calculations. Those that do find that 20–30% of S&M spend is allocated to channels that would not meet the 0.75 threshold if isolated — and reallocation alone can lift the blended score above 1.0.
How Fairview Surfaces Magic Number Trends
Calculating the magic number once is straightforward. Tracking it accurately across quarters, by channel, and by customer segment — while simultaneously monitoring the metrics it depends on (ARR, churn, S&M spend by category) — requires connecting data from multiple systems that rarely agree on definitions.
Fairview's Pipeline Health Monitor connects to CRM systems (HubSpot, Salesforce, Pipedrive) and revenue data from Stripe and billing tools to surface net new ARR in real time — including the churn and contraction figures that belong in the denominator. The Margin Intelligence layer ingests S&M spend from QuickBooks and Xero and categorizes it against the correct cost buckets, so the denominator reflects actual sales and marketing investment rather than blended operating expenses.
The Weekly Operating Report surfaces the trailing four-quarter magic number trend alongside CAC payback, NRR, and Rule of 40 score — the cluster of metrics that together describe GTM health. Rather than pulling numbers from separate tools and building a reconciliation model in a spreadsheet, operators see the current state and the trend in a single view. For SaaS founders and RevOps leaders tracking ARR growth rate alongside efficiency metrics, this unified view eliminates the version control and data freshness problems that make spreadsheet-based magic number tracking unreliable.
The key constraint the Fairview approach addresses: magic number calculations break down when the underlying data is inconsistent. If the CRM tracks bookings in one currency format, the billing system tracks invoiced amounts in another, and finance tracks GAAP revenue with a different recognition schedule — the "magic number" an operator calculates will differ from what finance calculates, which will differ from what the investor calculates. Consistent data inputs produce consistent, trustworthy outputs.
Key Takeaways
- The formula is: (Current Quarter ARR − Prior Quarter ARR) × 4 ÷ Prior Quarter S&M Spend. The quarter lag and the multiplication by 4 are not optional — they are core to what the metric measures.
- The numerator is net ARR, not gross bookings. Churn reduces the score. A magic number that ignores churn is not a magic number — it is a bookings efficiency metric with a different name.
- Thresholds are benchmarks, not absolutes. A 0.8 at $80M ARR reflects a healthier, more repeatable engine than a 1.5 at $3M ARR. Stage, revenue mix, and gross margin all affect the right interpretation.
- Trending matters more than any single quarter. Calculate the magic number every quarter and track the direction. A declining trend from 1.1 to 0.6 over six quarters demands action regardless of where the current number sits relative to benchmarks.
- The magic number and CAC payback period are complements, not substitutes. Use the magic number for board-level GTM efficiency reporting. Use CAC payback for unit-economics planning and CFO-level investment decisions.
The magic number is a first-pass filter for go-to-market health, not a complete operating picture. Used alongside ARR growth rate, net revenue retention, and Rule of 40 score, it forms a coherent diagnostic framework that separates efficient growth from expensive growth. For a complete view of which metrics matter at each funding stage, see SaaS Metrics Investors Want to See (Seed to Series C).