SaaS Magic Number: Formula, Example, and 2026 Guide
The SaaS magic number tells you how efficiently last quarter's sales and marketing spend produced new recurring revenue this quarter. It turns two financial statements into one operating signal: are you ready to spend more on growth, or are you paying too much for the revenue you add?
The formula is simple. The judgment is not. Revenue timing, churn, annual contracts, and uneven campaigns can move the number sharply, so this guide shows you how to calculate it consistently, test the result, and use it without letting one ratio run the company.
SaaS magic number formula
SaaS magic number = ((current-quarter subscription revenue − previous-quarter subscription revenue) × 4) ÷ previous-quarter sales and marketing expense.
The numerator measures the quarter-over-quarter increase in recurring revenue and annualizes it. The denominator uses the prior quarter's sales and marketing spend because that investment generally influences revenue recognized in the following quarter.
Scale Venture Partners, which introduced the metric, specifies GAAP subscription revenue for the comparable version of the calculation. Using MRR or ARR can still be useful for internal operating analysis, but label that version clearly. Do not compare an ARR-based result with a GAAP-revenue benchmark as if they were identical.
A worked SaaS magic number example
Assume your SaaS company reports $650,000 in subscription revenue in Q2, up from $500,000 in Q1. Sales and marketing expense in Q1 was $800,000.
A result of 0.75 means the company generated about $0.75 of annualized incremental revenue for every $1 spent on sales and marketing in the previous quarter. It does not mean the company made $0.75 of profit. Hosting, customer success, product development, administration, and the timing of cash collection are outside this calculation.
How to interpret your result
Use interpretation bands as prompts for investigation, not automatic spending rules. Scale's long-term dataset of more than 1,000 growth-stage SaaS and cloud companies has placed the median near 0.7. Its original guidance treated a result below 0.5 as evidence that the go-to-market model needed work and a result above 1.0 as a strong investment signal.
Your own trend matters more than a borrowed threshold. A bootstrapped product with founder-led sales, an enterprise platform with eighteen-month contracts, and a self-serve SaaS business should not share one operating target without adjustment.
Build the calculation from the right data
1. Define subscription revenue once
Choose the revenue line you will use and document it. Exclude services, hardware, one-time setup fees, and other non-recurring revenue when they would distort the comparison. Use the same accounting basis every quarter.
2. Include the full sales and marketing cost
The denominator should include salaries, commissions, paid media, agencies, marketing software, events, and allocated costs that support acquisition. A magically high number often comes from an incomplete expense definition, not an exceptional growth engine.
3. Keep the one-quarter lag
Compare the current quarter's revenue increase with the previous quarter's expense. If your sales cycle is much longer than one quarter, calculate additional lagged versions. A six-month enterprise motion may correlate more strongly with spend from two quarters earlier.
4. Reconcile the source tables
Revenue may live in billing and subscription tables while sales and marketing spend lives in accounting exports. Reconcile both to finance's reported totals before automating the metric. A precise dashboard built on unreconciled inputs is just a faster way to be wrong.
What the SaaS magic number misses
The magic number compresses a complex system into one ratio. That is useful for direction and dangerous for diagnosis. Review it alongside the following metrics.
Segment the metric when the blended result hides opposing motions. Enterprise, self-serve, partner, and paid acquisition channels can have different economics. A 0.8 company-wide result may combine a 1.4 partner channel with a 0.3 paid channel, which calls for reallocation rather than celebration.
Turn a quarterly calculation into an operating system
A spreadsheet is enough for the first calculation. Once the definition is stable, connect the source data and make the trend visible. Your dashboard should show the current result, the previous eight quarters, revenue growth, sales and marketing expense, retention, and notes for unusual events.
AI for Database can query PostgreSQL, MySQL, Supabase, BigQuery, MS SQL Server, and other supported databases in plain English. You can ask, “Calculate our SaaS magic number for each of the last eight quarters using subscription revenue and prior-quarter sales and marketing expense,” then save the result as a self-refreshing dashboard.
Add guardrails before automating decisions. For example, trigger a Slack or email alert when the trailing two-quarter average falls below 0.5, but require someone to review churn, channel mix, and accounting changes before cutting spend. The alert starts the investigation; it should not make the budget decision.
A practical quarterly review
That final step matters. A metric that produces no decision is reporting theatre. The SaaS magic number earns its place when it changes where you invest the next dollar.
Questions teams ask about the SaaS magic number
What is a good SaaS magic number?
Around 0.7 has historically been a useful cross-company reference point, while results above 1.0 can indicate strong efficiency. Treat these as context, then compare your own trend, segment economics, retention, and sales cycle before changing spend.
Should I use revenue, MRR, or ARR?
Use GAAP subscription revenue for the standard comparable magic number. An MRR- or ARR-based sales-efficiency ratio can help internal decisions, but name it separately and keep its definition consistent.
Can an early-stage SaaS company use this metric?
Yes, but early results are noisy. Founder-led sales, small revenue bases, annual deals, and uneven hiring can swing the ratio. Track it for several quarters and pair it with funnel and retention data.
How often should I calculate it?
Calculate it quarterly after finance closes the books. A trailing four-quarter average reduces noise, while a channel-level dashboard can provide earlier operational clues between closes.
Can I calculate the SaaS magic number without SQL?
Yes. If revenue and expense data are available in a connected database, AI for Database can generate the calculation from a plain-English request, save it to a live dashboard, and alert your team when the trend crosses a threshold.
The decision this metric should drive
The SaaS magic number answers one narrow question well: how much annualized revenue growth followed each dollar of prior-quarter sales and marketing spend? Calculate it consistently, inspect the drivers behind it, and use it to decide whether your next growth dollar belongs in scaling, repair, or reserve.
If those inputs already live in your database, try AI for Database free at aifordatabase.com. Ask for the calculation in plain English, turn it into a self-refreshing dashboard, and keep the decision tied to live data instead of a stale quarterly spreadsheet.
Source note
Formula and benchmark context: Scale Venture Partners, “A Primer on SaaS Sales Efficiency” and “Magic Number Math,” available at scalevp.com.
Frequently asked questions
What is a good SaaS magic number?
A result near 0.7 has historically been a useful reference point, while a result above 1.0 can indicate strong sales efficiency. Compare the ratio with your own trend, retention, gross margin, and sales cycle before changing spend.
What is the SaaS magic number formula?
Subtract previous-quarter subscription revenue from current-quarter subscription revenue, multiply the increase by four, and divide by previous-quarter sales and marketing expense.
Should I use revenue, MRR, or ARR?
Use GAAP subscription revenue for the standard comparable magic number. MRR- or ARR-based versions can support internal analysis, but label them separately and keep the definition consistent.
How often should I calculate the SaaS magic number?
Calculate it after each quarterly close. Also monitor a trailing four-quarter average to reduce noise from large contracts, hiring bursts, and campaign timing.
Can I calculate the SaaS magic number without SQL?
Yes. AI for Database can calculate it from connected revenue and expense data using a plain-English request, then save the result to a self-refreshing dashboard and trigger threshold alerts.