Brandpeneur
Abstract stacked bars where each layer is peeled away from a single order, leaving a smaller block at the bottom
Meta AdsProfitability

Contribution Margin for Ecommerce: The Number Your Ad Account Runs On

Joshua George|23 November 2026

Contribution margin for ecommerce is the money each order leaves after every cost that rises with that order: product, shipping, packing, payment fees, returns and routine discounts. It is a pound figure per order, or a percentage of net revenue, and it is the most you can spend on ads to win that order without losing money.

Most brands work from gross margin instead, which only subtracts product cost. That overstates what is left, so the ad account looks healthier than it is. Everything else in your ad decisions, from max CPA to break-even ROAS to how hard you can scale, sits on top of this one number.

The contribution margin formula

The formula has two steps.

Contribution per order = net revenue minus all variable costs

Contribution margin = contribution per order / net revenue

Variable means the cost changes when you sell one more unit. Product cost does. Rent does not. That split decides what goes in and what stays out.

Run it on an average order, not on a single product, unless one product makes up most of your sales. If your range has very different margins, calculate it per product and then weight by how often each one sells.

What goes into contribution margin

Take these off net revenue, per order:

  • Product cost. The landed cost of the item, including freight and import duty.
  • Shipping you pay. The carrier charge, minus anything the customer pays you for delivery.
  • Packing and fulfilment. Boxes, inserts, and pick and pack fees if a third party does it.
  • Payment fees. Your processor takes a percentage plus a fixed fee on every order.
  • Returns and refunds. An average cost per order, covering refunded revenue you counted, return postage and stock that cannot be resold.
  • Routine discounts. Welcome codes, bundle pricing and loyalty offers that most orders use.

Fixed costs stay out: salaries, software, rent, your agency fee. They are real, and you cover them from the profit left after ads. They do not belong in the margin that sets your ad limits.

What most brands forget

Three costs go missing again and again.

VAT. A UK shelf price of £48 includes £8 of VAT. Your revenue is £40. If you calculate margin on £48, every percentage you get is too high. The same applies in the EU, where the rate depends on the country.

Returns. A returned order is revenue you booked and then gave back, often after paying postage both ways. Brands with fit or shade issues, such as clothing and beauty, feel this most. Use your own refund data from the last quarter, not a guess.

Payment and discount leakage. A processor fee of a couple of pounds per order and a welcome code used by half your customers do not look big alone. Together they can take several points off the margin.

A worked example with VAT

Say you sell a product at £48 including 20% VAT. Here is the average order:

LinePer order
Shelf price£48.00
Less VAT£8.00
Net revenue£40.00
Product cost£12.00
Shipping and packing£5.00
Payment fees£1.50
Returns allowance£3.50
Routine discounts£2.00
Contribution£16.00

Contribution is £16 on £40 of net revenue, a 40% contribution margin. Your max CPA on a first order is £16.

Now the gross margin version. Net revenue minus product cost is £28, which is 70%. A brand using that number would think it can pay up to £28 to win a customer. The real figure is £16.

Put it into an account. You spend £2,000 and win 100 orders, a £20 CPA. On the gross margin view, those orders earned £2,800 against £2,000 of spend, so you made £800. On the real view they earned £1,600 against £2,000 and you lost £400. Same ads, same orders, opposite conclusion.

How contribution margin sets your ad limits

Once you have the margin, three numbers fall out of it:

  • Max CPA is contribution per order. In the example, £16.
  • Break-even ROAS is 1 divided by the margin, so 1 / 0.4 = 2.5 on net revenue. I cover the full method in the break-even ROAS post.
  • Contribution after ads is contribution per order minus CPA. At a £20 CPA that is minus £4 per order.

One catch is worth checking in your own account. The purchase value Meta records may include VAT, depending on how your store and pixel send it. If it does, the ROAS in your dashboard is calculated on £48, not £40. Break-even on that figure is £48 divided by £16, which is 3.0, not 2.5. Look at what your account actually reports before you compare it to a target.

Contribution margin at different price points

The same costs hit a cheap product harder than an expensive one, because shipping, packing and payment fees do not shrink with the price. Here is the same structure with product cost at 30% of net revenue, and fulfilment, fees, returns and discounts totalling £10 per order:

Net revenueProduct costOther variable costsContributionMargin
£25£7.50£10£7.5030%
£40£12.00£10£18.0045%
£80£24.00£10£46.0058%

Low price points are the hard ones for paid acquisition. At £25 you have £7.50 to win the customer. That is why bundles and higher order values matter so much, a point I come back to in the post on Meta ads after Black Friday, where discounts push the margin down just when spend is highest.

When to recalculate

Treat the margin as a live number. Rework it when:

  1. Your supplier or freight costs change.
  2. You change shipping rates or free-shipping thresholds.
  3. Your return rate moves, which often happens after a new product launch.
  4. You run a sale. A 20% discount cuts net revenue while costs stay put, so the margin falls sharply.
  5. Your payment mix changes, for example more customers using a wallet with different fees.

The habit that pays off is simple. Judge every campaign on contribution after ads, not on the ROAS column alone. If you want to plug your own costs in, the break-even calculator runs the same steps. If you would rather have the numbers checked against your real account, a free profit audit starts here too.

Running a Shopify store?

See what a team that actually communicates looks like. We will audit your ad account, calculate your real numbers, and show you exactly where the profit is hiding.

Book Your Free Profit Audit
← Back to all posts