How to calculate marketing ROI with and without gross margin, worked examples, ROI vs ROAS vs ROMI, ROI by channel and the ROI of AI visibility.

In short
marketing ROI measures the profit a marketing action brings back for each unit of money spent on it. The reliable formula is (revenue attributed to marketing × gross margin − marketing cost) ÷ marketing cost; using revenue instead of margin overstates the result. A positive ROI means the action pays for itself, but the figure is only as good as the attribution behind it and the time window you choose: SEO and content take months to pay back, paid ads pay back in days and stop when the budget stops.
Want to go further? Ask
Marketing ROI is the number finance asks for and marketing struggles to give. The formula is simple; the difficulty lies in deciding which revenue comes from which action, over which period, and whether that revenue would have happened anyway. Marketing budgets stayed almost flat at 7.8% of company revenue in 2026, according to Gartner's annual CMO Spend Survey (401 marketing leaders surveyed from January to March 2026), so every channel has to justify its share. This guide gives the formulas, worked examples, the differences between ROI, ROAS and ROMI, and how to read ROI channel by channel.
Marketing ROI (return on investment) is the ratio between the profit generated by a marketing action and its cost. A ROI of 200% means that each $1 spent brought back $2 of profit on top of the $1 recovered. A ROI of 0% means the action paid for itself and nothing more; a negative ROI means it lost money.
Marketing ROI is used for three decisions: whether to keep an action, how to split the budget between channels, and how much to invest next year. Our guide to the marketing budget covers the third question in detail.
Marketing ROI = (attributed revenue − marketing cost) ÷ marketing cost × 100
It is quick but misleading: it treats all revenue as profit, while the business still has to pay for the products, delivery and support behind that revenue.
Marketing ROI = (attributed revenue × gross margin rate − marketing cost) ÷ marketing cost × 100
This is the version to present to finance. It matches the definition of return on marketing investment given by Wikipedia's ROMI article: contribution to profit attributable to marketing, net of marketing spending, divided by the marketing spending.
An online store spends $10,000 on a campaign (media, creation and tools included) and attributes $40,000 of sales to it. Its gross margin is 50%.
| Calculation | Formula | Result |
|---|---|---|
| ROI on revenue | (40,000 − 10,000) ÷ 10,000 | 300% |
| ROI on gross margin | (40,000 × 0.5 − 10,000) ÷ 10,000 | 100% |
| ROAS | 40,000 ÷ 10,000 | 4 (or 400%) |
| Break-even ROAS | 1 ÷ 0.5 | 2 |
The same campaign shows 300% or 100% depending on the formula. With a 50% margin, any ROAS below 2 loses money even though it looks positive. Our free ROAS calculator gives the break-even point for your own margin.
Count everything the action requires: media spend, agency or freelance fees, software, production (visuals, video, writing) and the internal time spent on it. Leaving out salaries and tools is the most common way to inflate a ROI. For organic channels, where there is little or no media spend, these costs are almost the whole investment.
| Indicator | Formula | What it measures | When to use it |
|---|---|---|---|
| ROI | (Profit − cost) ÷ cost | Profitability of an investment | Comparing marketing with other investments |
| ROAS | Revenue ÷ ad spend | Revenue per unit of ad spend | Steering paid campaigns day to day |
| ROMI | (Revenue × margin − marketing cost) ÷ marketing cost | Profit generated by marketing spending | Defending the marketing budget |
ROAS ignores margin and every cost other than media. Google Ads defines it as conversion value divided by ad spend: in its help article on target ROAS bidding, $5 in sales for $1 in ad spend equals a 500% target ROAS. A high ROAS can hide a negative ROI if margins are thin; ROAS is a steering metric for performance marketing, ROI and ROMI are business metrics.
Channels do not pay back on the same timeline or with the same cost structure, so comparing their ROI over one month favors the fastest ones.
| Channel | Cost structure | Time to first return | How returns evolve | Main measurement trap |
|---|---|---|---|---|
| Paid search and social ads | Variable, paid per click or impression | Days | Stop when the budget stops | Counting sales that would have happened anyway (branded searches) |
| SEO and content | Mostly fixed: writing, tools, links | First effects usually after 2 to 4 months | Accumulate: articles keep bringing traffic for years | Measuring too early, or over a single month |
| Email marketing | Low: platform plus writing time | Days, once a list exists | Depend on list growth and quality | Attributing to email sales started elsewhere |
| Social media (organic) | Time and content production | Weeks to months | Indirect: awareness, branded search | Judging it only on last-click sales |
| Events and partnerships | High fixed cost per operation | Months (long sales cycles) | Pipeline and relationships | No tracking between contact and signature |
For organic channels, measure ROI over 12 to 24 months and include the traffic that existing pages keep bringing. Our free SEO ROI calculator and content marketing ROI calculator project returns over time rather than on one month. The indicators to follow along the way are listed in our guide to SEO KPIs.
A customer often sees an ad, reads an article, receives an email and then buys. Which action gets the credit? The answer depends on the marketing attribution model. Google Analytics 4 now offers only data-driven attribution and last-click variants: Google's attribution documentation states that the first click, linear, time decay and position-based models have not been available since November 2023. Last click favors the channels that close sales (branded search, email) at the expense of those that create demand (content, social, video).
The real question is what would have happened without the action. Retargeting ads and branded search campaigns often take credit for customers who were going to buy anyway. Holdout tests (a group that does not see the campaign) and before/after comparisons by region measure the real uplift. At the scale of the whole budget, marketing mix modeling estimates the contribution of each channel from historical data.
A first purchase rarely tells the whole story. A campaign that brings customers who reorder for years is worth more than one that brings one-time buyers at the same cost. Calculating ROI on customer lifetime value rather than on the first order changes the ranking of channels; our customer lifetime value calculator gives that figure.
ChatGPT, Gemini and Perplexity now answer purchase questions directly, often citing a few brands and sources. Being cited there has a value that classic ROI tracking misses: many of these answers send no click, and the visits they do send are hidden in generic referral traffic.
Three measurements give a usable estimate:
The investment side is mostly content: pages that answer buyer questions clearly, with sources and data. Sorank's blog article generator writes and publishes those articles for Google and AI on your site, with plans from $49 a month billed yearly on the pricing page, which keeps the cost side of the ROI fixed and known.
A credible marketing ROI uses gross margin, counts every cost, states its attribution model and fits the time window to the channel. Compare channels on margin, over their real payback period, and test incrementality on the biggest budgets: that is what turns ROI from a defensive number into a tool for moving money to what works. Start with your three largest budget lines this quarter.
There is no universal benchmark, because ROI depends on margin, sales cycle and channel. A ROI above 0% on gross margin means the action pays for itself; the useful comparison is between your own channels over the same period and with the same costs included. Be wary of figures computed on revenue rather than margin, which can look high while losing money.
It depends on the channel. Paid ads generate returns within days but stop when spending stops. Email pays back quickly once a list exists. SEO and content usually show first effects after 2 to 4 months and keep bringing traffic for years, so their ROI should be measured over 12 to 24 months.
No. ROAS divides revenue by ad spend and ignores margin and all other costs, while ROI subtracts all costs from the profit generated. A campaign with a ROAS of 3 loses money if the gross margin is below one third, because the break-even ROAS equals 1 divided by the margin rate.
THEY TRIED SORANK BEFORE YOU
