ROAS: return on ad spend, break-even and DAX

How to calculate return on ad spend, attributed revenue divided by ad spend, break-even ROAS from your gross margin, ROAS against ROI, ROAS by campaign and channel, attribution windows and models, the DAX joining ad platform data with orders, and a chart against the break-even line.

Short answer: ROAS (return on ad spend) = revenue attributed to ads / ad spend. A ROAS of 4 (often written 400%) means 4 euros of revenue per euro of ads. Whether that is profitable depends on your margin: break-even ROAS = 1 / gross margin %, so at 40% margin you need a ROAS of 2.5 just to cover the product cost of the sales the ads bring. ROAS uses revenue; ROI uses profit, (gross profit - spend) / spend.

Ad platforms each report their own ROAS, usually generously. Bringing spend and your own orders into one model gives one consistent number per campaign.

How is it calculated?

CampaignSpendAttributed revenueROASGross profit at 40%ROI
Search brand10858.534.0240%
Search generic401203.048.020%
Social prospecting30602.024.0-20%
Social retargeting15755.030.0100%
Total953403.6136.043%
Campaigns in September (k)
02468108.5Search brand5Social retargeting3Search generic2Social prospecting
ROAS by campaign against break-even 2.5

Social prospecting is below break-even on direct revenue, but it may bring customers who buy again later; judge it with lifetime value, not only first-order ROAS.

What is the DAX?

Ad spend comes from the platforms (Date, Campaign, Spend, Clicks, Impressions); orders carry the campaign they are attributed to (from UTM tags or the platform's conversion export):

Ad Spend = SUM ( Ads[Spend] )

Attributed Revenue =
CALCULATE ( SUM ( Orders[Revenue] ), NOT ISBLANK ( Orders[Campaign] ) )

ROAS = DIVIDE ( [Attributed Revenue], [Ad Spend] )

Gross Margin % = 0.40
Break-even ROAS = DIVIDE ( 1, [Gross Margin %] )

Attributed Gross Profit = [Attributed Revenue] * [Gross Margin %]
ROI = DIVIDE ( [Attributed Gross Profit] - [Ad Spend], [Ad Spend] )

Relate both tables to a shared Campaign dimension and the Date table so one slicer filters spend and revenue. Use the real margin per product instead of a fixed 40% when order lines carry cost.

Which attribution should you use?

ModelCredit goes toEffect on ROAS
Last clickthe last ad clicked before the orderfavours retargeting and brand search
First clickthe first ad that brought the customerfavours prospecting
Linearall touches equallyevens out
Data-driventhe platform's model of each touch's effectdepends on the platform
Attribution models

Also fix the attribution window (for example 7 days after a click, 1 day after a view): a longer window raises reported ROAS. Platforms counting the same order each make total attributed revenue larger than real revenue; your own order data, attributed once, avoids double counting.

What goes wrong?

  • ROAS above 1 called profitable. Below break-even ROAS, ads lose money.
  • Brand search inflating the total. People searching your name would often buy anyway; report brand separately.
  • Platform numbers summed. Each platform claims the same orders; attribute in your own data.
  • Revenue before returns. Use net revenue, or high-return campaigns look best.

Where can you check this?

Where do you start?

Join spend and attributed orders on one campaign dimension, add break-even ROAS as a constant line on the bar chart (Analytics pane), and review campaigns below it. Conversion rate shows where the funnel loses buyers.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.