Optimized Sales Optimized Marketing Target Accounts For CROs For CFOs For CMOs Blog News Glossary Compare Tools About Schedule a Demo
Marketing Analytics

Marketing ROI Formula

ORM Technologies
Home/ Glossary/ Marketing ROI Formula
Definition The marketing ROI formula is (return minus cost) / cost x 100. In B2B, use gross profit, full cost and a window that fits the sales cycle.

What the Marketing ROI Formula Is

The marketing ROI formula is (revenue from marketing minus marketing cost) divided by marketing cost, times 100. Spend $100,000, bring in $400,000, and ROI is 300%. In B2B, the honest version swaps revenue for gross profit, counts the full cost, and waits for long sales cycles to close. Updated October 2026: eight formula variants in one table, a long-cycle worked example, and the mistakes that inflate ROI.

The math is easy. The inputs are where teams go wrong: which revenue counts, which costs count, and when you measure.

Run your own numbers: try ORM's free marketing ROI calculator. Type in spend, pipeline, closed revenue and opportunities created for up to four channels. You get ROI and cost per opportunity for each one.

How is marketing ROI calculated?

Take what marketing brought in and subtract the full cost. Then divide by the cost and multiply by 100.

Basic Marketing ROI = (Revenue Attributed to Marketing - Marketing Cost) / Marketing Cost x 100

Example: Marketing spends $200K on a content program. That program generates pipeline that closes for $1.2M in revenue.

ROI = ($1,200,000 - $200,000) / $200,000 x 100 = 500%

Now run the same program on gross profit. At an 80% gross margin (an illustrative figure), the $1.2M in revenue is $960,000 in gross profit. ROI = ($960,000 - $200,000) / $200,000 x 100 = 380%. Same program, a lower and more honest number.

The steps, in order:

1. Pick the return. Use closed-won revenue, or better, the gross profit on that revenue. 2. Add up the full cost. Count media, agency fees, events, tools, and the share of salaries for the people who ran the work. 3. Pick the window. Match it to your sales cycle. A quarter is too short for most B2B deals. 4. Do the math and label it. Say which version you used, so nobody compares a revenue ROI to a gross profit ROI.

In a spreadsheet, put the return in B2 and the cost in C2, then use `=(B2-C2)/C2` and format the cell as a percent.

Which marketing ROI formula should you use?

Use the version that fits the question. Gross profit ROI is the one for budget decisions. Pipeline ROI is an early read. Incremental ROI is the only one that shows marketing caused the result.

VersionFormulaWhen it is honestHow it misleads
Basic (revenue) ROI(Revenue - marketing cost) / marketing cost x 100Quick channel comparisons when margins are similarTreats revenue as profit. A 25% revenue ROI is a loss once a 78% gross margin is applied
Gross profit ROI(Revenue x gross margin - marketing cost) / marketing cost x 100Budget decisions and any number shown to the CFONeeds a margin figure that finance agrees with
Incremental ROI(Gross profit you would not have earned without the program - cost) / cost x 100Proving marketing caused the result, using a holdout or geo testNeeds a test design, and small tests are noisy
Pipeline ROIPipeline created / marketing cost, written as a ratio such as 10:1An early read inside the quarter, before deals closePipeline is not revenue. Deals slip, lose, and close for less than their pipeline amount
ROASAd revenue / ad spendTuning one paid channel week to weekCounts media only and does not subtract it. A 3:1 ROAS is a 200% revenue ROI before any other cost
LTV-based ROI(Lifetime gross profit from new customers - cost) / cost x 100Subscription businesses where year one does not pay backRests on retention guesses. Check them against real cohorts
Marketing-sourced ROICounts only deals marketing createdDefending the budget. It is the most conservative viewLeaves out the role marketing plays in deals sales sourced
Marketing-influenced ROICounts every deal marketing touchedShowing reach across the buying groupOvercounts. Several teams claim the same deal, and adding them up double counts it
For B2B SaaS with annual contracts, the LTV-based formula is often the better fit. First-year revenue often falls short of the cost to win the customer. Gross profit over the full average customer lifespan is what pays it back. Report sourced and influenced side by side, with clear labels. The sourced vs. influenced page covers where each one belongs.

Worked example: one B2B program, read seven ways (illustrative)

In Q1, a B2B SaaS company spends $300,000 on a demand program. That is the full cost: $150,000 in media, $50,000 in events and content, and $100,000 as its share of team time and tools. The program sources 40 opportunities worth $3,000,000, or $75,000 each on average. Gross margin is 78%. Every number here is illustrative.

MeasureMathResult
1. Pipeline ROI at the end of Q1$3,000,000 / $300,00010:1
2. Revenue ROI after 90 days (2 deals closed at $50,000 each)($100,000 - $300,000) / $300,000-67%
3. Revenue ROI after 12 months (8 of 40 won, at $50,000 each)($400,000 - $300,000) / $300,00033%
4. Gross profit ROI after 12 months($400,000 x 0.78 - $300,000) / $300,000 = ($312,000 - $300,000) / $300,0004%
5. Incremental gross profit ROI (a holdout shows 2 of the 8 deals would have closed anyway)($312,000 x 0.75 - $300,000) / $300,000 = ($234,000 - $300,000) / $300,000-22%
6. Incremental gross profit ROI over three years (90% gross revenue retention)Revenue $400,000 + $360,000 + $324,000 = $1,084,000. Then $1,084,000 x 0.78 x 0.75 = $634,140, and ($634,140 - $300,000) / $300,000111%
7. The inflated version: $1,000,000 of influenced revenue over media cost only($1,000,000 - $150,000) / $150,000567%
Read the table top to bottom. The same program shows up as 567% or as -22%, and both use "the marketing ROI formula." Only the inputs changed.

Three things moved the number. Deals closed at $50,000, not the $75,000 in pipeline. Revenue became gross profit. And a quarter of the wins would have come anyway. The program still pays back, but over three years, not one quarter. Put lines 4 to 6 in front of a CFO. Show line 1 as the early signal it is. Never show line 7.

Why does marketing ROI look low in B2B at first?

Because the cost lands in one quarter and the revenue lands over the next several. Measure too early and a good program looks like a loss.

Pete Furseth, ORM's COO, sees the lag in customer data every quarter:

- Pipeline is built well ahead of the quarter. Pipeline for a future quarter is often built 6 to 12 months before that quarter starts. The spend that fills Q3 pipeline often went out in Q1 or earlier. - Most deals close inside a year. ORM groups opportunities with a machine learning model and predicts a time-to-close curve for each group. The curves run from 1 to 80 weeks. Most of the expected closes land before week 12, and very few groups have any past week 52. - Most day-one pipeline does not close that quarter. Of the pipeline value with a close date in the quarter on day one, about 20% usually closes in that quarter. The other 80% slips or is lost. - Pipeline amounts run high. Most deals close for less than their value in the CRM. Pete's example: a pipeline where the average deal is $80,000, while closed-won deals average $40,000. Pipeline ROI built on the first number is double the truth.

The wider market points the same way. The median B2B sales cycle is 84 days and has grown 22% since 2022 (Optifai, 2026). And the median SaaS company spends $2.00 on sales and marketing for each $1.00 of new ARR (Benchmarkit, 2025). On those numbers, year-one revenue does not cover the full cost, which is why the window you pick matters so much.

Why the marketing ROI formula matters for revenue teams

Only 52% of senior marketing leaders say they can prove marketing's value and get credit for it (Gartner, 2024). In budget-constrained environments, the team that can demonstrate ROI gets funded. The one that cannot gets cut.

The formula also shows where to move money. Work it out by channel and the spread is often wide: some channels return several dollars of gross profit per dollar spent, and others lose money. Moving budget from the losers to the winners is the cheapest way to lift what marketing adds to revenue.

The formula has a limit, though. It looks back. "Attribution helps explain what happened," Pete says. "It does not necessarily tell you what will happen if you change the plan." Questions like "what happens if we move another $500,000 into this channel?" need forecasting, scenario models and marketing mix modeling. ROI tells you where the last dollar went. Those tools tell you where the next one should go.

How to apply the marketing ROI formula effectively

- Use marketing attribution to assign revenue to marketing. The formula requires "revenue attributed to marketing" as an input. Without an attribution model, you cannot calculate it. Implement at least a multi-touch attribution model to distribute credit across channels. - Calculate ROI by channel as well as in total. A blended ROI hides the spread between channels. One channel can return several times its cost while another loses money, and the blend looks fine. Only channel-level math shows where to move budget. - Include fully loaded costs. Marketing cost should include media spend, tool subscriptions, agency fees, and team salaries allocated to the channel. Calculating ROI on media spend alone inflates the result and misrepresents the true investment. - Measure at more than one point in time. Check ROI at 90 days, 12 months, and over the customer's lifetime. In the worked example above, the same program reads -67% at 90 days and 111% over three years. See ROI tracking for time-horizon methods.

Common mistakes with the marketing ROI formula

Most of these mistakes push ROI up, not down. That is why a CFO tends to discount a marketing ROI slide on sight.

Using revenue instead of gross profit. Revenue still has to pay for hosting, support and delivery. ROI on revenue overstates the return by the full cost of what you sold. Counting media spend only. People, tools, agencies and overhead are real costs. Leave them out and ROI goes up with no change in results. Ask finance for a loaded cost per head and add it. Double counting across channels. Each channel tool claims the same closed deal. Add the channel numbers and they come to more than total revenue. Only 29% of marketers are extremely confident in their attribution (Ascend2, 2024). See attribution double counting for how to reconcile it. Calling influenced revenue sourced. Influenced revenue counts every deal that marketing touched at any point. Label it as such. Do not put it in the formula as if marketing made those deals. Treating pipeline as revenue. Pipeline amounts are a seller's hope. Use closed-won amounts, or cut pipeline down to what your history says will close. Taking credit for deals that would have closed anyway. Some buyers were coming regardless. Run a holdout or geo test to find the true lift. Incrementality measurement covers how, and the marketing ROI benchmarks page covers which published ROI figures to trust. Attributing all revenue from a customer to marketing. If marketing generated the lead but the deal was $300K because the sales team expanded the scope during negotiation, marketing does not get credit for the full $300K. Use attribution-weighted revenue, not total closed-won amount, for the numerator. Ignoring the time value of investment. $200K spent in January that generates $1M in December has a different real ROI than $200K spent in January that generates $1M in March. Factor in the time between spend and return, especially when comparing channels with different conversion timelines.

Frequently Asked Questions

What is the basic marketing ROI formula?

Marketing ROI = (revenue from marketing - marketing cost) / marketing cost x 100. Spend $100,000 and bring in $400,000, and ROI is 300%. That is the revenue version. For budget calls, swap revenue for gross profit, since revenue still has to pay for the cost of delivering the product. Count the full cost too: media, agency fees, tools, and the time of the people who ran it.

What does ROI stand for in marketing?

ROI stands for return on investment. The general formula is (gain - cost) / cost x 100. In marketing, the gain is the revenue or gross profit that marketing produced, and the cost is everything spent to produce it. A result of 0% means you got your money back and nothing more. A negative result means the program lost money over the window you measured.

What is the difference between ROI and ROAS?

ROAS is ad revenue divided by ad spend, shown as a ratio such as 3:1. ROI subtracts the cost first, and it counts every cost, from media to people. A 3:1 ROAS equals a 200% revenue ROI on media spend alone, before people, tools, creative or margin. Use ROAS to tune one paid channel. Use ROI to decide if marketing as a whole earns its budget.

Should marketing ROI use revenue or pipeline?

Track both, and label them. Pipeline ROI, written as pipeline created per dollar spent, is the early read you can report inside the quarter. Revenue or gross profit ROI is the number finance trusts. Pipeline closes for less than its listed value, and much of it slips. A high pipeline ratio with a low revenue ROI means marketing is creating pipeline that does not close.

What is a good marketing ROI for B2B SaaS?

Treat rules of thumb like 5:1 with care, since they rarely say how they were measured. A better test is whether a program returns more gross profit than it costs over a window that fits your sales cycle. For context, Benchmarkit's 2025 data puts the median SaaS company at $2.00 of sales and marketing spend per $1.00 of new ARR, so year one rarely covers the full cost.

How do you calculate marketing ROI in Excel?

Put the return in one cell and the cost in the next. If the return is in B2 and the cost is in C2, enter =(B2-C2)/C2 and format the cell as a percent. For the gross profit version, add the margin in D2 and use =(B2*D2-C2)/C2. Keep one row per channel or program so you can compare them side by side.

Put these metrics to work

ORM builds custom revenue forecast models that turn concepts like marketing roi formula into prescriptive action for your team.

Schedule a Demo