True ROAS is return on ad spend calculated once, under a single rule, from your own order data. To calculate it, divide net revenue from your orders (after tax, shipping and refunds) by total ad spend across every platform for the same period, in one currency and one time zone. Platform attribution windows do not enter the calculation at all.
The metric exists because the ROAS each ad platform reports is calculated by that platform, for that platform, with its own attribution window and its own idea of revenue. Add the platform numbers together and you usually get more revenue than the business booked. This guide shows how to define a true ROAS rule, which data it needs, how to compute it in SQL, and how to run it daily in a warehouse you own.
Why platform ROAS numbers never add up
Every platform answers the question "what did my ads drive?" from its own point of view, and each one is allowed to claim the same order.
- Google Ads reports conversions against the date of the click, and its default click-through conversion window is 30 days (adjustable, up to 90 days depending on the conversion source).
- Meta reports with the ad set's attribution setting, which by default counts conversions within 7 days of a click and 1 day of a view. Since March 2026 Meta counts only link clicks as clicks for website conversions; shares, saves and similar interactions moved to engage-through attribution (formerly engaged-view), which is reported separately.
- Amazon Ads credits sales to ads using Amazon's own attribution, and its API reports offer several windows side by side. The console default depends on the ad product and account type, so check which one your team reads.
- TikTok documents a 7-day click and 1-day view default for pixel and Events API advertisers. The window options have changed over time, so check what your ad groups are set to.
A shopper who clicks a Google ad, sees a Meta video, and buys three days later can be counted as a conversion by both platforms. Neither is lying. They are answering different questions with overlapping evidence. The problem starts when someone adds the two numbers in a spreadsheet and calls the total "ROAS".
Revenue definitions differ too. Platforms usually report the order value passed by the pixel or event at the moment of purchase. That figure often includes tax and shipping, never reflects a refund issued two weeks later, and knows nothing about marketplace fees.
The one ROAS rule: revenue, cost and window defined once
True ROAS starts with a written rule that everyone signs off on. We keep it to four decisions:
- Revenue source: where revenue comes from. For a Shopify store this is the order table, not the pixel. For Amazon it is the marketplace's sales and settlement data, not the ads console.
- Revenue definition: gross or net. We recommend net product revenue: order value minus tax, minus shipping charged (unless shipping is a profit line for you), minus refunds and cancellations.
- Cost: media spend from every platform, in one currency, on the same date basis. Decide up front whether agency fees, tool subscriptions or creative production belong in the denominator. Most teams keep them out of ROAS and put them in a separate fully loaded efficiency metric.
- Window and date basis: revenue is counted on the order date, spend on the spend date, and the metric is reported for a closed period (yesterday, last 7 days, last month). Platform attribution windows do not enter this metric at all.
That last point is the key design choice. Total true ROAS does not try to say which channel caused which order. It compares all the money you made with all the money you spent. Channel-level views come later, and they are labeled as attributed estimates.
The data you need: orders, refunds, fees and spend by platform
The inputs are not exotic, but they live in different systems with different grains.
- Orders: one row per order with order date, store or marketplace, currency, gross value, tax, shipping and discounts. From Shopify, the GraphQL Admin API exposes fields such as
currentTotalPriceSet(after returns),totalRefundedSetandtotalTaxSeton theOrderobject. Shopify made REST a legacy API in October 2024, so new pipelines should use GraphQL. - Refunds: dated separately from the order. Decide whether a refund reduces revenue on the original order date (cleaner for cohort views) or on the refund date (matches finance). Pick one and document it.
- Marketplace fees: for Amazon and other marketplaces, referral and fulfillment fees come from settlement or finance data. They do not belong in ROAS, but you need them for the margin version below.
- Spend: daily spend by platform, account and campaign from each ad API: Google Ads, Meta, Amazon Ads, TikTok, Walmart Connect and any retail media network you run. Keep the platform's own attributed revenue as a separate column; you will still want it for channel comparisons.
- Currency and time zone: convert spend and revenue with one daily FX table, and align every source to one reporting time zone before you aggregate.
This is the same unification problem we described in retail media data unification, applied to a single metric.
Calculating true ROAS step by step (with a SQL sketch)
Here is the logic, step by step:
- Step 1: build a daily revenue table from orders, net of tax and shipping, with refunds applied under your chosen rule.
- Step 2: build a daily spend table from every ad platform, converted to one currency.
- Step 3: join the two on date (and on store or region if you sell in several markets).
- Step 4: divide revenue by spend, and keep the numerator and denominator as columns so anyone can check the math.
A simplified example in warehouse SQL (generic syntax; adjust names to your models):
-- Example only: daily true ROAS from owned order data and all ad spend
with revenue as (
select
order_date,
sum(gross_amount - tax_amount - shipping_amount) as gross_net_revenue,
sum(refund_amount) as refunds
from analytics.fct_orders -- one row per order, refunds allocated to order_date
where order_status not in ('canceled', 'test')
group by order_date
),
spend as (
select
spend_date,
sum(spend_usd) as total_spend
from analytics.fct_ad_spend -- Google, Meta, Amazon, TikTok, Walmart, ...
group by spend_date
)
select
s.spend_date as report_date,
coalesce(r.gross_net_revenue, 0) - coalesce(r.refunds, 0) as net_revenue,
s.total_spend,
(coalesce(r.gross_net_revenue, 0) - coalesce(r.refunds, 0))
/ nullif(s.total_spend, 0) as true_roas
from spend s
left join revenue r on r.order_date = s.spend_date
order by report_date;
Two habits keep this trustworthy. First, store the inputs, not just the ratio: a dashboard that shows revenue, spend and ROAS together lets a finance lead check the number in seconds. Second, test the models. A dbt test that flags days where spend arrived for some platforms but not others will catch most bad ROAS days before anyone sees them. Our data warehouse design guide covers that layer.
Channel views without double counting
Leadership will still ask "what is Meta's ROAS?". Answer it in two clearly separated columns:
- Platform-reported ROAS: the platform's own number, labeled with its window. Useful for in-platform optimization and trend reading.
- Allocated ROAS: your total net revenue allocated across channels by a rule you control (last click from your own data, a share-of-attributed-revenue split, or an MMM estimate). Allocated revenue always sums to the real total.
Margin-aware ROAS and break-even ROAS
Revenue ROAS hides the fact that a dollar of revenue is worth different amounts in different products and channels. Two related numbers fix that.
Contribution margin ROAS replaces revenue with contribution margin: net revenue minus cost of goods, payment fees, fulfillment and marketplace fees. A marketplace sale with a 15% referral fee and fulfillment fees is not worth the same as a DTC sale of the same product.
Break-even ROAS is the revenue ROAS at which ad spend exactly consumes the margin. If contribution margin before advertising is 40% of net revenue, break-even ROAS is 1 divided by 0.40, which is 2.5. Below 2.5, ad spend costs more than the margin it brings in; above it, advertising adds profit. Work it out per product line or channel, because margins differ, and refresh it when costs or fees change.
A worked example: a brand books $100,000 of net revenue in a month on $32,000 of total ad spend. True ROAS is 3.1. With a 40% contribution margin before ads, the month produced $40,000 of contribution, minus $32,000 of spend, leaving $8,000. The ROAS looks healthy, the margin after ads is thin, and the conversation about which campaigns to cut becomes very different.
Where true ROAS gets hard: view-through, halo and retail media
Total true ROAS is simple because it avoids causal claims. The hard cases appear when you push it down to channels.
- View-through credit: platforms that credit views will claim orders that also had a click elsewhere. Keep view-through conversions in their own column, never summed into allocated revenue.
- Halo effects: a Meta or TikTok campaign often lifts Amazon sales that no pixel can see. Your Shopify pixel will never record an Amazon checkout. Amazon Attribution can measure some of this for tagged links; the rest needs a holdout test or a marketing mix model (our MMM guide explains how one works).
- Retail media: Walmart Connect, Instacart and Criteo report attributed sales on their own windows and may include in-store sales. Keep their attributed revenue separate from owned order data unless you have a clear rule for de-duplicating it.
For brands selling on several marketplaces, this is where a single warehouse earns its keep. For Tinuiti, we built multi-source ETL pipelines for five marketplaces (Amazon, Walmart, TikTok, Instacart and Criteo) feeding a unified BI warehouse, so reporting that was fragmented across marketplace consoles now comes from one warehouse.
A true ROAS dashboard: making it a daily metric in your warehouse
A true ROAS rule only helps if people see it every morning without rebuilding it in a spreadsheet. The production version has five parts:
- Pipelines that land orders, refunds, fees and spend daily from each platform API into a warehouse your company owns (Snowflake, BigQuery, Redshift or Databricks).
- Reloads for recent days, because platform spend and attributed metrics change for days after the fact.
- Models that encode the ROAS rule once, with tests for missing sources and currency gaps.
- A ROAS dashboard that shows true ROAS, the inputs behind it, and platform-reported ROAS next to it, clearly labeled. We build these as marketing dashboards on the warehouse, not inside each ad platform.
- Alerts when true ROAS moves outside a band, or when one platform's data is late.
Mau Brands, an Amazon analytics platform we built pipelines and dashboards for, saw a 15% improvement in campaign performance through data-driven decisions once ad, sales and inventory data sat in one place. The lesson carries over to any brand: a shared definition is what makes decisions fast.
We have built ad-data pipelines since 2013, and true ROAS is usually the first metric we set up for brands, because it sits on top of everything else: the attribution data, the Shopify sales data and the marketing data warehouse. If you want to see what true ROAS looks like for your own channels, book a free 30-minute ad data review, or start with a written ad data plan.
Frequently asked questions
What is the difference between ROAS and true ROAS?
Platform ROAS is calculated by each ad platform from the conversions it attributes to itself, using its own window and revenue value. True ROAS is calculated once, by you, from your own order data: net revenue after tax, shipping and refunds, divided by total ad spend across every platform for the same period.
Should true ROAS include refunds and marketplace fees?
Refunds, yes: revenue you give back was never really earned, and platforms do not subtract it. Marketplace fees usually belong in a separate margin metric rather than in ROAS itself. Keep ROAS on net revenue and use contribution margin ROAS or break-even ROAS when you need fees, cost of goods and fulfillment in the picture.
How is true ROAS different from MER or blended ROAS?
They are close relatives. MER (marketing efficiency ratio) and blended ROAS usually divide total revenue by total marketing spend, often using gross revenue straight from the store. True ROAS adds a written rule: a fixed revenue definition, refunds applied, one currency and time zone, and only media spend in the denominator. Our Shopify data page covers blended ROAS and MER for Shopify stores.
How do you measure cross channel attribution without double counting?
Start from a total you trust: net revenue from your own orders divided by all ad spend. Then allocate that revenue across channels with a rule you control, such as last click from your own site data, a share of platform-attributed revenue, or a marketing mix model estimate, so channel numbers always add up to the real total. Keep each platform's own reported conversions in a separate, labeled column for in-platform optimization.
Sources
- Google Ads Help: About conversion windows
- Meta for Developers: Ads Insights API metric availability updates (attribution windows)
- Meta: Simplifying ad measurement (link-click and engage-through attribution, March 2026)
- Shopify GraphQL Admin API: Order object
- TikTok for Business: Flexible attribution windows for campaign measurement