Contribution margin is what an order leaves you after you subtract every cost that rises and falls with that sale. For an Amazon or Shopify seller, those costs include product cost, inbound freight, marketplace and payment fees, fulfillment, returns and, at the deepest layer, ad spend. Whatever is left pays your fixed costs first and becomes profit after that.

It is the number behind a frustrating pattern many sellers know well: revenue climbs every quarter while the bank balance barely moves. A $30 product with a 70% gross margin can earn about $6 an order on Amazon once fees, returns and PPC are counted, and under $4 on Shopify. Payroll, software and rent cost the same whether you ship 500 orders or 5,000, and contribution margin is the pool that has to cover them. That makes it the starting point for pricing, ad budgets and deciding which SKUs deserve another purchase order.

The Contribution Margin Formula

Contribution margin equals net revenue minus variable costs. You can express it per unit, in total dollars or as a percentage of revenue. The arithmetic takes seconds. The inputs take more care, because most errors come from starting with the wrong revenue figure or putting a cost in the wrong bucket.

Start With Net Revenue, Not the Amazon or Shopify Payout

Net revenue is gross sales minus discounts, coupons, promotional rebates and refunds. It is what customers paid you after anything you gave back.

The deposit that lands in your bank account is the wrong starting point, and it is the most common error in seller-built margin sheets. Amazon has already pulled out referral fees, FBA fees, advertising charges, storage fees and any reserve before it sends a settlement. Shopify Payments nets out processing fees before each payout. Start from the deposit and you will subtract some fees twice while others never appear at all. A payout can also include money from orders placed last month, or hold back money from this month’s orders, so it rarely lines up with the period you are measuring.

Pull gross sales from your Seller Central or Shopify reports, subtract the discounts and refunds for the same period, then list each fee on its own line. Books kept on an accrual basis make this much easier, because revenue lands in the month you earned it, whatever day Amazon happens to pay.

Sort Variable, Fixed and Mixed Costs

A cost is variable if selling one more unit makes it go up. For an online seller, that list covers the product itself, inbound freight and duties, packaging, referral fees, payment processing, FBA or 3PL pick and pack, outbound postage, return costs and per-order affiliate commissions. Performance advertising behaves as a variable cost for most brands too.

Fixed costs stay flat from month to month: salaries, software subscriptions, bookkeeping and rent.

Mixed costs carry a base charge plus a usage charge. A 3PL might bill a monthly minimum plus a per-order fee, and Amazon storage scales with how much inventory you hold rather than how many units sold this month. Put the per-order portion in variable costs, leave the base charge in fixed costs, and keep the split identical every month. Move a cost between buckets and your trend line stops meaning anything.

Per Unit, in Total and as a Ratio

Unit contribution margin is the selling price minus variable cost per unit. A SKU that sells for $30 with $22 of variable costs contributes $8 per unit. At 1,000 units, that SKU puts $8,000 toward overhead and profit.

The contribution margin ratio divides contribution by net revenue: $8 รท $30 = 26.7%. Roughly 27 cents of every sales dollar is left for overhead. The ratio lets you compare a $15 accessory with a $90 bundle on equal terms, which is the comparison you need when deciding where the next ad dollar goes.

How It Differs From Gross Margin and Net Profit

Gross margin, contribution margin and net profit margin all start at revenue and stop at different lines. Each one answers a different question, and mixing them up leads to pricing decisions that look sound on paper and lose money in practice.

Gross Profit Stops at COGS

Gross profit is net revenue minus cost of goods sold. On many ecommerce income statements, COGS holds landed product cost (the unit price, inbound freight, duties and prep), while referral fees, FBA fees, payment processing, outbound shipping and ads sit below the gross profit line as operating expenses. That is how a product can show a 65% gross margin and still lose money on every order. Contribution margin pulls those selling costs back into the per-order view, where they belong when you make product decisions.

Contribution Is Neither Net Income Nor Cash

Net income is what remains after fixed costs, interest and taxes as well. A month with $20,000 of contribution and $25,000 of fixed costs is still a $5,000 loss.

Contribution also tells you nothing about cash. The $40,000 sitting in inventory on your balance sheet, or an Amazon reserve holding back part of a settlement, never shows up in a per-unit margin. A SKU can contribute well and still tie up cash for months.

CM1, CM2 and CM3: Layered Contribution Reporting

Layered reporting splits contribution into three steps so you can see exactly where margin leaks out of an order.

CM1 is net revenue minus landed COGS. It closely tracks gross profit per unit.

CM2 subtracts the cost of completing the sale from CM1: marketplace commissions, card processing, fulfillment charges, outbound shipping, packaging and expected return costs.

CM3 subtracts advertising tied to the sale, such as Amazon PPC, Meta, Google and affiliate commissions. CM3 is the closest measure of what an order adds to the business.

Write these definitions down once and use them every month. If CM2 includes storage one quarter and leaves it out the next, the comparison is worthless.

Worked Example: One Product on Amazon and Shopify

Take one product selling for $30 on both channels. The fee figures are illustrative, so use your current Amazon fee schedule and your Shopify plan rates for real decisions.

On Amazon, landed COGS is $9.00 (an $8.00 unit cost plus $1.00 of inbound freight). That gives a CM1 of $21.00, or 70%. Subtract a 15% referral fee of $4.50, an FBA fulfillment fee of $5.00 and a returns allowance of $0.90, and CM2 comes to $10.60, or 35.3%. After $4.50 of PPC per unit, CM3 lands at $6.10, or 20.3%.

On Shopify, CM1 is the same $21.00. Shopify Payments at the Basic plan’s US online rate for standard cards, 2.9% plus 30 cents, costs $1.17. Add $3.00 of 3PL pick and pack, $5.50 of postage, $0.50 of packaging and a $1.20 returns allowance, and CM2 comes to $9.63, or 32.1%. Shopify traffic has to be bought, so ad cost per order tends to run higher. At $6.00 per order, CM3 lands at $3.63, or 12.1%.

Gross margin is identical on both channels. The gap opens at CM3, where Amazon’s cheaper traffic outweighs its higher fees. Raise the Shopify order value with a bundle, or bring ad cost down through repeat buyers, and the result can flip. Comparing channels at this depth is the core of multi-channel ecommerce accounting by channel, and the Amazon fee side is broken down further in our guide to calculating Amazon FBA profit margin.

Sellers who build this table for the first time usually find at least one SKU or channel earning far less than they assumed. If you would like a CPA to look over your own margins with you, talk to our ecommerce team.

Count Returns, Fulfillment and Ads Only Once

Double counting is the most common error in unit contribution math. If you already subtracted refunds to reach net revenue, do not subtract the full refund again as a “return cost.” Count only the extra costs a return creates: return postage, any Amazon returns processing fee that applies to your category, and the write-off for units you cannot resell.

Fulfillment has the same trap. If your 3PL invoice bundles postage with pick and pack, leave out the separate shipping estimate. For ads, decide whether you use total ad spend divided by all units sold (a TACoS-style view) or attributed spend only. Total spend is the safer choice for CM3, because it captures the brand and launch campaigns that attribution reports leave out.

Break-Even Sales and Target Profit

Your break-even point in sales dollars equals fixed costs divided by your contribution margin ratio. With $15,000 of monthly fixed costs and a blended CM3 ratio of 20%, you need $75,000 in monthly sales to break even.

To hit a target operating profit, add the target to fixed costs before you divide. A $5,000 monthly profit goal means dividing $15,000 plus $5,000 by 0.20, which gives $100,000 in sales. This is the core of cost-volume-profit analysis, and it needs rerunning whenever fixed costs change, such as after a new hire or a warehouse lease.

The same logic works in units. Break-even units equal fixed costs divided by contribution per unit, so a catalog of products like the Amazon example above, earning $6.10 of CM3 each, needs about 2,459 units a month to cover $15,000 of overhead.

Using Order Economics to Price, Discount and Prune SKUs

Once you know what each order contributes, most pricing and promotion questions become arithmetic instead of guesswork.

Discounts Come Straight Out of Contribution

On the Amazon example, a $3 coupon drops the price to $27. The referral fee falls by $0.45, so CM3 goes from $6.10 to $3.55, a drop of about 42%. You would need roughly 72% more units just to earn the same total contribution, which is a bigger lift than most coupons deliver.

CM2 Sets Your Ad Ceiling

CM2 is the most you can spend on ads per order before that order loses money. On the Shopify example, the ceiling is $9.63, and spending anywhere near it leaves nothing for fixed costs. Set ad targets well below CM2 for mature products. Go closer only for launches where you have evidence that buyers come back.

Rank SKUs by CM3 Dollars

Rank every SKU by total CM3 dollars, not revenue. Bestsellers often fall to the bottom once oversize fees, high return rates and heavy PPC are counted. Before you cut one, test whether repricing it, moving it to another fulfillment method or bundling it would fix the problem.

When a resource is limited, measure contribution per unit of that resource. If your prep team is the bottleneck, contribution per packing hour beats contribution per unit. If FBA capacity limits you, rank SKUs by contribution per cubic foot. Shifting the product mix toward higher earners can raise profit without a single extra order.

Keeping the Model Accurate Month to Month

A spreadsheet handles this well. Give each SKU its own row, with columns for net revenue, landed COGS, each fee, returns and ads, and calculate CM1, CM2 and CM3 by formula. Feed it monthly from your books rather than a seller tool’s estimates, so the totals tie to your P&L. If you would rather not maintain the model yourself, our business advisory and fractional CFO services can help.

A few other errors show up again and again: inbound freight left out of COGS, one average FBA fee applied across size tiers that carry very different fees, and storage treated as a purely per-unit cost. Amazon updates its fee schedule every year and has added holiday peak fees in recent seasons, so refresh your inputs whenever fees change. Treat the figures in this article as general examples; your own fee mix and tax position will move the numbers.

Frequently Asked Questions

Is a 30% contribution margin good for an ecommerce business?

It depends on which layer you mean and on your overhead. A 30% CM3 ratio is a healthy result for a physical product seller, but 30% at CM1 leaves little room once fees and ads arrive. A quick test is to compare your CM3 ratio with fixed costs as a share of revenue: profit is the gap between the two. At 30%, $10,000 of monthly overhead needs about $33,333 in sales to break even.

Should Amazon storage fees count as a variable cost?

Monthly storage and aged inventory surcharges scale with how much stock you hold, not with each unit sold, so many sellers keep them out of CM2 and track them as an inventory holding cost per SKU. If you prefer them inside contribution, spread the monthly charge over units sold that month and label the method clearly so it stays consistent.

How is contribution margin different from markup?

Markup measures profit against cost, while contribution margin measures what is left against revenue. A product that costs $10 and sells for $20 carries a 100% markup, yet its contribution margin could be 20% or less after fees, shipping and ads. Pricing from markup alone is a common reason sellers overestimate what a product earns.

How do I calculate contribution margin for bundles and multi-unit orders?

Calculate it per order, not per item. A two-pack ships once and pays one per-order fee, so the second unit often carries a much higher contribution than the first. Split the order’s variable costs between components by their cost or revenue share only if you need SKU-level reporting, and use the same split every month.

Does contribution margin appear on my tax return?

No. It is a management measure for decisions. Your return reports gross receipts, cost of goods sold and deductible expenses by category, so the same costs appear there, grouped differently. Keeping each fee in its own account in your books lets you produce both views from one set of records.

See What Your Orders Earn After Every Fee

Gross margin reports tend to flatter products that lose money once FBA fees, returns and ad spend are counted, and the gap widens as you scale. AMZ Accountant’s licensed CPAs specialize in ecommerce and have served more than 100 ecommerce businesses, and we can help you see what each channel really keeps. Book a free 15-minute discovery call to walk through your numbers, with no cost and no obligation.