Ecommerce Profit Margin Calculator
Real per-order profit and margin after COGS, marketplace fees, shipping and ad cost.
What ecommerce profit margin is — and why per-order math matters
Ecommerce profit margin is the share of an order's selling price you keep after every cost that scales with the order: cost of goods sold (COGS), marketplace and payment fees, shipping and fulfillment, and the advertising it took to win the sale. The formula is Profit = Price − COGS − Fees − Shipping − Ad cost, and margin is that profit divided by price. It matters because revenue says nothing about survival — two stores can each do $2M a year while one banks $300k and the other loses money on every free-shipping order. Per-order margin is the number that decides whether scaling ad spend prints money or accelerates losses.
The formula, with a worked example
Say you sell a product for $60 on a marketplace:
- COGS (landed cost per unit): $18
- Marketplace + payment fees (15% of price): $9
- Shipping and fulfillment: $7
- Ad cost per order (spend ÷ attributed orders): $12
Profit per order = $60 − $18 − $9 − $7 − $12 = $14. Margin = 14 ÷ 60 = 23.3%. Notice what the $12 ad line implies: this order came in at a 5.0 ROAS ($60 ÷ $12). If ROAS slips to 2.5, ad cost doubles to $24 and profit collapses to $2 — a 3.3% margin on the exact same product. Run that sensitivity in the Break-Even ROAS Calculator before you scale a campaign, not after.
What's a good ecommerce profit margin?
Directional 2026 medians for online sellers cluster tighter than most operators expect:
| Per-order margin | How to read it |
|---|---|
| Under 5% | Fragile — one fee hike, return spike or CPM jump puts you underwater |
| 5–10% | Around the median for marketplace-heavy and reseller businesses |
| 10–20% | Healthy — enough cushion to fund growth and absorb ad-cost swings |
| Over 20% | Strong — typical of differentiated DTC brands and private label |
Two caveats. These are directional 2026 medians, not audited data — category matters enormously (electronics and grocery run thin; beauty, supplements and private label run fat). And this calculator returns contribution margin per order: fixed costs like software, salaries and warehousing come out afterwards, so your blended net margin will land below the per-order figure. See the benchmark library for how margin interacts with acquisition metrics.
Common mistakes that flatter your margin
The big one is blending ad cost — dividing spend by all orders, including organic and repeat purchases, instead of the orders the ads actually drove. That can make a money-losing campaign look profitable for months. Close behind: forgetting payment processing (2–3% on top of marketplace referral fees), ignoring returns (a 10% return rate on a 15%-margin product roughly halves your real margin), and confusing margin with markup — a 50% markup is only a 33% margin, a distinction the Margin vs Markup Calculator makes explicit. Finally, if your customers reliably reorder, judging ads on a single order is too harsh: evaluate spend as CAC against repeat-purchase value instead. But earn that leniency with cohort data, not hope.