How to Calculate Profit Margin for E-Commerce
Quick Definition
Profit margin is the percentage of revenue that remains as profit after subtracting all costs. For e-commerce, this includes product cost, platform fees, shipping, and advertising.
Gross vs Net Profit Margin
Gross margin = (Revenue - COGS) ÷ Revenue × 100. This excludes platform fees, ads, and overhead. Net margin = (Revenue - All Costs) ÷ Revenue × 100. This is your true bottom line. A product with 70% gross margin might only have 20% net margin after Amazon fees (15%), FBA fulfillment (10%), PPC (15%), and other costs (10%).
Target Margins for E-Commerce
Amazon FBA: aim for 25-35% net margin before PPC, 15-25% after PPC. Shopify/DTC: 40-60% gross margin is typical due to no marketplace fees, but factor in ad costs (often 20-40% of revenue). Dropshipping: 10-30% gross margin is common. If your net margin drops below 15%, you have very little buffer for unexpected costs, returns, or price competition.
The Full Cost Stack
For an Amazon FBA product selling at $24.99: COGS ($4.50) + Inbound Shipping ($0.80) + FBA Fee ($5.50) + Referral Fee ($3.75) + PPC ($3.50) + Returns/Refunds ($0.75) = $18.80 total cost. Net profit: $6.19, or a 24.8% margin. Use AstroMarket's profit calculator or the free tool on our site to model different scenarios.
Improving Your Margins
Increase selling price (test higher prices — conversion often doesn't drop as much as expected). Reduce COGS through larger orders, better suppliers, or product simplification. Optimize PPC to lower ACOS. Reduce return rates through better listings and product quality. Consider product bundles to increase average order value while amortizing fixed fees.
Profit Margin Calculator Tools
Amazon's Revenue Calculator, Jungle Scout's FBA Profit Calculator, Helium 10's Profitability Calculator, and Sellerboard all offer margin calculations — most require paid accounts. AstroMarket's free FBA Profit Calculator gives you a full per-unit breakdown: selling price minus COGS, shipping, Amazon referral fee, and ad costs — with margin percentage, ROI, and color-coded health indicators.
Related Terms
COGS
COGS is the total direct cost of producing or acquiring the products you sell. It includes manufacturing, materials, and freight — but not marketing, rent, or salaries.
ACOS
ACOS (Advertising Cost of Sales) is the percentage of ad spend relative to attributed sales revenue. An ACOS of 25% means you spent $25 in ads to generate $100 in sales.
Amazon FBA
FBA (Fulfillment by Amazon) is a service where Amazon stores your products, picks, packs, and ships orders to customers, and handles customer service and returns.
Product Research
Product research is the process of identifying profitable products to sell online by analyzing demand, competition, margins, trends, and sourcing costs before investing in inventory.
Amazon PPC
Amazon PPC is Amazon's advertising system where sellers bid on keywords to show sponsored product listings in search results. You pay only when a shopper clicks your ad.
FBA Calculator
An FBA calculator estimates your profit per unit by subtracting Amazon fees (referral, fulfillment, storage), product costs, shipping, and advertising from your selling price.
Put Profit Margin data to work
AstroMarket analyzes profit margin alongside competition, trends, sourcing costs, and social signals — all in one AI-powered report.