Blog · Marketing
ROI in Marketing: What It Is, the Formula and How to Calculate It with Examples
Is your marketing spend making you money or just costing you? That's the question ROI answers. It's one of the most important metrics for any business, because it moves the conversation from “likes” and “reach” to something that really matters: profitability. In this guide we explain what ROI is, what its formula is, how to calculate it step by step and which mistakes to avoid when measuring it.

What is ROI?
ROI stands for Return on Investment. It's a metric that measures how much you earned (or lost) relative to what you invested. It's usually expressed as a percentage.
If your ROI is positive, the investment generated more than it cost. If it's negative, you lost money. And if it's zero, you recovered exactly what you invested.
ROI is used in finance, operations and projects of all kinds, but it's especially useful in marketing because it lets you compare channels, campaigns and vendors using the same yardstick.
ROI formula
The basic formula is:
ROI = (Profit − Investment) / Investment × 100
Where:
- Profit: the revenue attributable to the marketing action. Ideally use gross profit (revenue minus the cost of the product or service), not total sales.
- Investment: everything the action cost: ad spend, agency fees, content production, tools and team time.
How to calculate ROI step by step
- Define the period. For example, one month or a full campaign.
- Add up the total investment. Include ad spend, agency, production and tools.
- Identify attributable sales. Use your CRM, discount codes, forms or WhatsApp messages tagged by campaign.
- Calculate the profit. Subtract the cost of the product or service from those sales.
- Apply the formula. Subtract the investment from the profit, divide by the investment and multiply by 100.
ROI examples in marketing
Example 1: a Meta Ads campaign for a clinic
A clinic invests $20,000 MXN in one month: $12,000 on ads and $8,000 on agency and content. Thanks to the campaign, 40 new patients arrive, each leaving an average of $1,500 in profit. The total profit is $60,000.
ROI = ($60,000 − $20,000) / $20,000 × 100 = 200%.
In other words, for every peso invested, the clinic got that peso back and earned two more.
Example 2: an online store with Google Ads
A store invests $30,000 and sells $45,000. But its products cost $27,000. The gross profit is $18,000.
ROI = ($18,000 − $30,000) / $30,000 × 100 = −40%.
Even though sales exceeded the investment, the campaign lost money. That's why it's so important to calculate with profit and not total sales.
ROI vs. ROAS: what's the difference?
ROAS (Return on Ad Spend) measures how much you sell for every peso invested in ads. Its formula is sales divided by ad spend. If you invest $10,000 and sell $40,000, your ROAS is 4.
The key difference:
| Metric | What it measures | What it considers |
|---|---|---|
| ROAS | Ad efficiency | Only sales and ad spend |
| ROI | Real profitability | Profit and total investment (ads, agency, production) |
ROAS is useful for optimizing campaigns day to day. ROI tells you whether the business is actually making money.
How to tell which channel each sale came from
To calculate ROI by channel you need to know where each customer came from. Without that information, the final number is an estimate. These practices help you attribute better:
- UTM parameters on all your links. That way Google Analytics can tell whether a visit came from Instagram, a Google ad or an email.
- Conversions set up. Record every submitted form, WhatsApp click and call from the website as a conversion.
- A number or message per campaign. A different prefilled text on each WhatsApp button (for example, “I saw your Facebook ad”) lets you know which campaign started the conversation.
- A CRM with lead source. Every contact should record the channel they came from, so when the sale closes you can tie it to the investment that generated it.
- Ask the customer. A simple “How did you hear about us?” when booking or paying complements the digital data, especially when word-of-mouth referrals are involved.
With this data you can calculate ROI by channel and discover, for example, that Google Ads brings you fewer leads than Instagram, but they close at twice the rate.
Other metrics that complement ROI
- Customer acquisition cost (CAC): how much it costs you to win a new customer.
- Customer lifetime value (LTV): how much a customer is worth to you over their entire relationship with you. If a patient comes back several times a year, their value is greater than the first visit.
- Cost per lead (CPL): how much you pay for each interested person who leaves their details or messages you on WhatsApp.
- Conversion rate: the percentage of leads who become customers.
When LTV is much higher than CAC, you can invest with more confidence, even if the ROI on the first purchase looks low.
Common mistakes when measuring ROI
- Forgetting costs. If you only count ad spend and not the agency, production or tools, your ROI looks inflated.
- Using sales instead of profit. As you saw in example 2, it can hide losses.
- Not attributing correctly. If you don't know which campaign each customer came from, the calculation is a guess. A CRM and channel tags solve this.
- Measuring too early. SEO and content take months to mature. Judging them at three weeks leads to bad decisions.
- Ignoring long-term value. A customer who buys every month is worth far more than their first purchase.
How to improve the ROI of your campaigns
- Target better. Reach the people who can actually buy, not everyone.
- Improve your website or landing page. More conversions from the same traffic improves your return on investment right away.
- Reply fast. A lead who waits hours for an answer goes cold. An AI assistant on WhatsApp can reply in seconds and book appointments.
- Follow up. Many customers don't buy on first contact. A CRM keeps them from slipping away.
- Test and adjust. Change creatives, messages and audiences based on data, not hunches.
Conclusion
ROI tells you whether your marketing is an investment or an expense. Calculating it well means counting all costs, using profit instead of sales and attributing each customer to their channel. With that data you can decide where to invest more and what to stop doing.
Measure your marketing ROI with Andrómeda
At Andrómeda we work with measurable goals. We combine content, Meta and Google ads, websites that convert and an AI-powered CRM that records where each lead comes from.
Contact us and book a free consultation. We'll review your current campaigns and show you where your investment is going and how to improve your ROI.
Learn more about Meta Ads advertising.
WhatsApp: +52 81 2468 7896