If you sell products online, your profit margin tells you how much of each sale you actually keep. It is one of the first numbers every store owner should understand, because it decides whether your store can survive discounts, ad spending, and slow months.
The formula is simple. Subtract your cost price and all fees from your selling price to get your profit, then divide that profit by your selling price and multiply by 100. For example, if a product costs you $30, you sell it for $80, and you pay $10 in fees and shipping, your profit is $40 and your margin is 50 percent.
Always include every cost: the product itself, packaging, shipping, marketplace fees, and payment processing. Many new sellers forget the small fees and end up with a margin that looks good on paper but disappears in real life.
Try different prices with our free Profit Margin Calculator to find a selling price that keeps your margin healthy. Most online stores aim for a margin between 20 and 40 percent after all costs.
What Is the Difference Between Gross, Operating, and Net Margin?
Profit margin is not one number. It is three numbers, and each one answers a different question. Gross margin asks whether your product price covers the cost of the product itself. Operating margin asks whether the store runs efficiently day to day. Net margin asks what the whole business actually keeps after every cost, including interest and taxes. If you quote a margin without saying which one, you can mislead yourself by 30 percentage points or more. A store can look profitable at the gross level and still lose money at the net level.
| Line | Amount | Margin |
|---|---|---|
| Revenue | $50,000 | |
| Cost of goods sold (COGS) | $30,000 | |
| Gross profit | $20,000 | 40% |
| Operating costs (ads, apps, staff, hosting) | $12,000 | |
| Operating profit | $8,000 | 16% |
| Interest and taxes | $3,000 | |
| Net profit | $5,000 | 10% |
The formulas all follow the same pattern: divide a level of profit by revenue and multiply by 100. Gross margin is revenue minus COGS, divided by revenue. Operating margin is gross profit minus operating expenses, divided by revenue. Net margin is revenue minus all costs, divided by revenue. Use the same period for every number, and start from net sales, revenue after discounts and refunds, not the full list price.
The same store has a 40 percent gross margin and only a 10 percent net margin: ads, apps, shipping, staff, and taxes sit between the two numbers. Gross margin is the right tool for pricing a product and comparing categories; net margin is the right tool for judging whether the business itself is healthy. Run both numbers every month, and test different prices with our free Profit Margin Calculator before you commit to a new price.
What Is a Good Profit Margin for an Online Store?
There is no single good margin, because a healthy margin depends on your category and on which margin you are measuring. The most useful comparison is your own margin over time, then your category. The table below shows healthy ranges for the most common niches, from 2026 benchmarks by Shopimize. Gross margins are always much higher than net margins, so compare gross with gross and net with net.
| Category | Gross margin | Typical net margin |
|---|---|---|
| Beauty and skincare | 65-80% | 15-28% |
| Health and supplements | 60-78% | 12-25% |
| Jewelry and accessories | 60-80% | 15-30% |
| Apparel and fashion | 50-65% | 8-18% |
| Electronics and gadgets | 30-50% | 5-15% |
Two patterns matter. First, beauty and jewelry can carry gross margins above 60 percent because the product itself is cheap to make, but heavy ad spending pulls their net margins down to 15 to 30 percent. Second, electronics sits at the bottom, at 30 to 50 percent gross and 5 to 15 percent net. A net margin of 10 to 20 percent is healthy for most online stores. The 20 to 40 percent range in the introduction is a realistic target for gross margin; for net margin after every cost, 10 to 20 percent is the healthy band. NYU Stern’s January 2026 dataset puts the net margin of general retail at 5.61 percent.
If your margins sit below your category range, the fix depends on which margin is weak. A low gross margin means your product costs too much or your price is too low. A healthy gross margin with a low net margin means the problem is ads, shipping, fees, or returns. Before you chase a new category for its margins, check whether the products are profitable: our guide to finding profitable products to sell online shows how to test demand and costs first.
How Do You Calculate Profit Margin for One Product?
Store-wide margins tell you whether the business is healthy. Product-level margins tell you which products deserve your shelf space and ad budget. The method is the same, applied to a single sale: add up every cost the sale creates, subtract the total from the price, divide by the price, and multiply by 100. The table below works through three products with different cost structures.
| Product | Price | Product cost | Packaging | Shipping | Fees | Profit | Margin |
|---|---|---|---|---|---|---|---|
| Handmade candle | $25.00 | $6.00 | $1.00 | $4.00 | $1.03 payment | $12.97 | 51.9% |
| Phone case | $19.99 | $8.00 | $1.00 | $4.50 | $0.88 payment | $5.61 | 28.1% |
| Bluetooth speaker | $49.99 | $30.00 | $1.50 | $3.90 fulfillment | $7.50 referral (15%) | $7.09 | 14.2% |
The candle earns more than half its price as profit, the phone case about a quarter, and the speaker only 14 percent, because Amazon takes 15 percent and fulfillment adds nearly $4. Price alone never tells you which product is best. Work backward from the margin you want: the price for a target margin is total cost divided by one minus the target margin. For a product that costs $24 all in and a target margin of 40 percent, the price is $24 divided by 0.60, which is $40. Adding 40 percent to the cost would give $33.60 and a margin of only 28.6 percent.
Once you know the margin on each product, use it to set prices and to decide where discounts are safe. Our beginner’s guide to pricing your products walks through the full pricing process, and our break-even guide shows how many units you must sell before a product starts earning. Check margins monthly: one supplier price rise can quietly turn a good product into a loss-maker.
Which Fees Eat Your Profit Margin?
Fees are the costs new sellers forget most often, and they are why a margin that looks good on paper disappears in real life. A fee charged as a share of the price comes straight off your margin, point for point: a 15 percent marketplace fee on a 40 percent gross margin product leaves 25 percent before any other cost. The table below shows the main fees at 2026 rates.
| Fee | What it costs | Where it applies |
|---|---|---|
| Card processing (Stripe, Shopify Payments) | 2.9% + $0.30 per sale | Own store |
| Shopify gateway surcharge | 0.6% to 2% on top of the processor rate | Shopify |
| Amazon referral fee | 8% to 15% by category, 15% in most categories | Amazon |
| Amazon FBA fulfillment | $3.90 per small standard unit, plus storage | Amazon FBA |
| Etsy fees | $0.20 listing + 6.5% transaction + 3% + $0.25 payment | Etsy |
| eBay final value fee | 13.6% of sale total + $0.30 to $0.40 per order | eBay |
Two details catch sellers out. First, Etsy and eBay charge their percentage on the shipping the buyer pays as well as the item price, so high shipping raises the fee too. Second, Amazon’s fees look the highest, but they include picking, packing, and shipping; the others charge for the platform only, and you still pay the carrier. Compare channels on total cost per order, not on the headline rate. Our Shopify fees breakdown, Etsy fees guide, and Amazon vs Etsy vs Shopify comparison work through the same numbers product by product.
Build every fee into your price before you list a product: moving it from your own store to Amazon can cut its margin by 15 percentage points overnight.
How Do You Raise Your Profit Margin Without Raising Prices?
Raising prices lifts margin fastest, but a price rise can cost you sales. These five levers raise margin without touching the price tag.
- Raise average order value. Shipping, packaging, and part of the payment fee cost about the same whether an order is $80 or $120, so bundles and upsells spread those costs over a larger sale.
- Set the free shipping threshold above your average order value. If your average order is $80, free shipping on every order absorbs the full cost; a $100 threshold gets customers to add items and spreads the cost over a bigger basket.
- Recover abandoned carts. Shoppers who abandon a cart were already paid for through ads or search traffic, so a reminder email brings some back without new acquisition spend, and recovered orders usually carry a higher margin.
- Focus promotions on high-margin products. A 15 percent discount hurts far less on a 60 percent margin product than on a 25 percent one, so point promotions and ads at the items that can absorb them. Our discount pricing strategies that protect your margins show how to run promotions without giving the margin away.
- Renegotiate costs and audit your apps. As volume grows, ask suppliers for better rates, and audit your apps every quarter: most stores pay for apps they no longer use, and a quarterly audit can save $100 to $500 a month, according to Shopimize’s 2026 benchmarks.
Repeat customers are the cheapest margin lever of all: a returning customer costs nothing to acquire, so every repeat order keeps the acquisition cost a first order would have spent. That is why email lists, loyalty offers, and good after-sales service show up in your margin.
What Are the Most Common Profit Margin Mistakes?
Most margin problems are calculation problems, not pricing problems. Six of them show up again and again.
- Confusing margin with markup. Margin divides profit by the selling price; markup divides the same profit by the cost. A product that costs $30 and sells for $50 has a 40 percent margin and a 66.7 percent markup. Adding 40 percent to a $30 cost gives a price of $42 and a margin of only 28.6 percent.
- Counting gross revenue instead of net sales. Discounts, coupons, and refunds are not revenue you kept, so subtract them before you divide.
- Leaving freight and duties out of the product cost. Inbound freight, duties, and packaging are part of what the product cost you; if they are missing, every margin that follows is overstated.
- Treating free shipping as free. The customer pays nothing, but the carrier still charges you, and that cost comes out of your margin.
- Ignoring returns. A returned order costs you the payment fee, outbound shipping, return shipping, and sometimes the product itself, so a high return rate can turn a profitable product into a loss.
- Calculating margin once and never again. Supplier prices, ad costs, and fees all move, so a margin that was healthy six months ago may not be healthy today. Recalculate when you change a price, launch a product, or add a channel, and review contribution margin weekly and net margin monthly.
Fix the calculation first, then fix the price. A margin built on complete costs is the only one you can trust to make decisions with.
Frequently asked questions
What is a good profit margin for an online store?
A net margin of 10 to 20 percent is healthy for most online stores. Gross margins vary far more by category: beauty and jewelry commonly run 60 to 80 percent gross, electronics 30 to 50 percent. Compare with your category and your trend.
What is the difference between profit margin and markup?
Both use the same profit but divide it by different numbers: margin divides profit by the selling price, and markup divides profit by the cost. A product that costs $30 and sells for $50 has a 40 percent margin and a 66.7 percent markup. Adding 40 percent to a $30 cost gives a $42 price and a margin of only 28.6 percent.
How do I calculate profit margin on a single product?
Add up every cost the sale creates, product cost, packaging, shipping, and fees, then subtract that total from the selling price, divide by the selling price, and multiply by 100. For example, a $25 candle with $12.03 in costs earns $12.97, a margin of 51.9 percent.
Is a 50 percent profit margin good?
A 50 percent gross margin is normal and often necessary, because shipping, fees, ads, and overhead still come out of it. A 50 percent net margin is rare for a physical-product store, so before trusting it, check that owner pay, returns, fees, ad costs, interest, and taxes are included.

Leave a Reply