What is ROI in digital marketing? Formula, examples and how to measure it

Marketing ROI (Return on Investment) is a financial indicator that measures the profitability of an investment in campaigns or marketing actions, comparing the revenue generated with the total cost invested (Amazon Ads, 2025; Expand Latam, 2023).

Unlike metrics focused solely on visibility or engagement (such as impressions, clicks or likes), ROI translates those actions into economic results, allowing you to know whether the money allocated to marketing actually returns to the business as revenue (Universitat Carlemany, 2026).

In other words, ROI answers a very simple question: "for every unit of money I invest in marketing, how much do I get back?" (Sociment, 2025).

The basic marketing ROI formula

The most widely used formula to calculate the ROI of a marketing campaign is (Amazon Ads, 2025; Mailchimp, 2025):

ROI = ((Revenue − Marketing Cost) / Marketing Cost) × 100

Where:

  • Revenue: sales generated attributable to the campaign.
  • Marketing cost: sum of all associated costs (paid media, creative production, agency fees, tools, personnel, etc.).

If the result is greater than 0, the campaign has been profitable; an ROI of 0 indicates you only recovered the investment; a negative ROI signals losses (Sociment, 2025; Expand Latam, 2023).

Practical example of ROI calculation

Imagine you launch a campaign with the following data:

  • Total marketing cost: $1,000.
  • Revenue generated by the campaign: $3,000.

Applying the formula:

ROI = (($3,000 − $1,000) / $1,000) × 100 = 200%

In this case, the ROI is 200%: for every $1 invested, you recovered your initial $1 and earned $2 in additional profit (Sociment, 2025; Amquest Education, 2026).

Why is measuring ROI so important in marketing?

Various guides and studies agree that ROI is one of the most relevant KPIs for evaluating the real impact of marketing on a business (Universitat Carlemany, 2026; Inesdi, 2025). Its main benefits are:

Evaluate campaign profitability

It allows you to know whether a specific action generates more benefits than costs and to compare across different campaigns, channels or periods (Expand Latam, 2023; Amazon Ads, 2025).

Justify the marketing budget

Showing the ROI makes it easier to defend investments to management or clients, demonstrating with data what return the company is getting for its marketing spend (Universitat Carlemany, 2026; Inesdi, 2025).

Optimise resource allocation

By comparing ROI across channels (for example, search engine campaigns, social media or email marketing), you can redirect budget towards the tactics that generate the highest return (Expand Latam, 2023; O8 Agency, 2020).

Make data-driven decisions

ROI, combined with other indicators, helps reduce guesswork and increase the weight of data in decision-making (Universitat Carlemany, 2026; Humblytics, 2026).

What data do you need to calculate ROI?

To correctly calculate the ROI of a campaign, you need to collect at least these elements (Sociment, 2025; Expand Latam, 2023):

  • Total campaign investment: includes paid media, agency fees, tools, attributable work hours, creative production, etc.
  • Revenue attributable to the campaign: sales or profits generated during the period analysed that can reasonably be linked to that action.
  • Analysis period: define from when to when you will measure, to avoid mixing results from different campaigns.

In a more advanced approach, some guides recommend adjusting the formula by subtracting organic sales growth (what would have happened without the campaign) or using gross/net profit instead of gross revenue, to avoid inflating the ROI (Amazon Ads, 2025; Improvado, 2018).

ROI variants: more advanced models

In contexts where the cost structure is complex or the sales cycle is long, it can be useful to refine the simple ROI.

Some common variants:

  • Gross-profit-based ROI: "revenue" is replaced by "gross profit", subtracting the cost of goods sold (COGS) first — common in physical product businesses (Abacum, 2020; Improvado, 2018).
  • ROI adjusted for organic growth: the sales increase due to organic factors (without the campaign) is deducted (Amazon Ads, 2025; Humblytics, 2026).
  • Funnel-level ROI: metrics on customer acquisition cost (CAC), customer lifetime value (LTV) and conversion rates per stage are combined to understand not only the final result, but which parts of the funnel contribute the most return (Amazon Ads, 2025; O8 Agency, 2020).

Relationship between ROI, CAC and other KPIs

ROI is rarely analysed in isolation — it's typically examined alongside other financial and performance indicators.

Some of the most relevant include:

  • CAC (Customer Acquisition Cost): the average cost of acquiring a new customer; calculated by dividing total sales and marketing spend by the number of new customers (Amazon Ads, 2025).
  • LTV (Lifetime Value): estimates how much revenue a customer will generate throughout their entire relationship with the company (O8 Agency, 2020; Humblytics, 2026).
  • Conversion rate and CPA: they help to understand how revenue is achieved, what percentage of users end up buying and how much is paid per conversion (Sociment, 2025; Universitat Carlemany, 2026).

Truly sustainable marketing typically seeks an LTV several times higher than CAC and a consistently positive ROI over time (Humblytics, 2026).

Common mistakes when measuring marketing ROI

Sources agree on several common errors that distort ROI calculation (Investopedia, n.d.; Mailchimp, 2025; Inesdi, 2025):

Not including all relevant costs

For example, counting only the paid media investment and forgetting the agency cost, tools or internal team.

Unrealistic attribution

Assigning all sales in a period to a single campaign, without considering other channels or actions that influenced the customer's decision.

Measuring over too-short periods

Especially in long sales cycles, a very short analysis period can undervalue the real ROI because many sales materialise later (O8 Agency, 2020; Bancolombia, n.d.).

Confusing ROI with ROAS

ROAS (Return on Ad Spend) compares ad revenue with ad spend without subtracting other costs, while ROI aims to reflect net profit (Sociment, 2025; Expand Latam, 2023).

How to improve the ROI of your campaigns

Marketing literature and case studies propose several levers to improve ROI (O8 Agency, 2020; Inesdi, 2025; Mailchimp, 2025):

Optimise conversion rates

Small improvements in the conversion rate (for example, from 2% to 3%) can have a greater impact than simply increasing traffic, because the additional cost is minimal. A/B testing on landing pages is one of the most common tactics.

Reduce your cost per acquisition (CPA)

By testing creatives, refining audience targeting and using retargeting strategies, you can reduce the cost of each conversion without increasing the total budget.

Focus budget on the best-performing channels

Not all channels deliver the same ROI. Periodic analysis of ROI by channel reveals where your investment works hardest, allowing budget reallocation from underperforming channels.

Increase customer lifetime value (CLV)

Retention strategies — email nurturing, loyalty programmes, upselling — increase the total revenue each customer generates, improving ROI without increasing acquisition costs.

Use proper attribution models

Moving from last-click attribution to data-driven or multi-touch models gives a more realistic picture of which touchpoints actually drive revenue.

Conclusion

Marketing ROI is, in essence, the definitive metric for knowing whether your marketing investment pays off. Its value lies not only in the result it yields, but in the strategic discipline it imposes: defining objectives, measuring costs comprehensively, attributing revenue honestly and adjusting continuously.

By combining the basic ROI formula with more advanced analysis (profit-adjusted ROI, LTV/CAC ratios, channel-level breakdowns) and avoiding common pitfalls, you can transform marketing from a cost centre into a profit engine backed by verifiable data.

Calculate and optimise your ROI

References (APA format)

  • Abacum. (2020). How to calculate marketing ROI. Abacum. https://www.abacum.io
  • Amazon Ads. (2025). What is ROI in marketing? Amazon Advertising. https://advertising.amazon.com
  • Amquest Education. (2026). ROI in digital marketing explained. Amquest Education.
  • Expand Latam. (2023). ROI en marketing digital: qué es y cómo calcularlo. Expand Latam.
  • Humblytics. (2026). Marketing ROI: The ultimate guide. Humblytics.
  • Improvado. (2018). Marketing ROI formula and how to calculate it. Improvado. https://improvado.io
  • Inesdi. (2025). Cómo medir el ROI en marketing digital. Inesdi Business Techschool.
  • Investopedia. (n.d.). Return on Investment (ROI). Investopedia. https://www.investopedia.com
  • Mailchimp. (2025). What is marketing ROI? Mailchimp. https://mailchimp.com
  • O8 Agency. (2020). How to calculate and improve marketing ROI. O8 Agency.
  • Sociment. (2025). ROI de marketing: guía completa. Sociment.
  • Universitat Carlemany. (2026). ¿Qué es el ROI y cómo funciona? Universitat Carlemany.