Measurement · 4 min read

How to measure ROI in digital marketing

Stop reporting likes. How to track leads, sales and return on ad spend so every dollar is accountable, with a calculator you can use now.

In short
  • ROI = (gross profit from marketing - cost of marketing) ÷ cost of marketing.
  • ROAS only compares revenue with ad spend. A campaign can show a strong ROAS and still lose money.
  • You can't measure ROI without conversion tracking and a way to connect leads to sales.
  • For long sales cycles, track each stage and close the loop with your CRM.

The formulas you need

MetricFormulaWhat it tells you
ROI(gross profit - marketing cost) ÷ marketing costWhether marketing made money after all costs
ROASrevenue ÷ ad spendHow much revenue each ad dollar brought in
Cost per lead (CPL)ad spend ÷ leadsWhat an enquiry costs
Cost per acquisition (CPA)marketing cost ÷ new customersWhat a new customer costs
Conversion rateconversions ÷ visitors or leadsHow well a page or sales process converts
Customer lifetime value (LTV)average order × orders per year × years retainedWhat a customer is worth over time

Marketing cost means everything: ad spend, agency or freelancer fees, and tools. Gross profit is revenue minus the cost of delivering what you sold. Some people calculate ROI on revenue instead; using gross profit is stricter and closer to what your accountant will see.

ROI vs ROAS, and why the difference matters

ROAS is the number ad platforms like to show you, because it only counts ad spend and revenue. ROI is the number your accountant cares about.

Take a campaign that spends $1,000 on ads and produces $5,000 in sales. That's a ROAS of 5, which looks excellent. Now add the rest:

  • The gross margin is 30%, so the sales produced $1,500 in gross profit
  • Management fees were $800, so the total marketing cost was $1,800
  • ROI = ($1,500 - $1,800) ÷ $1,800 = -17%

The campaign lost money. A ROAS target only makes sense once you know your margin. With a 30% margin and these fees, this business needs a ROAS of 6 just to break even.

Set up tracking before you measure anything

ROI is only as good as the data behind it. Before you report on it, make sure you have:

  • Conversion tracking in Google Ads and Meta for every lead action: forms, calls and WhatsApp clicks
  • Google Analytics 4 with key events set up for the same actions
  • UTM tags on every link in ads, emails and social posts
  • A CRM or spreadsheet recording each lead's source and whether it became a customer
  • Offline conversions imported back into the ad platforms, so they can optimise for sales rather than form fills

Want ROI reporting you can trust?

We fix tracking before we touch a campaign.

Strategy & consulting →

Measuring long sales cycles

Property, education and B2B services can take weeks or months to close. Waiting for final sales before judging a campaign leaves you guessing in between.

Track each stage instead, and give each one a value based on how often it leads to a sale. For a property developer the stages might be enquiry, site visit, reservation and deposit. If one in five site visits leads to a $5,000 deposit, each visit is worth about $1,000 in expected deposits. That lets you judge a campaign within weeks, then confirm it against actual sales.

Vanity metrics vs outcome metrics

Vanity metricOutcome metric to report instead
Reach and impressionsQualified leads
Likes and followersBookings, applications or orders
Clicks and click-through rateCost per lead and cost per customer
Video viewsRevenue and gross profit by campaign

Vanity metrics still have a use: they help diagnose problems inside a campaign. They just shouldn't be the headline of a report.

ROI calculator

Enter your own numbers. The example figures show a campaign that pays for itself.

Customers8
Revenue$7,200
Gross profit$2,880
Cost per lead$12.50
Cost per customer$225
ROAS7.2
ROI60%

Example figures. ROI here uses gross profit after all marketing costs.

What a monthly ROI report should show

  • Ad spend and total marketing cost for the month
  • Leads and cost per lead, by channel and campaign
  • How many leads became customers, and what they spent
  • ROI and ROAS, with the margin you've assumed stated
  • What changed this month and what will change next month

Questions

What is a good marketing ROI?

Any ROI above zero after all costs means marketing made money. What counts as good depends on your margins and how long customers stay with you: a campaign that only breaks even on the first sale can be very profitable over a customer's lifetime.

How do I measure ROI on social media?

The same way as any other channel. Track leads and sales from social ads and posts with conversion tracking and UTM tags, then compare the gross profit with the cost.

What if sales happen offline or on WhatsApp?

Record the source of each WhatsApp chat or call in your CRM, then match sales back to it. Google Ads and Meta both let you upload offline sales so their algorithms can optimise for them.