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 freeOur articles are still written by HUMANS! Get human written articles in your Google feed.
Add as preferred sourceMore free tools
Keep exploring
Conversion Rate Calculator
See whether your conversion rate is good for your industry, and how many more orders the median and the top quarter would bring.
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
Type a TikTok handle and grade every recent video by views against the average for accounts your size.
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 🔬Ad Analysis Tool
Paste any ad and get an instant breakdown of its hook, angle, emotional triggers, and what to test next.
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 🎵TikTok Safe Zone Checker
Drop a TikTok ad, image or video, and see what the tabs, buttons and caption cover, drawn on your own frame. Nothing is uploaded.
Try it free 🎬Instagram Reels Safe Zone Checker
Drop a reel, a cover or a Reels ad and see what the caption, the buttons and the top bar cover, drawn from Meta's own figures. 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 📌Pinterest Pin Size Checker
See whether your Pin is the 2:3, 1000 x 1500 Pinterest recommends, and what a taller one risks in the feed. Nothing is uploaded.
Try it free 🖼️Pinterest Banner Size Checker
Check your profile cover against the 800 x 450 minimum and 16:9 shape, with the phone crop and buttons drawn on it. Nothing is uploaded.
Try it free 🔴Pinterest Profile Picture Size Checker
Drop your photo in and see what Pinterest's round crop hides. Pinterest publishes no size, so every figure is measured. 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 📸Instagram Profile Picture Downloader
Paste an Instagram username or profile link and download the profile picture in the largest file Instagram keeps, up to 1080 x 1080.
Try it free 🎶TikTok Profile Picture Downloader
Paste a TikTok username or profile link and download the avatar in the largest file TikTok keeps, up to 1080 x 1080.
Try it free ▶️YouTube Profile Picture Downloader
Paste a channel @handle or link and download the YouTube channel avatar at its upload size, the largest file YouTube keeps.
Try it free ✖️X (Twitter) Profile Picture Downloader
Paste a username or profile link and download the X (Twitter) profile photo at its upload size, usually 400 x 400.
Try it free 💼LinkedIn Profile Picture Downloader
Paste a LinkedIn profile link and download the public profile photo in the file LinkedIn shows to people who are not logged in.
Try it free 📌Pinterest Profile Picture Downloader
Paste a username or profile link and download the Pinterest profile picture in the largest file Pinterest shows, 280 x 280.
Try it free 🎬TikTok Video Downloader
Paste a TikTok video link and save the MP4, without the watermark when TikTok keeps that file. No app, no sign-up.
Try it free 📌Pinterest Video Downloader
Paste a pin link and save the video as an MP4 in the largest size Pinterest keeps, idea pins included.
Try it free 📥Facebook Ad Downloader
Paste a Meta Ad Library link or ad ID and save the ad's video or pictures, one file per carousel card.
Try it free 📝YouTube Transcript Extractor
Paste a YouTube video or Short link and get its transcript with timestamps or as plain text. Copy it, or download TXT or SRT.
Try it free 🗒️TikTok Transcript Generator
Paste a TikTok video link and get what is said, with timestamps or as plain text. Copy it, or download TXT or SRT.
Try it free 🏷️YouTube Tag Generator
Type a video title and topic and get YouTube tags from specific to broad, counted against the 500 character limit, ready to paste.
Try it free 📝YouTube Description Generator
Write a YouTube description from what your video covers: opening lines for above the fold, your chapters and links, and three hashtags.
Try it free 🎵TikTok Caption Generator
Describe the video and the product and get three TikTok captions with a hook first line, for a post, a Spark Ad or an in-feed ad.
Try it free 📝Instagram Bio Generator
Say who the account is for and get 5 Instagram bios, each inside the 150 character limit, with a count and a Copy button.
Try it free #️⃣Facebook Hashtag Generator
Paste a Facebook post and get hashtags in groups, specific first, each one a single word Facebook can link, with one Copy all.
Try it free 🏷️LinkedIn Hashtag Generator
Paste a LinkedIn post and get hashtags for your industry, your role and the topic, each one a single word, with one Copy all.
Try it free 🧑AI Persona Generator
Describe what you sell and get 3 buyer personas, each with pains, objections, where they spend time and ad hooks to copy.
Try it free 💬Brand Slogan Generator
Type the brand and what it does and get up to 15 slogans in 5 styles, each with where to use it and a Copy button.
Try it free 🎵TikTok Bio Generator
Say what you sell or post and get 5 TikTok bios, each inside the 80 character limit, with a count and a Copy button.
Try it free 🪪TikTok Username Generator
Say what your account is about and get TikTok username ideas in three groups, each one checked against TikTok's username rules.
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 🔁AVIF to PNG Converter
Convert AVIF images to PNG in your browser, one file or a batch, transparency kept. Download each PNG or all as a ZIP. Nothing is uploaded.
Try it free 🔁AVIF to JPEG Converter
Convert AVIF images to JPG (JPEG) in your browser: pick the quality, convert a batch, download each JPG or a ZIP. Nothing is uploaded.
Try it free 📄PNG to PDF Converter
Turn PNG images into one PDF in your browser, one picture per page, in the order you set. Made for LinkedIn carousels. Nothing is uploaded.
Try it free 🎞GIF to MP4 Converter
Free GIF to MP4 converter. Turn a GIF into an H.264 MP4 that Reels and TikTok ads take, with the timing of every frame kept. Nothing is uploaded.
Try it free 📱HEIC to PNG Converter
Turn iPhone HEIC photos into lossless PNG files for any editor or design tool. Many at once. Nothing is uploaded.
Try it free 🖼HEIF to JPG Converter
Turn HEIF and HEIC photos into small JPG files for ad uploads, with a quality slider. Many at once. Nothing is uploaded.
Try it free 📱Instagram Mockup Generator
Drop a picture and get a realistic Instagram post or ad mockup: your name, caption, likes, light or dark, 1:1 or 4:5. Download a PNG. Nothing is uploaded.
Try it free 💸Facebook Ads Cost Calculator
See what a Facebook ads budget buys in impressions, clicks and sales or leads, or the budget a goal needs, from 2026 benchmarks.
Try it free 📸Instagram Ad Cost Calculator
Plan an Instagram ad or boost budget: daily budget and days in, reach, clicks, sales and the Reels, Feed and Stories split out.
Try it free 💼LinkedIn Ad Mockup Generator
Drop a picture and get a LinkedIn sponsored post mockup: company, Promoted, intro text, headline and button, desktop or mobile. Download a PNG.
Try it free 📣Facebook Ad Mockup Generator
Drop a picture and get a realistic Facebook feed ad mockup: page name, primary text, headline, button and reactions, light or dark. Download a PNG. Nothing is uploaded.
Try it free 💬Instagram Comment Generator
Type a username and a comment and get the Instagram Reels "Reply to comment" sticker or a comment row, with or without the verified badge, as a transparent PNG. Nothing is uploaded.
Try it free 💬TikTok Comment Generator
Type a name and a comment and get the TikTok "Reply to comment" sticker or a comment row as a transparent PNG at 2x or 3x. Nothing is uploaded.
Try it free 📝Instagram Transcript Generator
Drop a Reel you saved from Instagram and get the transcript with timestamps. Copy it or download a TXT or SRT file. Free, no sign-up, nothing is uploaded.
Try it free 🔤TikTok Font Generator
Type your name, bio or caption and copy it in 21 text styles that paste into TikTok: bold, script, gothic, bubbles and more.
Try it free 📊ROAS Calculator
See your ROAS, whether your ads made money, and the target ROAS and ACoS for the profit you want, from spend, revenue and margin.
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