$Ecom Tools
Advertising guide

How to Calculate ROAS for Ecommerce

Use the ecommerce ROAS formula, calculate break-even ROAS from margin, and evaluate advertising revenue against real profitability.

8 min read

What ROAS tells an ecommerce seller

Return on ad spend, usually shortened to ROAS, compares attributed sales revenue with the advertising money used to obtain it. It helps a seller ask whether an advertising campaign is generating enough sales for its budget. ROAS is commonly expressed as a multiple, such as 4.0x, or as a percentage, such as 400%. Both descriptions mean the campaign reported four dollars of revenue for each dollar spent.

ROAS is a revenue efficiency metric, not a profit statement. A store still pays for inventory, delivery, processor and platform fees, discounts, returns, overhead, and sometimes creative or agency cost. A campaign can have attractive reported revenue and still lose money once those costs are included. Use ROAS together with contribution margin and net profit rather than treating it as the final result.

The ROAS formula and a basic example

Calculate ROAS with: attributed revenue / ad spend = ROAS. If a shopping campaign costs $1,500 and the orders attributed to it generate $6,000 in net sales, ROAS equals $6,000 / $1,500 = 4.0x, or 400%. Ensure revenue is measured consistently, such as after discounts and cancelled orders, and define whether tax and shipping charged to customers are excluded.

The advertising platform often displays its own attributed revenue. Your store's order records should be used to validate sales and refunds because platforms can use different attribution windows or claim overlapping conversions. When comparing campaigns or channels, choose a consistent attribution method and date range. Otherwise the ROAS comparison may reflect reporting rules rather than performance.

Find break-even ROAS from margin

Before setting a ROAS target, estimate the contribution margin available to pay for advertising. Contribution margin before ads is the percentage of sales left after product cost and other variable order costs, but before ad spend. If an order produces a 40% pre-ad contribution margin, forty cents from every dollar of revenue can pay for advertising before the order breaks even on variable economics.

A useful formula is: break-even ROAS = 1 / pre-ad contribution margin. At a 40% margin, the break-even ROAS is 1 / 0.40 = 2.5x. A $100 sale provides $40 before advertising, so spending $40 to get it gives $100 / $40 = 2.5x and leaves no contribution profit after ads. To cover overhead and earn profit, the seller needs a target above break-even, not merely equal to it.

A profitable ROAS target depends on the product

Consider two products that each achieve 3.0x ROAS. Product A has a 55% pre-ad contribution margin; a $90 order leaves $49.50 before ads, and at 3.0x it uses $30 in advertising, leaving $19.50. Product B has a 25% pre-ad margin; its $90 order leaves $22.50 before ads but also uses $30 in advertising, producing a loss before overhead. Identical ROAS does not imply identical profit.

Calculate target ROAS by product group, channel, or offer when their cost structures differ. Discounts and free shipping should be included in the margin used for the campaign. A bundle may support a lower ROAS target than a single inexpensive item because it raises order value or reduces shipping cost as a share of revenue. Document targets before scaling spend so revenue growth is evaluated against the correct profit requirement.

Account for returns and customer lifetime value

Reported ad revenue is often recorded before a customer returns an item. For categories with meaningful returns, calculate an adjusted revenue figure or reserve based on actual return behavior. A campaign that attracts higher-return orders deserves a stricter evaluation even when platform ROAS initially looks strong. Include nonrecoverable fees and return shipping when measuring the ultimate contribution profit.

Repeat purchasing can justify investing more in an initial customer, but only when data supports the assumption. Separate new and returning buyers, measure contribution profit on later orders, and observe repeat behavior over a suitable period. Do not reduce first-order ROAS targets simply because customers might purchase again. Cash flow and retention risk remain real while waiting for future sales.

ROAS pitfalls in everyday reporting

Avoid mixing gross sales in one campaign with net sales in another, omitting creative or affiliate spend where it is part of acquisition, and scaling a campaign on a few unusually strong orders. Attribution overlap is also common when a shopper encounters search, social, and email before purchase. Platform dashboards can each take credit for the same order, inflating the total claimed revenue.

Monitor ad spend, verified net sales, pre-ad margin, contribution profit after ads, new customer count, refunds, and average order value together. Test with a defined budget and enough time for typical purchase and return behavior. ROAS may identify promising campaigns, while profit data tells you whether increasing budget is sensible.

Turn ROAS into a repeatable decision

Begin each campaign with product-level costs and a required profit amount. Calculate the break-even ROAS, then establish a higher target that covers overhead and risk. Compare actual verified sales and advertising costs against that target weekly during active tests and monthly for broader planning. Update the target when prices, shipping, product costs, returns, or discounts change.

Use the ROAS calculator to convert ad cost and attributed sales into a return figure, then use the profit margin calculator to check whether revenue retains sufficient profit. The sustainable campaign is not simply the one with higher ROAS; it is the one that generates profitable orders under realistic cost assumptions.

Check your numbers before making a decision

Use Ecom Profit Tools calculators to test sales, costs, fees, margin, and advertising scenarios with your own assumptions.