Back to insights
Cross-Border Ecommerce#ecommerce profit calculator#ecommerce profit margin#profit per order ecommerce#contribution margin ecommerce

Calculating Contribution Margin: The True Measure of Ecommerce Profit

Stop tracking gross revenue and start measuring what matters. Break down your unit economics to see actual profit per order after COGS, ad spend, shipping, and returns.

Published Jun 30, 2026Reading time: 7 minFoundax
Calculating Contribution Margin: The True Measure of Ecommerce Profit

A growing order volume often masks a shrinking bank balance. For US ecommerce merchants, looking strictly at gross revenue or top-line sales can create a dangerous illusion of scale, where every additional transaction actually bleeds cash. Finding true product and channel profitability requires isolating ecommerce unit economics—specifically, the contribution margin.

Contribution margin is an operational metric that answers one central question: after subtracting every cost directly triggered by an order, how much money is left over to pay for fixed overhead and generate profit? It separates variable fulfillment realities from fixed expenses like warehouse leases and salaried payroll. While contribution margin is a non-GAAP measure—as noted in eHealth, Inc.’s 2025 Annual Report, which reconciles its own margin to gross profit and warns that other companies calculate it differently—it is the indispensable tool for knowing whether an ecommerce strategy is sustainable.

Ecommerce contribution margin model from net revenue and order-level variable costs to break-even acquisition cost and stop conditions

The Ecommerce Profit Calculator Formulas

To build a reliable contribution margin ecommerce calculator, you must account for returns from both directions: the revenue lost when the item comes back, and the processing costs incurred to restock it. Furthermore, you must factor in payment processing fees according to your merchant agreement, as refund handling varies by processor. For the worked examples below, we assume a hypothetical payment fee of 2.9% + $0.30 applied to the pre-return transaction value, but you should replace this with your actual processor pricing and refund rules.

Calculate your unit economics using these explicit formulas:

  • Net Selling Price: Gross Selling Price - Discounts
  • Net Revenue: Net Selling Price * (1 - Expected Return Rate)
  • Payment Fee: (Net Selling Price * 2.9%) + $0.30 (Substitute your actual processor rate and refund rules)
  • Expected Return Cost: (Return Carrier Fee + Restocking Labor per returned unit) * Expected Return Rate
  • Total Variable Cost: Cost of Goods Sold (COGS) + Pick & Pack Labor + Outbound Shipping + Payment Fee + Expected Return Cost
  • Contribution Dollars ($): Net Revenue - Total Variable Cost
  • Contribution Margin (%): Contribution Dollars / Net Revenue
  • Break-even Acquisition Cost (CAC): Contribution Dollars
  • Required Order Volume (Units): Total Fixed Costs / Contribution Dollars

Three Illustrative Worked Scenarios

To see how variable costs distort gross margins, consider three hypothetical product scenarios. These numbers serve as structural examples, not industry benchmarks.

Scenario A: The Gateway Product (High Volume, Low Margin)

An inexpensive item used to acquire customers, relying on cheap shipping.

  • Gross Price: $50 (No discount)
  • Return Rate: 5%
  • Net Revenue: $50 * 0.95 = $47.50
  • Variable Costs: COGS ($15) + Pick/Pack ($2) + Shipping ($6) + Payment Fee ($1.75) + Expected Return Cost ($10 return cost * 5% = $0.50) = $25.25
  • Contribution Dollars: $47.50 - $25.25 = $22.25
  • Contribution Margin: 46.8%
  • Break-even CAC: $22.25
  • Required Volume for $5,000 Fixed Costs: 225 orders

Scenario B: The Apparel Item (High Return Rate)

Apparel suffers from sizing issues. The National Retail Federation and Happy Returns estimated that 19.3% of US online sales would be returned in 2025 and identified processing and carrier costs among the operational reasons retailers charge for returns. In this scenario, we model a hypothetical 25% return rate where the merchant absorbs those costs.

  • Gross Price: $120 ($20 discount applied -> $100 Net Selling Price)
  • Return Rate: 25%
  • Net Revenue: $100 * 0.75 = $75.00
  • Variable Costs: COGS ($20) + Pick/Pack ($3) + Shipping ($9) + Payment Fee ($3.20) + Expected Return Cost ($12 return cost * 25% = $3.00) = $38.20
  • Contribution Dollars: $75.00 - $38.20 = $36.80
  • Contribution Margin: 49.1%
  • Break-even CAC: $36.80
  • Required Volume for $5,000 Fixed Costs: 136 orders

Scenario C: The Heavy Item (High Shipping, Low Return)

Large items deter casual returns but severely penalize free shipping offers.

  • Gross Price: $200 (No discount)
  • Return Rate: 2%
  • Net Revenue: $200 * 0.98 = $196.00
  • Variable Costs: COGS ($80) + Pick/Pack ($5) + Shipping ($45) + Payment Fee ($6.10) + Expected Return Cost ($50 return cost * 2% = $1.00) = $137.10
  • Contribution Dollars: $196.00 - $137.10 = $58.90
  • Contribution Margin: 30.1%
  • Break-even CAC: $58.90
  • Required Volume for $5,000 Fixed Costs: 85 orders

Sensitivity Grid: Stress-Testing the Variables

Shopify’s 2026 KPI guide distinguishes Customer Acquisition Cost (CAC) from other commerce measures and reports that tracking practices differ among stores in its Q4 2025 owner survey. Because CAC must be measured as a specific channel input and these subsidies fluctuate daily, you must test how isolated changes impact your final profit per order.

The baseline below assumes an $80 gross price, $20 COGS, $2 pick/pack, $8 standard shipping, a 10% return rate ($10 processing cost per return), and a $20 CAC.

ScenarioNet RevenueTotal Variable CostContribution DollarsChannel CACFinal Profit Per Order
Baseline$72.00$33.62$38.38$20.00$18.38
High Discount (20% Off)$57.60$33.16$24.44$20.00$4.44
High Returns (25% Rate)$60.00$35.12$24.88$20.00$4.88
Shipping Subsidy ($15 Cost)$72.00$40.62$31.38$20.00$11.38
Rising CAC ($40 Cost)$72.00$33.62$38.38$40.00-$1.62

Translating Math into Action Thresholds

A rigorously calculated profit per order ecommerce model removes emotion from catalog management. Compare your contribution dollars against your actual channel CAC to trigger one of four commercial decisions.

Stop

If Contribution Dollars are negative before CAC is even applied, the product is structurally unprofitable. Every unit sold burns cash. You must immediately delist the item, shift fulfillment to a third party to lower variable costs, or drop the product line entirely.

Bundle

If Contribution Dollars are positive but lower than your lowest achievable CAC (e.g., generating $15 in contribution margin when clicks cost $25 to convert), the standalone product is not viable. Bundle it with complementary items to increase the Average Order Value (AOV). This forces the customer to absorb more COGS while consolidating pick, pack, and outbound shipping into a single, more efficient variable cost.

Improve

If the margin is healthy on paper but final profit per order vanishes due to returns (as seen in the 25% return row of the sensitivity grid), focus on operational triage. Do not adjust pricing yet. Invest in accurate sizing charts, better packaging to prevent transit damage, or high-definition product video to reset customer expectations and drive the return rate down.

Reprice

If the product consistently yields positive final profit but requires an unsustainable volume of orders to cover fixed costs, the margin percentage is simply too thin. You must raise the gross selling price or eliminate promotional discounts to expand the contribution dollars, bringing your break-even required order volume down to a realistic monthly target. If pricing alone is not the primary bottleneck, exploring ecommerce conversion rate optimization can help shift the focus from strict unit-economics math to a broader sales-and-profit diagnosis.

FAQ

What is the first cost to check before entering a new market?

Start with landed cost by SKU: product cost, duty, shipping, tax handling, payment cost, and expected return path. If this view is weak, traffic and localization decisions will be based on incomplete margin.

How often should cross-border margins be reviewed?

Review top SKUs monthly and before any major promotion, platform policy change, carrier change, or new-market launch. Duty, shipping, FX, and platform fees can move faster than annual planning cycles.

Should every market get a localized storefront?

Prioritize markets where search demand, conversion potential, compliance workload, and margin can justify the work. Localization is strongest when it includes product facts, policy clarity, currency, shipping expectations, and support paths, not only translated copy.

How should DTC brands use marketplaces in this model?

Use marketplaces where they create efficient discovery or conversion, then compare their effective take rate with owned-store economics. The goal is channel clarity: know which products belong on platform, which should move to DTC websites, and which need price or fulfillment changes.

How does Foundax help with margin visibility?

Foundax connects storefront pages, product data, SEO/GMC preflight, localized content, and first-party analytics. That makes it easier to see whether a margin issue is caused by product facts, public content, channel data alignment, fulfillment assumptions, or measurement gaps.