All Tools

Free tool

Ecommerce Profit Margin Calculator

Work out gross margin, net margin, profit per unit, and break-even ROAS on any ecommerce product in seconds, then see whether your pricing leaves room to advertise profitably.

Product details

$
$
$
$

Results

Gross Margin

Net Margin

Profit per Unit

Break-even ROAS

Shares the numbers you entered, not your data. Everything is in the link itself.

Gross margin vs net margin, and when each one matters

Both numbers above answer different questions, and using the wrong one is how a product that looks profitable quietly loses money.

Gross margin is what is left after the cost of the product itself: (selling price - cost price) / selling price. It answers a pricing question. It tells you whether the product is priced high enough above what it costs to make or buy, and it is the number to look at when you are setting a price, negotiating with a supplier, or deciding whether a SKU deserves shelf space at all.

Net margin is what is left after everything else: shipping, payment processing, advertising, and eventually overhead and tax. It answers a viability question. It tells you whether you are actually making money on the sale as it really happens, ads included, which is why it is the number that decides how hard you can push acquisition.

The practical rule: use gross margin to set the price, use net margin to decide whether to spend. A 60% gross margin sounds comfortable until $18 of ad spend per unit turns it into a 4% net margin, and at that point one returns spike or one shipping-rate rise puts the product underwater.

What belongs in cost of goods sold, and what does not

COGS is the most commonly misfilled field on this calculator, and getting it wrong distorts every number downstream. The test is simple: does this cost exist because of this one unit?

Belongs in COGS

  • The unit price from your supplier, or the manufacturing cost if you produce it
  • Inbound freight and import duty, divided across the units in the shipment
  • Per-unit packaging: the box, the insert, the label
  • Any per-unit assembly, kitting or finishing labour

Does not belong in COGS

  • Marketing and ad spend, which is why this calculator gives it its own field
  • Salaries, contractors and agency retainers
  • Software, rent, and everything else you would still pay if you sold nothing this month
  • Outbound shipping and payment processing, which scale with the order rather than the unit and get their own treatment below

The failure mode is folding operating costs into COGS, which understates gross margin and makes a perfectly viable product look like it should be discontinued. The opposite mistake, leaving freight and duty out, is more common and more dangerous: it inflates gross margin by several points and hides the fact that the landed cost is far above the invoice price.

How to treat shipping and payment processing

These two costs are the ones most often forgotten, and together they routinely take a bigger bite than founders expect.

Shipping

Use your true blended cost per unit, not your carrier's headline rate. That means the label, the fulfilment pick-and-pack fee if a third party ships for you, and the part you absorb when you offer free delivery. If you run free shipping over a threshold, the honest input is the average subsidy across all orders rather than zero. Returns belong here too: a 10% return rate on a product where you eat the return label is a real per-unit cost, and leaving it out is the single most common reason a modelled margin does not match the bank account.

Payment processing

Processing is charged as a percentage plus a fixed fee per transaction, and the fixed part is what hurts on low-priced items. In the US the common online card rate is around 2.9% plus roughly 30 cents; rates differ by region, by card type, and by the plan you are on, and using a third-party gateway inside a hosted platform can add a further surcharge on top. Look up your own current rate rather than trusting a figure from a blog, including this one, because it is the one cost here you can read exactly off your last statement. On a $15 product the fixed 30 cents alone is 2% of revenue, which is why cheap SKUs need a different margin target than expensive ones.

What a healthy ecommerce margin actually looks like

Gross margin is the one with a defensible benchmark. Across the latest 10-K filings of 11 publicly traded direct-to-consumer and CPG brands, including Warby Parker, e.l.f. Beauty, Revolve, Yeti and Lululemon, the median gross margin is 56.6%, with the 25th to 75th percentile running 45.6% to 63.8%. Category moves that number more than competence does: beauty and personal care sit at the top of the range, supplements and health in the middle, and apparel lower once returns are counted.

Net margin is different, and it is worth being straight about it. Published net-margin benchmarks for DTC are thin and often contradict each other, so treat any single figure you are quoted with suspicion. What is structurally true is that net lands a long way below gross for everybody, because fulfilment, processing, advertising, overhead and tax all come out of that gap, and that acquisition cost is usually the largest single item in it. Rather than chasing an industry number, use this calculator on your own real costs and read the break-even ROAS it gives you.

The useful way to read your gross margin is as a ceiling on ambition. Below roughly 40% there is very little room to buy traffic at all, and growth has to come from organic demand, retention or a price rise. Above 60% you can afford to test paid acquisition properly and absorb the losing tests that testing requires.

A worked example

Take a skincare product that retails at $45 and costs $12 landed, with $6 per unit of blended shipping and fulfilment and $9 per unit of ad spend.

  • Gross margin: (45 - 12) / 45 = 73%. Comfortably above the 56.6% public median, so the pricing is sound.
  • Profit per unit before ads: 45 - 12 - 6 = $27, once shipping is counted.
  • Processing: roughly 2.9% of $45 plus 30 cents, about $1.61, leaving $25.39.
  • Profit per unit after ads: 25.39 - 9 = $16.39, a net margin of about 36%.
  • Break-even ROAS: the product can absorb up to $25.39 of ad spend per unit before it stops making money, so break-even sits at 45 / 25.39, about 1.8x. At $9 spend per unit the actual ROAS is 5x, which is a healthy gap.

Now change one input. Drop the price to $25 and keep every cost the same: gross margin falls to 52%, profit after shipping and processing is $5.97, and a $9 ad spend per unit puts the product just over $3 underwater on every sale. Same product, same costs, and the difference between a good business and a loss is entirely in the price. That is the sensitivity the calculator exists to expose, and it is worth re-running whenever a supplier price or a shipping rate moves.

Break-even ROAS: turning margin into an ad-spend ceiling

Break-even ROAS is the number that connects this calculator to your ad account. It is the minimum return you need before spending stops adding profit, and it falls straight out of your margin: the more of the selling price your costs consume, the higher the return you need from every dollar of spend.

Once you know it, two things follow. It becomes the kill threshold for a campaign, because a creative running below break-even is not underperforming, it is losing money. And it sets how much testing you can afford, since the gap between your break-even and your actual return is your testing budget. Work out the spend side with the ROAS calculator, check what a customer is worth over their whole relationship with the customer lifetime value calculator, since a repeat-purchase product can justify a first-order loss that a one-off product cannot, and if the conversion rate is the constraint rather than the margin, the conversion rate calculator shows what a small lift is worth.

Use this calculator on your own site

Free to embed and free to cite, no attribution deal needed. Writers, agencies and course authors are welcome to drop the calculator straight into a post, and a credit link back is all we ask.

Embed this calculator on your site

Cite this tool, HTML

Cite this tool, plain text

Frequently Asked Questions

What is a good profit margin for ecommerce?

Judge gross and net separately. On gross margin there is a real benchmark: across the latest 10-K filings of 11 public direct-to-consumer and CPG brands, the median gross margin is 56.6%, with the 25th to 75th percentile running 45.6% to 63.8%. Category matters more than any single number, with beauty and personal care sitting higher and apparel lower. Net margin lands far below gross for everyone, because fulfilment, payment processing, advertising, overhead and tax all come out of that gap, and the honest answer is that it depends on your cost base rather than on an industry figure. What you can say confidently is that a thin gross margin caps everything downstream: it leaves no room to advertise, which is what break-even ROAS below makes concrete.

What should be included in cost of goods sold?

COGS is the cost of getting one sellable unit into your hands: the unit price from the supplier or the manufacturing cost, inbound freight and duty, and per-unit packaging. Payment processing and outbound shipping are usually treated separately, because they scale with the order rather than the unit, and marketing, salaries, software and rent are operating costs that never belong in COGS. The line matters because putting operating costs into COGS understates your gross margin and makes a healthy product look unviable.

What is the difference between gross margin and net margin?

Gross margin only accounts for the cost of the product itself (cost of goods sold), calculated as (Selling Price - Cost Price) / Selling Price. Net margin factors in all additional costs like shipping and advertising, giving you the true profit picture after all expenses.

What is break-even ROAS and why does it matter?

Break-even ROAS (Return on Ad Spend) tells you the minimum return you need from your ad spend to avoid losing money. It is calculated as Selling Price / Ad Spend per unit. If your break-even ROAS is 4x, you need at least $4 in revenue for every $1 spent on ads to break even.

Want margins optimized automatically?

Selzee's AI growth team analyzes your unit economics, ad spend, and pricing daily to find hidden margin opportunities.

Get started for free

More free tools

Keep exploring

๐Ÿ“‹

Ad Reporting Tool

Paste a Meta or TikTok export to spot winning creatives, ad fatigue, and budget leaks instantly.

Try it free
๐Ÿงพ

Conversion Rate Calculator

Calculate your conversion rate, graded against the published market average, plus revenue per visitor.

Try it free
๐Ÿ“ท

Instagram Engagement Rate Calculator

Calculate your Instagram engagement rate by followers and by reach, graded against the published all-industry median.

Try it free
๐Ÿ“

Instagram Size Checker

Drop an image in and see whether Instagram keeps, resizes or crops it, with the cut drawn on your own file. Nothing is uploaded.

Try it free
๐Ÿ“Š

ROAS Calculator

Measure your return on ad spend, CPA, and CPC against industry benchmarks.

Try it free
๐Ÿ“ˆ

Customer Lifetime Value Calculator

Calculate CLV, monthly customer value, and your maximum acquisition cost.

Try it free
โœ๏ธ

AI Product Description Generator

Generate compelling product descriptions in multiple tones and lengths.

Try it free
๐ŸŽฏ

Ad Angle Generator

Eight distinct ad angles for one product, each with the buyer it reaches, an example hook and the proof it needs.

Try it free
๐Ÿ“‹

Creative Brief Generator

Turn a product, an audience and real customer language into a ten-section brief: one message, the insight behind it, deliverables and success metrics.

Try it free
๐Ÿช

Hook Generator

Turn your product and real customer reviews into ad, email, and landing page hooks, each labelled with the angle it uses.

Try it free

ask ai about selzee

ยฉ 2026 Selzee. All rights reserved.