MarginKit

Margin Compression Guide

How to calculate profit margin after shipping and fees

Real margin is what remains after product cost, shipping, payment fees, and recurring variable costs. Use this method to avoid overestimating contribution and to set safer pricing and promo thresholds.

Short direct answer

Margin after shipping and fees = (Selling price - Product cost - Shipping - Payment fees - Other variable costs) / Selling price.

Gross margin is a screening metric. Fee-adjusted margin is the operating metric you should use for discount, reorder, and paid traffic decisions.

Core difference

Why gross margin differs from real margin

Gross margin often looks healthy because fee layers are not loaded yet.

Gross margin view

  • Uses selling price minus product cost only
  • Fast for rough SKU screening
  • Can hide shipping and fee drag
  • Often overstates pricing flexibility

Real margin view

  • Loads shipping, payment, and channel-variable costs
  • Reflects true per-unit contribution
  • Improves discount and ad spend decisions
  • Supports safer break-even thresholds

Formula breakdown in plain language

Real margin (%) = ((Selling price - Product cost - Shipping - Payment fees - Other variable costs) / Selling price) x 100

  • Shipping and fulfillment: Treat as per-unit variable costs if they scale with each order.
  • Payment and channel fees: Include recurring transaction fees and marketplace charges.
  • Import allocations: If you import inventory, add landed-cost components to avoid underpricing.

Worked scenario

Worked example with full cost loading

One SKU sold at $52 with realistic fee layers.

Inputs

  • Selling price: $52.00
  • Product cost: $26.00
  • Shipping and fulfillment: $5.00
  • Payment processing: $1.80
  • Import allocation + other variable fees: $4.70

Outputs

  • Gross margin: 50.0%
  • Fee-adjusted margin: 27.9%
  • Profit per unit drops from $26.00 to $14.50
  • Margin compression: -22.1 percentage points

Progression view

Stage-by-stage margin erosion

Load costs in sequence to isolate where margin compression starts.

Margin states

Stage 1

Gross margin

50.0% margin

Price $52, product cost $26.00. This is gross margin before operational drag.

Stage 2

After shipping

40.4% margin

Add $5.00 shipping and fulfillment. Profit per unit drops from $26.00 to $21.00.

Stage 3

After payment fees

36.9% margin

Add $1.80 payment processing. Contribution shrinks again.

Stage 4

After shipping + import + variable fees

27.9% margin

Add $3.20 import allocation and $1.50 other variable fees for a decision-grade margin.

Comparison table

Gross margin vs shipping and fee-adjusted margin

Use this structure for SKU-level pricing reviews.

ScenarioIncluded costsTotal variable cost / unitProfit per unitMargin
Gross marginProduct cost only$26.00$26.0050.0%
Margin after shipping+ shipping and fulfillment$31.00$21.0040.4%
Margin after payment fees+ payment processing$32.80$19.2036.9%
Margin after shipping + import costs+ import allocation + other variable fees$37.50$14.5027.9%

Primary visual

How quickly fee loading compresses margin

Margin falls while cumulative cost load approaches the selling-price ceiling.

Real margin (%)Cumulative cost load (% of price)
21%33%44%56%67%79%Gross margin+ Shipping+ Payment fees+ Shipping +import +variable feesPercentCost layers included

Fee-adjusted margin is the baseline you should test before running promotions. To capture import overhead correctly, pair this page with how to calculate landed cost and the landed cost formula.

What compresses margin the fastest?

These factors usually create the largest gross-vs-real gap:

  • Fulfillment and shipping on low-AOV SKUs
  • Payment processing drag during discounts
  • Import charges not allocated at unit level
  • Channel fees loaded too late in pricing workflow

From margin estimate to decision-ready margin

Teams often start with gross margin and then approve campaigns before full fee loading. This is where avoidable erosion happens. Move from estimate to decision-grade margin before discounting or scaling spend.

Next step: stress-test promo economics with discount margin analysis and validate price floors with the break-even selling price tool.

Common mistakes

  • Treating shipping as overhead instead of a per-order margin input.
  • Excluding payment and channel fees from pricing decisions.
  • Ignoring import charges when calculating real product economics.
  • Comparing revenue growth without contribution margin trend by SKU.

Practical operator recommendations

  • Track gross and real margin separately so tradeoffs are visible.
  • Use fee-adjusted margin thresholds for pricing and promotions.
  • Recalculate margins when shipping, payment, or import costs change.
  • Pair real margin checks with break-even floor modeling before launch.

Calculate real margin before you commit pricing

Run full fee-stack checks, then set safer floor prices and discount depth limits.

FAQ

Frequently asked questions

Quick clarifications for fee-aware margin decisions.

Related

Related tools

Use these next to compare scenarios and validate decisions from multiple angles.