Profit margin is the single most important number for any ecommerce seller. It tells you whether your business is actually making money — not just generating revenue. Many sellers focus on sales volume and total revenue, only to discover at the end of the month that their bank balance hasn't grown. Understanding and calculating your profit margin correctly is how you avoid that trap.

This guide explains the profit margin formula, shows you how to calculate it for different platforms, provides real benchmarks, and explains how to use our free calculator to get your answer in under 10 seconds.

The formula
Profit Margin % = (Net Profit ÷ Revenue) × 100 · Net Profit = Revenue − All Costs (product, fees, shipping, ads)

The Profit Margin Formula Explained

Profit margin is expressed as a percentage. A 30% profit margin means that for every $100 in revenue, you keep $30 as profit after all costs are deducted. There are two versions you'll encounter:

Gross Profit Margin

Gross profit margin only subtracts your product cost (Cost of Goods Sold, or COGS) from revenue. It tells you how much money is left before operating expenses.

Gross Profit Margin = (Revenue − COGS) ÷ Revenue × 100

Example: You sell a product for $40. The product costs you $12. Gross profit = $28. Gross margin = $28 ÷ $40 × 100 = 70%.

Net Profit Margin

Net profit margin subtracts everything — product cost, platform fees, shipping costs, advertising spend, subscriptions, and any other expenses. This is the number that actually matters for your business.

Net Profit Margin = (Revenue − COGS − Fees − Shipping − Ads − Other) ÷ Revenue × 100

Same example with all costs: Product $12 + Etsy fee $2.60 + Processing $1.45 + Shipping $4.00 = $20.05 total costs. Net profit = $19.95. Net margin = $19.95 ÷ $40 × 100 = 49.9%.

The gap between gross margin (70%) and net margin (49.9%) in this example is nearly 20 percentage points. In categories with heavy platform fees or high advertising costs, this gap can reach 40+ percentage points. Always calculate net margin — gross margin is useful for comparing products but misleading for business decisions.

Profit Margin by Platform — Key Differences

Typical Net Profit Margin Range by Platform
What successful sellers actually achieve after all costs

The platform you sell on fundamentally shapes what margin you can achieve. Here's why each platform differs:

Etsy (25–45%) — Moderate fees (6.5% + ~3.25% processing) and no mandatory advertising minimum make Etsy one of the more margin-friendly platforms for handmade and vintage sellers. The key variable is your own materials cost and time.

Amazon FBA (20–35%) — Amazon's 15% referral fee, FBA fulfillment fees, and near-mandatory PPC advertising compress margins significantly. Sellers who achieve 35%+ on Amazon typically have strong private label products with low sourcing costs and optimized advertising.

Shopify DTC (20–45%) — Shopify's platform fees are low (2.9% + $0.30 processing), but you pay for your own traffic. Customer acquisition costs via paid social or Google ads often range $15–$45 per customer, which dominates the margin equation. Established brands with strong email lists achieve the highest Shopify margins.

Walmart Marketplace (25–40%) — Lower competition than Amazon in most categories, no monthly subscription fee, and a 6–15% referral fee (averaging ~8%) make Walmart attractive for sellers who qualify. The trade-off is lower traffic volume.

Digital products on Etsy (60–80%) — Printables, templates, and digital downloads have negligible COGS after the initial creation cost. The same file sells unlimited times, making these the highest-margin products available to individual creators on any platform.

How to Use the Profit Margin Calculator

Our free calculator handles the complex fee math for you. Here's how to use it for the most accurate result:

  1. Select your platform tab — Etsy, Shopify, Amazon FBA, Walmart, eBay, or TikTok Shop. The platform fee is pre-loaded automatically.
  2. Enter selling price — the amount the buyer pays, not what you receive after fees.
  3. Enter product cost — all costs to produce or acquire the item, including inbound shipping for Amazon FBA.
  4. Enter shipping cost — what you actually pay to ship. If you offer free shipping, enter your actual postage cost here.
  5. Enter ad spend — your average advertising spend per sale. Divide your total monthly ad spend by monthly sales to get this figure.
  6. Click Calculate — see net profit, net margin %, and break-even price instantly.

What is a Good Profit Margin?

The right margin target depends on your platform and product category. As a general guide for ecommerce sellers:

  • Below 15%: Danger zone. Any cost increase — material prices, shipping, higher fees — can push you into a loss. Raise prices or cut costs urgently.
  • 15–20%: Tight but workable. You can survive here but have little cushion for unexpected costs or growth investment.
  • 20–30%: Healthy. The target range for most ecommerce businesses. You can absorb occasional returns, invest in advertising, and grow steadily.
  • 30–45%: Strong. You have room to scale aggressively, test new products, and build your business with real financial stability.
  • 45%+: Excellent. Typically seen with digital products, premium handmade goods, or well-optimized private label brands.

How to Improve Your Profit Margin

Raise your prices

This is the most direct lever. A 10% price increase on a product with 20% margin and stable demand can improve your margin to approximately 27% — a 35% improvement in profit per sale. Test modest price increases rather than assuming customers will leave; price sensitivity is often lower than sellers fear, especially on platforms like Etsy where buyers value uniqueness over price.

Reduce your largest cost

Identify whether product cost, fees, shipping, or advertising is your biggest cost. Focus your attention there first. Reducing your largest cost by 15% has more impact than cutting three smaller costs by 5% each.

Eliminate low-margin products

Run every product in your catalogue through the profit margin calculator. Products below 15% margin consume your working capital and time without proportionate return. Discontinue or significantly reprice these — your shop performs better with fewer high-margin products than many thin-margin ones.

Increase average order value

Fixed costs (like Etsy's $0.25 payment processing or Amazon's professional seller subscription allocated per order) are less significant as order value increases. Bundles, multipacks, and upsells increase your per-transaction revenue while spreading these fixed costs more efficiently.

Calculate your profit margin right now — free

No signup, no email, no loading time. Select your platform, enter your numbers, get your exact margin in seconds.

Open the Free Profit Margin Calculator →

Frequently Asked Questions

What is a good profit margin for a small business?

For ecommerce small businesses, a net profit margin of 20–30% is considered healthy. This provides enough cushion to cover unexpected costs, invest in growth, and sustain the business long-term. Below 15% is a warning sign. Above 30% is excellent and indicates strong pricing power or low-cost operations.

How do I calculate profit margin in Excel?

In Excel: enter your revenue in cell A1 and total costs in cell B1. In cell C1, enter the formula =(A1-B1)/A1*100. This gives you the net profit margin percentage. Format C1 as a percentage for cleaner display. Alternatively, use our free online calculator which handles all platform-specific fees automatically.

Is 50% profit margin good for Etsy?

Yes — 50% net profit margin is excellent for Etsy. Handmade sellers with efficient sourcing, good pricing, and low ad spend can achieve 40–60% margins. Digital product sellers often achieve 70–80%+ net margins since there is virtually no per-sale cost after the product is created.

How does markup differ from margin?

Markup is calculated on cost (Markup % = Profit ÷ Cost × 100), while margin is calculated on revenue (Margin % = Profit ÷ Revenue × 100). A product costing $10 sold for $15 has a 50% markup but only a 33% margin. Margin is the more useful metric for ecommerce sellers because platform fees and most comparisons are revenue-based.