Back to Blog
Finance6 min read2026-02-08

How to Calculate Profit Margin for E-commerce — Complete Guide

Why Most Sellers Miscalculate Their Margins

The #1 financial mistake in e-commerce: calculating margin as just (Sell Price - Buy Price). That ignores 40-60% of your actual costs.

The Real E-commerce Margin Formula

Net Margin = Sell Price - COGS - Shipping - Ad Spend - Platform Fees - Returns - Overhead

Example Calculation

Let's say you sell a product for €39.95:

CostAmount% of Revenue |------|--------|-------------| COGS (product)€12.0030% Shipping to customer€4.5011% Advertising (15%)€5.9915% Platform fees (3% DTC)€1.203% Returns (8%)€3.208% Total Costs€26.8967% Net Profit€13.0633%

That €39.95 product actually makes you €13.06 — a 33% net margin. Not the 70% you thought when you saw the product cost was €12.

Use the Profit Calculator to run your own numbers instantly.

What's a Good Margin?

Below 20%: Dangerous — one bad month erases profits
20-35%: Viable but tight — limited room for error
35-50%: Healthy — room for growth and reinvestment
50%+: Excellent — typical for DTC brands with strong branding

Hidden Costs That Kill Margins

1. Returns (5-15%): Fashion is worst, supplements/consumables are lowest 2. Payment processing (2-3%): Stripe, Mollie, iDEAL all take a cut 3. Software (€50-200/month): Email, analytics, inventory management 4. Customer service: Your time or a VA 5. Packaging: Branded packaging adds €0.50-€2 per unit

Margin by Business Model

DTC (Shopify): 35-60% typical. Low platform fees, but you pay for traffic
Amazon FBA: 20-35% typical. High fees but high conversion rates
B2B Wholesale: 15-30% typical. Lower margins but larger order volumes
Dropshipping: 15-30% typical. No inventory risk but supplier markups

Related reading:

Calculate Your Margins Free →

Ready to find your niche?

Start your first market analysis for free. No credit card required.

Try AI MarketScout Free