๐Ÿ“Š Guide ยท Updated June 2026

How to Calculate Profit Margin

โœ๏ธ By CalcFees Editorial Team ๐Ÿ“… June 2026 โฑ๏ธ 6 min read

๐Ÿ“‘ Table of Contents

  1. The Profit Margin Formula
  2. Real Examples
  3. How Platform Fees Impact Margin
  4. Setting a Target Margin

Knowing your true profit margin โ€” after platform fees, not just product cost โ€” is the difference between a sustainable business and one that's secretly losing money on every sale.

Quick answer: Profit Margin % = (Sale Price โˆ’ Total Costs) รท Sale Price ร— 100. Always include platform fees, not just product cost, in your "Total Costs."

1. The Profit Margin Formula

๐Ÿ“ Formula

Profit Margin % = (Revenue โˆ’ Total Costs) รท Revenue ร— 100

Total Costs = Product Cost + Shipping + Platform Fees + Payment Processing

2. Real Examples

Sale PriceProduct CostPlatform FeeProfitMargin
$50$15$5.10 (eBay)$29.9059.8%
$50$15$5.06 (Etsy)$29.9459.9%
$50$15$1.75 (Stripe)$33.2566.5%

3. How Platform Fees Impact Margin

A seemingly small fee difference compounds at scale. Selling 1,000 units/month at $50 each, the difference between a 10% fee platform and a 3% fee platform is $350/month โ€” $4,200/year in lost margin from fees alone.

4. Setting a Target Margin

Most successful e-commerce businesses target 40-60% gross margin before operating expenses. If your calculated margin falls below 30% after platform fees, consider raising prices, switching platforms, or reducing product costs through better sourcing.

Frequently Asked Questions

What's a good profit margin for e-commerce?
Generally 40-60% gross margin is healthy for most product categories, though this varies significantly by industry โ€” handmade goods often run higher, electronics resale often lower.
Should I include shipping costs in my margin calculation?
Yes, always include any shipping costs you absorb (not charged to the customer) as these directly reduce your actual profit per sale.
How often should I recalculate my margins?
Review margins quarterly at minimum, or immediately whenever a platform changes its fee structure, as even small fee increases can significantly impact thin-margin products.
โœ๏ธ
CalcFees Editorial Team
Fee data verified against official sources ยท Last updated June 2026