How to use the Ecommerce ROI Calculator
Enter the revenue the campaign or channel produced, your average gross margin after product and shipping costs, and everything you spent on it. ROAS is shown alongside for comparison with ad platforms.
Break-even ROAS
Your break-even ROAS is 1 ÷ gross margin. At a 45% margin you need about 2.22 of revenue for every 1 of ad spend just to cover product costs and the ads. Anything below that loses money, even if the ad platform reports a healthy ROAS.
What to include in gross margin
Subtract product cost, shipping, packaging, payment fees and an allowance for returns from the selling price. Free shipping offers and discounts lower the margin and raise the ROAS you need.
The formula
Ecommerce ROI = (revenue × gross margin − investment) ÷ investment × 100. ROAS = revenue ÷ investment.
Examples
- With the default values
Ecommerce ROI: 80% Gross profit: 18,000 Net profit after investment: 8,000 ROAS: 4x
- With revenue from the campaign or channel set to 80000
Ecommerce ROI: 260% Gross profit: 36,000 Net profit after investment: 26,000 ROAS: 8x
Prepare your inputs
Include the initial outlay and final proceeds on a consistent basis. Decide whether costs and distributions are included before comparing projects.
Understand the result
Simple ROI does not annualize returns. A 25% return over one year and over five years are not equivalent investments.
About this version
This page uses a shared calculation method. Industry and country labels provide a browsing context; they do not change the formula or imply specialist or local regulatory validation. Currency labels do not perform currency conversion.
Limitations and assumptions
Returns, refunds and repeat purchases change the real figure. Platform-reported revenue often over-counts sales that would have happened anyway.
Frequently asked questions
How do you calculate ecommerce ROI?
Ecommerce ROI = (revenue × gross margin − investment) ÷ investment × 100.
What is the difference between ROI and ROAS?
ROAS is revenue divided by ad spend. ROI uses gross profit and subtracts the spend, so it tells you whether you actually made money.
Should I count repeat purchases?
For acquisition campaigns, yes: use expected revenue over the customer’s first year rather than the first order alone, and say so when you compare.