Direct Answer: Ecommerce profit margin is the share of each order you keep after costs. Gross margin subtracts only product cost, contribution margin also subtracts shipping, fulfilment and payment fees, and net margin per order then subtracts ad cost, returns and discounts. Contribution margin is the one that sets your break-even CPA and ROAS.
Ecommerce profit margin: The percentage of revenue a store keeps as profit. For a DTC brand it is most useful per order, measured at three levels: gross margin (after product cost), contribution margin (after all variable costs of fulfilling the order) and net margin (after ad cost, returns and discounts too).
Ecommerce profit margin is usually discussed as one number on a yearly profit and loss statement. That is useful for your accountant and nearly useless for running ads. By the time the annual figure tells you something went wrong, you have spent months buying orders that lost money.
For a DTC brand, the more useful view is margin per order. Every order carries the same set of costs: the product, getting it to the customer, the payment fee, the ad spend it took to win it and a share of returns and discounts. If you know those numbers for a typical order, you know what you can afford to pay for a customer, which campaigns are really profitable and which levers will move profit the most.
This guide breaks margin into three levels, walks through each cost line, works through a full example and shows how margin turns into the break-even ROAS your ads have to beat. It does not quote industry averages, because margins vary so much by product, price and channel that an average tells you very little about your own store.
The three margins answer different questions. Gross margin tells you whether the product is priced well against what it costs to make. Contribution margin tells you how much each order leaves to pay for marketing and overhead. Net margin per order tells you what you actually keep once marketing, returns and discounts are paid.
| Margin | Formula per order | What it tells you |
|---|---|---|
| Gross margin | (Price minus COGS) divided by price | Whether pricing covers product cost with room to spare |
| Contribution margin (before ads) | Price minus COGS, shipping and fulfilment, and payment fees | The most you can spend to acquire the order and break even |
| Net margin per order | Contribution margin minus ad cost per order, returns and discounts, divided by price | What each order really earns before fixed overhead |
Most margin mistakes come from leaving a cost out, not from bad arithmetic. List every line below for your top products, using real invoices and platform reports rather than estimates.
This is an example, not a benchmark. It uses a $70 order with $21 COGS, $8 shipping and fulfilment, a 3 percent payment fee, a $25 ad cost per order and a 6 percent return rate. To keep it simple, returns are treated as full refunds, so the expected return cost per order is 6 percent of $70, or $4.20. There is no discount in this example.
| Line (example) | Per order | Running total |
|---|---|---|
| Price | $70.00 | $70.00 |
| COGS | minus $21.00 | $49.00 (gross margin 70.0%) |
| Shipping and fulfilment | minus $8.00 | $41.00 |
| Payment fee (3% of $70) | minus $2.10 | $38.90 contribution before ads |
| Ad cost per order (CPA) | minus $25.00 | $13.90 |
| Returns (6% of $70) | minus $4.20 | $9.70 net profit per order |
| Net margin | $9.70 divided by $70 | 13.9% |
A 70 percent gross margin looks healthy, yet the order keeps only $9.70, a 13.9 percent net margin. Ad cost is by far the largest line after COGS. That is typical of paid-acquisition DTC brands and is why the ad cost per order deserves as much attention as product cost.
Your contribution margin is the most you can pay in ads for an order before it loses money. Divide price by that margin and you get break-even ROAS: the return on ad spend at which ads exactly pay for themselves.
In the example, contribution before ads is $38.90, so break-even ROAS is $70 divided by $38.90, or 1.80x. If you also take the $4.20 expected return cost out first, the margin available for ads is $34.70 and break-even ROAS rises to 2.02x. The actual ROAS at a $25 CPA is $70 divided by $25, or 2.80x, which is why the order is profitable.
The lower your margin, the higher the ROAS your ads must reach. This is why two brands can run the same ROAS and get very different results: one is profitable and the other loses money on every order. Our break-even ROAS calculator does this for your own numbers, and our guides to what ROAS is and what a good ROAS for ecommerce looks like explain how to set a target above break-even.
There are only a few ways to make each order more profitable: earn more per order, spend less to deliver it, spend less to acquire it or earn more from the customer later. These are the levers we work on most often with partner brands.
Shipping, fulfilment and a large part of acquisition cost are roughly fixed per order, so a bigger basket spreads them further. Post-purchase upsells, cart add-ons and tiered offers all lift AOV without raising your cost to acquire the order.
Bundles of products that are often bought together raise order value and let you offer a clear saving without discounting single items. They also give you a better offer for paid traffic than a percentage code.
In the example, $8 of shipping is 11.4 percent of a $70 order. On a $100 order with the same shipping cost, it would be 8 percent. Set a free shipping threshold above your current AOV, renegotiate carrier rates and check packaging size and weight.
CRO lowers ad cost per order without touching the budget. If the same traffic converts better, every order costs less to acquire. Faster pages, clearer product pages and a simpler checkout are usually where the gains are.
A repeat order through email or SMS carries almost no ad cost, so its net margin is close to its contribution margin. Klaviyo flows for replenishment, cross-sell and win-back raise lifetime margin even when first-order margin is thin.
Instead of quoting averages, here are three real results from our published case studies where the brand reported its profit margin. Each is a single account and a specific period, and each brand defines margin its own way, so treat them as examples of what is possible, not as targets.
A dropshipping store generated $185,936 in 21 days at a 56 percent profit margin, covered in our case study on scaling that store. Another brand did $148K in one day and a $294K month while ending at a 37 percent net margin, in our case study on its best day. A third spent $26,594 to generate $99,576 in 5 days at a 67 percent profit margin, in our five-day case study.
What these share is that margin was tracked during the scale, not checked afterwards. Spend went up on products and offers where the numbers held, which is the habit this guide is built around. You can find all three on our case studies page.
Build a simple weekly sheet with revenue, orders, COGS, shipping, fees, ad spend, refunds and discounts. Work out contribution margin per order and net profit per order each week, alongside blended ROAS or MER. When net profit per order falls, the sheet shows you which line moved.
Review it per product as well as per store, because a bestseller with thin margins can hide behind a healthy store average. Recheck COGS and shipping whenever a supplier or carrier changes prices, and recheck ad cost per order whenever you raise budget. Our profit margin calculator gives you the per-order figures, and the contribution margin glossary entry explains the definition in more detail.
There is no single good number, because margin depends on product, price, channel and how much you spend on ads. A better test is whether your contribution margin leaves enough room to acquire customers at your current cost per order and still keep a net profit. Work out your own figures per order instead of comparing with averages.
Gross margin subtracts only the cost of goods from the price. Contribution margin also subtracts the other variable costs of each order, such as shipping, fulfilment and payment fees. Contribution margin is more useful for ads because it shows the most you can spend to acquire an order before it loses money.
Start with price, subtract COGS, shipping and fulfilment and payment fees to get contribution margin, then subtract ad cost per order, returns and discounts. Divide what is left by the price. In the $70 example in this guide, net profit is $9.70 per order, a 13.9 percent net margin before fixed overhead.
Yes. Returns cost you refunded revenue, return shipping and sometimes stock you cannot resell. Spread the expected cost across all orders using your return rate. A simple method treats returns as full refunds, so a 6 percent return rate on a $70 order adds $4.20 of cost to every order.
Break-even ROAS equals price divided by contribution margin. A lower margin means each order can afford less ad spend, so ads must return more revenue per dollar to break even. In the example in this guide, a $38.90 contribution margin on a $70 order gives a 1.80x break-even ROAS.
It depends on which cost line is largest. For most paid-acquisition DTC brands, ad cost per order is the biggest lever, so improving conversion rate and creative often moves margin fastest. Raising AOV with bundles and upsells, setting a smarter free shipping threshold and building repeat purchases through email and SMS follow close behind.
Browse all ecommerce playbooks | Meta ads agency | Explore 150+ verified case studies | Free ROAS calculator