Back to all tools

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.

Selzee 13 min read

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

Our articles are still written by HUMANS! Get human written articles in your Google feed.

Add as preferred source

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
๐Ÿ“Š

Engagement Rate Calculator

Calculate an engagement rate for Instagram, TikTok, Facebook or X, graded against the published average for that platform.

Try it free
๐ŸŽต

TikTok Engagement Rate Calculator

Calculate your TikTok engagement rate by followers and by views, graded against the published average.

Try it free
๐Ÿ‘

Facebook Engagement Rate Calculator

Calculate your Facebook engagement rate by fans and by reach, graded against the published average.

Try it free
๐Ÿฆ

Twitter (X) Engagement Rate Calculator

Calculate your Twitter or X engagement rate by followers and by impressions, graded against the published average.

Try it free
โ–ถ๏ธ

YouTube Engagement Rate Calculator

Calculate a YouTube engagement rate by views and by subscribers, with the interactions per 1,000 views and the comment share.

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
๐Ÿ”

Competitor Ad Finder

Enter one brand and open all four public ad libraries at the right place, with what each one will and will not show you.

Try it free
๐Ÿ“

Instagram Size Checker

Drop one image in and see what Instagram does to it in every format, with the crop drawn on your photo, then download the fixed file. Nothing is uploaded.

Try it free
๐Ÿ–ผ

YouTube Thumbnail Size Checker

Drop a thumbnail in, see what YouTube does to it, and resize it to 1280 x 720, 4K or Shorts under the size limit. Nothing is uploaded.

Try it free
๐Ÿ“ฑ

Instagram Story Size Checker

See the 9:16 crop and the safe zones the profile row and reply box cover, drawn on your own story. Nothing is uploaded.

Try it free
๐Ÿ“˜

Facebook Cover Photo Size Checker

Facebook crops covers differently on desktop and mobile. See both crops and the area that survives them. Nothing is uploaded.

Try it free
๐Ÿ’ผ

LinkedIn Banner Size Checker

See the 4:1 crop, the 15 percent mobile cut and where your profile photo lands on your banner. Nothing is uploaded.

Try it free
๐Ÿ“บ

YouTube Banner Size Checker

See the 2560 x 1440 crop and the 1235 x 338 safe area YouTube keeps on every device, drawn on your own banner. Nothing is uploaded.

Try it free
โญ•

Instagram Profile Picture Size Checker

Drop your photo in and see what the round crop hides. Instagram publishes no size, so every figure is labelled. Nothing is uploaded.

Try it free
โฌ‡๏ธ

YouTube Thumbnail Downloader

Paste a YouTube link and download every thumbnail size YouTube stores, up to 1280 x 720. Nothing is uploaded.

Try it free
๐Ÿ“

Social Media Image Sizes

Every surface in one table, each figure dated against the platform own page, with a checker per surface.

Try it free
๐Ÿงฉ

Instagram Grid Maker

Split one photo across your profile grid, numbered in the order you post them so the picture assembles the right way up. Nothing is uploaded.

Try it free
๐Ÿ–ผ

Instagram Image Resizer

Free Instagram image resizer. Pick 1:1, 4:5, 3:4, 1.91:1 or 9:16, fit the whole photo or crop it, and download it at the exact size Instagram keeps.

Try it free
๐Ÿ–ผ

Facebook Image Resizer

Free Facebook image resizer. Pick feed, square, link, story or cover, fit the whole photo or crop it, and download a JPG or PNG at the exact size. Nothing is uploaded.

Try it free
๐Ÿ–ผ

X (Twitter) Image Resizer

Free X image resizer. Pick 16:9, square, 4:5 or header, fit the whole photo or crop it, and download a JPG or PNG under the 5 MB limit. Nothing is uploaded.

Try it free
๐Ÿ“Š

ROAS Calculator

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

Try it free
โš–๏ธ

Break-Even ROAS Calculator

The ROAS at which your ads stop losing money, from your margin or your costs per order, plus your break-even CPA.

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
๐Ÿ“‹

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
๐ŸŽจ

Brand Kit Generator

Read your brand kit off your own site: the colours in your CSS, the fonts you already use, and tone words evidenced by your own sentences.

Try it free
๐Ÿ“ฃ

CPM Calculator

Cost per thousand impressions, solved in any direction: fill any two of spend, impressions and CPM and the third is worked out.

Try it free
๐Ÿ–ฑ๏ธ

CPC Calculator

Cost per click, plus the CTR and CPM the same three numbers already answer.

Try it free
๐Ÿ‘†

CTR Calculator

Click-through rate at two decimals, plus impressions per click and your click-to-conversion rate.

Try it free
๐ŸŽฏ

CPA Calculator

Cost per acquisition against the break-even CPA your order value and margin allow, so the number comes with a verdict.

Try it free
๐Ÿงฒ

CAC Calculator

Customer acquisition cost counting sales spend as well as marketing, plus the LTV to CAC ratio.

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
๐Ÿงฐ

AI Content Generator

The hub for the seven. One idea into posts, captions, carousels, scripts or a week of ideas.

Try it free
๐Ÿ“ฃ

Social Media Post Generator

One idea into three posts, each written for the platform you pick, with its angle named.

Try it free
๐Ÿ“ธ

Instagram Caption Generator

Describe the photo and get five captions at the vibe, length and emoji level you choose.

Try it free
๐ŸŽ 

Instagram Carousel Generator

A topic into 5, 7 or 10 slides written in reading order, plus the caption to go under them.

Try it free
๐ŸŽฌ

Video Script Generator

A Reels, TikTok or Shorts script beat by beat: the line to say and the shot to film beside it.

Try it free
๐Ÿ’ผ

LinkedIn Post Generator

One thing you know into three LinkedIn posts that read like a person, not a press release.

Try it free
๐Ÿ’ก

Content Idea Generator

Six post ideas for your account, each with its format, its opening line and why it would work.

Try it free
Share this article

ask ai about selzee

ยฉ 2026 Selzee. All rights reserved.