Glossary

Contribution margin (ecommerce): formula, example and common mistakes

Updated · Ecomsellertool

Short answer

Contribution margin in ecommerce is what an order leaves after its variable costs: net revenue minus landed product cost, marketplace and payment fees, fulfillment and shipping, and returns. Because ad spend also scales with orders, it is best reported twice: before and after the ads it took to win the order. That remainder, per unit, per SKU or as a percentage of net revenue, has to cover payroll, software and rent before there is any profit.

  • Contribution margin per unit = net selling price − variable cost per unit; the contribution margin ratio divides that figure by the selling price.
  • Total contribution margin (per-unit margin × units sold) covers fixed costs first; only what remains after fixed costs is operating profit.
  • Gross margin can include allocated fixed overhead in cost of goods, while contribution margin subtracts only variable costs, so the two can rank the same product differently.
  • Amazon's US referral fee is a percentage of the total price, including shipping and gift wrap, or a $0.30 minimum in most categories, whichever is greater; rates run from 3% to 45% by category and price tier.
  • FBA fulfillment fees depend on price, weight and dimensions. A returns processing fee applies when Amazon offers free return shipping and, outside apparel and shoes, to returns above a category threshold.
  • The SP-API Finances API (listTransactions, version 2024-06-19) returns fees and refunds as transactions; orders from the last 48 hours may be missing, and deferred transactions stay marked deferred until released.

Definition: Contribution margin (ecommerce)

Contribution margin is net revenue from a sale minus every cost that rises with that sale: landed product cost, marketplace and payment fees, fulfillment and returns. Many ecommerce operators also subtract the ad spend that won the order. What remains pays for fixed costs such as team, software and rent, and then becomes profit.

Revenue says how much came in. Contribution margin says how much of it stayed after each order paid for itself. It is also easy to overstate, because its inputs live in different systems: supplier invoices, marketplace settlements, 3PL bills and the ad console.

How do you calculate contribution margin?

Contribution margin = net revenue − variable costs

The contribution margin ratio divides it by net revenue. Total contribution margin (per-unit margin times units sold) pays for fixed costs first; only what is left is operating profit.

In ecommerce, variable costs are everything that grows with each order: landed product cost (unit, freight, duty), marketplace fees, payment processing where it is billed separately, pick, pack and shipping, and returns. Ad spend that wins orders grows the same way, so report contribution before and after ads. Payroll, software and rent are fixed and sit below the line.

One unit sold on Amazon US at $30, with illustrative costs:

LinePer unitShare of $30
Sold price, after discounts$30.00100%
Landed product cost−$8.0026.7%
Referral fee at 15%−$4.5015.0%
FBA fulfillment fee (assumed)−$5.5018.3%
Storage and returns allowance (assumed)−$1.003.3%
Contribution margin before ads$11.0036.7%
Ad spend per unit sold (assumed)−$6.0020.0%
Contribution margin after ads$5.0016.7%

Subtract only product cost and this unit shows a 73% gross margin. After fees, fulfillment and ads it contributes 16.7%, and that is what actually pays for the team and the tools.

Why does contribution margin matter for operations and growth?

Growth multiplies whatever each order contributes. Scale a SKU with positive contribution after ads and there is more cash to cover fixed costs. Scale one with negative contribution and every extra order deepens the loss.

It also sets the limits other decisions run on:

  • Ad targets. Amazon Ads says ACOS has to stay below profit margin for ads to pay. Contribution margin before ads is that ceiling for each SKU, and margin ACoS turns it into a single 100% break-even line.
  • Price floors. No repricer rule or promotion should push a SKU below its contribution floor.
  • Channel and SKU choices. The same product can earn on one marketplace and lose on another once referral, fulfillment and return costs differ.

Most inputs are operational. Amazon's US referral fee is a percentage of the total price, including any shipping and gift-wrap charges, or a $0.30 minimum in most categories, whichever is greater, from 3% to 45% depending on category and price tier. FBA fulfillment fees depend on price, weight and dimensions. Freight changes landed cost by shipment. When these move and the model does not, the margin you report drifts from the margin you earn.

What mistakes make contribution margin misleading?

  • Stopping at gross margin. Depending on how cost of goods sold is defined, it often leaves out marketplace fees, fulfillment and ads.
  • Using list price. Coupons and deals lower the sold price on exactly the orders you are trying to scale.
  • Leaving out returns. Refunds, return shipping, unsellable units and Amazon's returns processing fee are all variable costs. That fee applies when Amazon offers free return shipping and, outside apparel and shoes, to returns above a category threshold.
  • Ignoring slow stock. Monthly storage keeps accruing, and once units pass about six months in the network, most products also pick up the aged inventory surcharge. See long-term storage fees.
  • Blending. A catalog or channel average hides the SKUs that lose money. Calculate per SKU, per channel.
  • Missing lost units. Units lost at FBA or a 3PL are a cost until reconciled or reimbursed. See 3PL reconciliation.

How does Growth OS calculate contribution margin?

Ecomsellertool Growth OS includes a Reporting module built to keep a live P&L per order, SKU, channel and country on your own accounts. For contribution margin, we connect each input during deployment:

  1. Fees and refunds from marketplace settlement data. On Amazon, the SP-API Finances API (listTransactions, version 2024-06-19) returns fees and refunds as transactions. Orders from the last 48 hours may be missing and deferred transactions stay marked deferred until released, so the newest orders need estimated fees until actuals post. The older v0 financial-events operations were deprecated in July 2025 and are removed on August 27, 2027.
  2. Landed cost from your purchase orders and supplier invoices, next to the replenishment data that drafts your POs.
  3. Fulfillment and returns from FBA fee data and your 3PL bills. Growth OS's daily reconciliation of 3PL and FBA counts flags variances while they are still recoverable.
  4. Ad spend per SKU from ads reporting, so you see contribution before and after ads.

With contribution per SKU, a product that loses money after ads stands out instead of hiding in a blended average. The same numbers inform price floors and reorder decisions and feed inventory-aware ad spend, which follows the margin-aware approach we built for Amazify. After handover, your data and the custom modules we build are yours; the base system is licensed to you.

Where should you start?

If you can quote revenue per SKU but not contribution after ads, start with the free Quick Scan in the Ops Gap Diagnostic. You upload five standard Amazon reports and get your top three operations gaps, each with a yearly dollar estimate. To see the base system first, look at Growth OS.

Frequently asked questions

What is the difference between contribution margin and gross margin?

Gross margin subtracts cost of goods sold, which can include allocated fixed overhead. Contribution margin subtracts only variable costs, and in ecommerce those include marketplace fees, fulfillment and ads that gross margin often leaves out, depending on how your cost of goods sold is defined. A product can look strong on gross margin and still lose money on every order.

Should ad spend be included in contribution margin?

For ecommerce, yes: ad spend rises with the orders it wins, so it behaves like a variable cost. Report contribution margin before and after ads, because the before-ads figure is the ceiling for ad spend and the after-ads figure is what the business keeps.

What is a good contribution margin for an ecommerce brand?

There is no universal number. In total it has to cover fixed costs and leave profit, so track it per SKU and per channel, and treat any SKU with negative contribution after ads as one to reprice, fix or cut.

Is Amazon FBA still profitable in 2026?

That depends on each SKU, not the program. Calculate contribution margin per SKU with current referral, fulfillment, storage and ad costs; some products earn well through FBA and others only work with your own fulfillment or on another channel.

Sources

  1. 3.1 Explain Contribution Margin and Calculate Contribution Margin per Unit, Contribution Margin Ratio, and Total Contribution Margin, OpenStax, Rice University (accessed 2026-09-24)
  2. Contribution margin definition, AccountingTools (accessed 2026-09-24)
  3. Selling on Amazon fees and pricing, Amazon (accessed 2026-09-24)
  4. Fulfillment by Amazon (FBA), Amazon (accessed 2026-09-24)
  5. What is advertising cost of sales (ACOS)? Calculation and tips, Amazon Ads (accessed 2026-09-24)
  6. Updates to the Return Insights dashboard and Returns Processing Fee reminder, Amazon Seller Forums (News_Amazon) (accessed 2026-09-24)
  7. Selling Partner API for Finances, version 2024-06-19 (API model), Amazon Selling Partner API (accessed 2026-09-24)
  8. SP-API Deprecation Schedule, Amazon Selling Partner API documentation (accessed 2026-09-24)

Find out what this gap costs your brand.

A free Quick Scan of your reports shows your top three operations gaps with a dollar estimate for each, in three business days.