Design library

Real web page examples

Sites with outstanding design, measured and documented. Each entry brings colors with hex codes, typography, spacing and a design.md to copy.

  • 62 designs in 20 categories
  • compact and extended design.md
  • To inspire you and your AI
Explore the library

Free resources

See all 11 resources
Reports and benchmarksData with sourcesPublic figures to decide.
Calculators and assessmentMeasure your numbersCalculate and compare.

How to Measure Digital Marketing ROI: Formula, Data and Common Mistakes

Por

·

· Actualizado

ROI del marketing digital: guía de Cuva Lab

Short answer

Digital marketing ROI is the relationship between the profit that marketing actions generate and their total cost. You calculate it by subtracting the investment from the attributed revenue, dividing by the investment and expressing the result as a percentage, using spending data, sales data and the source of each customer. In B2B it is complemented with leading metrics because of long sales cycles.

Management asks how much return digital marketing delivers and many teams answer with visits, followers or clicks. Those figures do not answer the question. The spending has to be connected to sales.

This guide explains how to calculate digital marketing ROI: which costs and which revenue to include, how to attribute sales to channels, how to handle long cycles and which mistakes to avoid.

For the overview of indicators, review the digital marketing metrics. For the general framework, read the digital marketing services guide.

digital marketing ROI: the essentials of this guide

What digital marketing ROI is

ROI means return on investment. In digital marketing it compares what you earn thanks to your actions with what you spent on them. A positive ROI indicates that marketing generated more than it cost.

Digital marketing ROI compares profit with total cost.

It is a measure of profitability, not of activity.

The basic formula

ROI = (revenue attributed to marketing minus marketing cost) divided by marketing cost, multiplied by one hundred. If you spend ten thousand and attribute thirty thousand in sales, the ROI is two hundred percent.

Digital marketing ROI is calculated with a simple formula.

The figures are illustrative to show the calculation.

ROI, ROAS and other measures

ROAS divides revenue by advertising spend and does not include other costs. ROI includes all costs and uses margin instead of revenue. Other useful measures are cost per customer and customer value.

Use each one with clarity about what it measures.

Revenue or margin

Measuring with revenue is easy, but a low-margin product gives a misleading ROI. If possible, use the gross margin of the attributed sales. That way the calculation reflects the real profit.

Ask finance for margins by product line.

Costs you should include

Add advertising, agency and consultant fees, marketing team salaries, tools, content production, design, events and a share of overhead. Leaving out costs inflates ROI.

For digital marketing ROI, add up all marketing costs.

Document what you include so you can compare across periods.

Revenue attributable to marketing

These are the sales from customers whose source or influence is tied to marketing actions. They require the CRM to record the source of each contact and sales to update the status of opportunities.

Digital marketing ROI requires recording the source of each sale.

Without that record, the calculation is a guess.

What data you need

You need spending by channel and by month, contacts by channel, opportunities, closed sales with their source, the value of each sale, margin and the dates of each stage. The data must be in a CRM and in a spending sheet.

See the article on the CRM for B2B companies.

Setting up measurement

Tag each campaign with parameters, record conversion events on the site, connect forms with the CRM and define a list of standard sources. Cleaning the data takes more time than the calculation.

Review the web analytics service.

Attribution: which channel gets the sale

A B2B customer usually goes through several touchpoints: search, content, email, event and call. Attribution models split the credit: first touch, last touch or several points.

None is perfect. Choose one and use it consistently.

Attribution with the customer’s answer

Add an open question to the form about how they learned about your company. The answers show channels that tools do not see, such as recommendations, podcasts or conversations. Compare with the CRM data.

Both sources complement each other.

The long sales cycle problem

In B2B, a sale closes six or twelve months after the first contact. An ROI calculated month by month underestimates the recent effect and attributes sales to old actions. Use cohorts.

Digital marketing ROI in long cycles is measured by cohorts.

Group contacts by month of capture and follow their sales.

Leading metrics

While sales mature, watch qualified opportunities, meetings, proposals sent, cost per opportunity and advance between stages. They anticipate the return and let you correct in time.

Digital marketing ROI is anticipated with opportunities and meetings.

Define with sales which stage counts as an opportunity.

ROI by channel

Calculate the ROI of search, social, email, content, events and referrals separately. You will see that some channels give quick return and others build assets that pay off later. Do not judge them by the same standard.

Calculate digital marketing ROI by channel.

Organic channels take longer to mature.

ROI of content and SEO

Content and SEO accumulate effect. Evaluate the total production cost and the accumulated attributed revenue over twelve to twenty-four months. An article published today keeps bringing visits a year from now.

Compare with the cost of buying those visits with ads.

ROI of paid advertising

Advertising offers fast data: cost per click, per contact and per opportunity. Make sure ROI includes management fees and ad production. Pause what does not perform after a well-run test.

Use real sales data to optimize.

ROI of events and webinars

Add registration, travel, materials, team time and follow-up. Link the event contacts with later opportunities and sales. An event takes months to show its return.

Tag each attendee with their source.

Customer value over the relationship

A small initial sale is the start of a long relationship. If your model includes renewals or expansions, use the customer value over the relationship and not only the first purchase.

This changes how you read the return.

Example with illustrative figures

A company invests twenty thousand in marketing over a semester. It generates forty opportunities, closes eight and each sale leaves a margin of six thousand. The total margin is forty-eight thousand. The ROI is one hundred forty percent. The cost per customer is two thousand five hundred.

The figures are illustrative and not a market reference.

How to present ROI to management

Show a table with investment, contacts, opportunities, sales, margin, ROI and cost per customer by channel. Add a sentence with the decision you propose. Explain the attribution assumptions.

Avoid figures without context.

What to do with a low ROI

A low ROI does not always mean closing a channel. Analyze the message, the offer, the landing page, the segmentation and the sales follow-up. Test improvements during a defined period before deciding.

Reallocate the budget to the channel that performs best.

What to do with a high ROI

A high ROI in a small channel does not guarantee it will scale with more investment. Increase the budget gradually and watch the cost per opportunity. Each channel has a saturation point.

Document which conditions made it work.

Review frequency

Review costs and opportunities every month. Calculate ROI by cohorts every quarter and do a full evaluation at year end. Note the strategy changes that affect comparisons.

A sheet shared with sales makes the process easier.

Useful tools

A CRM, a spending sheet, web analytics and a dashboard are enough to start. With more volume, add attribution tools. See the official help for Google Analytics.

The tool matters less than the discipline.

Frequent mistakes

The most common mistakes are measuring with visits, leaving out costs, not recording the source of sales, judging slow-maturing channels with one month of data, confusing ROAS with ROI and not involving sales and finance.

Another mistake is chasing a single figure and forgetting the context.

What ROI does not show

ROI does not fully capture the value of the brand, trust or future preference. Complement it with surveys, mentions and brand searches. Use it as a guide, not as an absolute truth.

Combine figures with judgment.

Illustrative example of a quarterly report

Imagine a software company that presents a report with four tables: investment by channel, opportunities by channel, sales by cohort and ROI. It closes with three decisions: increase search, improve a webinar page and pause a low-response channel.

It is an illustrative example of the structure and not a promise of results.

Plan to start this week

Take four steps. Gather your marketing expenses for the last six months. Export the sales with their source from the CRM. Calculate the ROI of one channel with the formula. Note which data was missing so you can improve it next month.

To measure digital marketing ROI, gather your expenses for the last six months.

With that you start your own measurement.

Frequently asked questions

How is digital marketing ROI calculated?

Subtract marketing costs from attributed revenue, divide by the costs and multiply by one hundred.

What is the difference between ROI and ROAS?

ROAS divides revenue by advertising spend. ROI includes all marketing costs.

How is it measured in long sales cycles?

With cohorts of contacts and with leading metrics such as opportunities, meetings and cost per opportunity.

What data do I need?

Spending by channel, contacts, opportunities, sales with their source, value, margin and dates of each stage.

How often is it reviewed?

Costs and opportunities every month, ROI by cohorts every quarter and a full evaluation each year.

Written by

Newsletter

A practical guide in your inbox

Every week, one clear idea to help your website attract clients: SEO, pricing, stores and conversion. No filler, and you can unsubscribe anytime.

Get a website quote

Want us to do it for you?

Tell us about your business and we reply on WhatsApp with a clear proposal and a price in USD.

  • Websites from $349 USD and stores from $549 USD
  • Delivery date confirmed in writing
  • Built for Google and AI assistants

Want us to create your brand?

Complete logo and brand kit for your website, your social media and your documents.