Free tool
Most margin calculators stop at price minus cost. This one also takes off discounts, refunds, payment fees, shipping and the ad spend you can tie to the product, so you see what is actually left.

Start with the price after discount. Take off the revenue you refund. Subtract product cost, payment fees and the shipping you pay. That is profit before ads. Subtract ad spend per unit to get profit per unit. Margin is profit divided by the sales you kept after refunds.
Refunds work in two parts. The refunded revenue is lost. If you can resell the returned item, you also recover its product cost, so the calculator only counts product cost on the share of refunded units you cannot resell. Payment fees are treated as not returned on refunds, which is how many processors work, so check yours.
A product sells for $40 with a 10 percent average discount, so the price after discount is $36. An 8 percent refund rate removes $2.88. Product cost is $11, adjusted to $10.56 because half of refunded units are resold. Fees at 2.9 percent plus $0.30 per order with 1.5 units per order come to $1.24. Shipping you pay is $6.50.
Profit before ads is $14.82 per unit. With $2,200 of ads on 300 units a month, ads cost $7.33 per unit, leaving $7.48 profit per unit, or about $2,245 a month. That is 22.6 percent of the $33.12 you kept after refunds.
Break-even ROAS is the sales you must make per dollar of ads to cover everything else. In the example it is $33.12 divided by $14.82, about 2.24. A campaign showing a ROAS of 4.5 is comfortably profitable here. A blended ROAS from a platform can still hide a product that loses money, because platform ROAS ignores product cost, shipping, refunds and fees.
Taxes, overheads such as rent and software, app subscriptions, your own time, and costs shared across products. Keep those at store level and compare them with the profit this tool shows for each product.
What is a good profit margin for an online store?
It depends on the category, the cost of acquiring customers and how much you spend on returns. Rather than chasing a benchmark, compare each productโs margin after ads with your fixed costs and with your other products.
Why does Shopify not show this?
Shopifyโs own profit reports use the product cost you enter and do not include ad spend, payment fees, shipping label costs or app subscriptions. A calculator or a spreadsheet fills the gap.









