E-commerce & Online SellingGross vs Net Margin

E-commerce Profit Margin Calculator

Calculate both gross margin and net margin for your online retail products by factoring COGS, shipping, marketplace fees, and advertising.

Gross vs Net Margin Breakdown
Gross Margin
70.0% ($42.00)
Net Margin
28.3% ($17.00)
Total Expenses / Unit
$43.00
Expense Ratio
71.7% of Price

Gross & Net Profit Margin Formulas

Gross Margin = (Price - COGS) / Price × 100; Net Margin = [Price - (COGS + Fees + Shipping + Ads)] / Price × 100
  • Gross Profit: Revenue minus direct product manufacturing cost (COGS).
  • Gross Margin %: Percentage of revenue left after product costs to pay for operations and marketing.
  • Net Profit: What remains after paying COGS, payment fees, pick-and-pack shipping, and advertising CAC.
  • Net Margin %: The true bottom-line profitability percentage kept by the business.

Step-by-Step Worked Example

Scenario:

Calculation Steps:

    Result:

    How to Use This Calculator

      Assumptions & Limitations

      • COGS includes factory unit price and allocated inbound freight per unit.
      • All variables scale on a per-order basis.

      Frequently Asked Questions

      Why can a product have a great gross margin but negative net margin?

      A product with an 80% gross margin can still lose money if customer acquisition cost (ad spend) or heavy shipping fees exceed the remaining gross profit.

      What is a typical net margin for an e-commerce store?

      Average e-commerce net profit margins typically range between 10% and 20%, with exceptional brands exceeding 25% through high repeat purchase rates.

      Related Cost Calculators

      E-commerce Product Pricing Calculator

      Calculate the optimal retail selling price for your e-commerce products based on manufacturing COGS, shipping, ad spend, merchant fees, and target profit margin.

      Dropshipping Profit Calculator

      Calculate net profit, profit margins, maximum allowable ad spend (CPA), and break-even selling prices for AliExpress, CJ Dropshipping, or Zendrop orders.

      E-commerce Net Profit Calculator

      Calculate comprehensive net profit and profit margins by factoring gross revenue, customer returns, product COGS, platform fees, shipping, and advertising.