Contribution margin

Contribution margin is the revenue left from a sale after subtracting the variable costs of making it, such as product cost, shipping, payment fees and returns, which pays for fixed costs and profit.

Contribution margin shows what each order really adds to the business, which makes it a stricter base than gross margin for ROAS targets and payback. Gross margin subtracts only the cost of goods; contribution margin also subtracts shipping, fulfillment, payment fees and returns. Some ecommerce teams go a step further and subtract ad spend too, a figure often called contribution after marketing.

Formula

Contribution margin = revenue − variable costs; contribution margin ratio = (revenue − variable costs) ÷ revenue

Variable costs
Costs that rise with each order: cost of goods, pick and pack, shipping, payment processing, and refunds and returns. Rent, salaries and software are fixed costs and stay out.
Contribution margin ratio
Contribution margin as a share of revenue. Put it in place of gross margin in 1 ÷ margin to get a stricter break-even ROAS.

Worked example

A home goods store's average order is $120. Each order carries $42 of product cost, $11 of shipping, $4 of pick and pack, $3.60 of payment fees and $6 of expected returns.

  1. Variable costs per order: $42 + $11 + $4 + $3.60 + $6 = $66.60.
  2. Contribution margin: $120 − $66.60 = $53.40 per order.
  3. Contribution margin ratio: $53.40 ÷ $120 = 0.445, or 44.5%.
  4. Gross margin for comparison: ($120 − $42) ÷ $120 = 0.65, or 65%.
  5. Break-even ROAS on contribution margin: 1 ÷ 0.445 = 2.25x, against 1 ÷ 0.65 = 1.54x on gross margin.

Each $120 order adds $53.40 toward fixed costs and profit, so the store's ads must return at least 2.25x to pay for themselves, not the 1.54x that gross margin suggests.

Try it with the free ROAS and MER Calculator

How to measure it

  • Pull revenue and product cost per order from Shopify, then add shipping label, fulfillment and payment processing costs from those providers' own reports for the same month.
  • Use your actual refund and return rate from the last 3 months as a cost per order rather than an estimate.
  • Work it out per product or collection, because a $30 item with free shipping and a $200 item carry very different shipping costs as a share of revenue.
  • Recalculate after any change to carrier rates, free-shipping thresholds or discount codes, then update your ROAS targets from the new ratio.

Common mistakes

  • Counting ad spend twice. If your contribution margin already subtracts ad spend, don't divide 1 by it to get break-even ROAS; that formula needs the margin before ads.
  • Putting fixed costs in. Spreading $20,000 of monthly salaries across orders makes contribution margin swing with order volume and hides what one more order adds.
  • Leaving out discounts. A 15% off code on a $120 order gives away $18 of revenue while product and shipping costs stay the same, which removes about a third of a $53.40 contribution margin.
  • Calling gross margin contribution margin. In the home goods example the two differ by 20.5 percentage points, which moves break-even ROAS from 1.54x to 2.25x.

How Pomo uses it

Pomo's free ROAS calculator works out break-even ROAS from the margin you enter, so entering contribution margin instead of gross margin gives the stricter line. In the product, Pomo connects to Shopify and takes sales, inventory and order data as file uploads (beta).

Common questions

What is the difference between gross margin and contribution margin?

Gross margin subtracts only the cost of goods sold from revenue. Contribution margin also subtracts every other cost that rises with each order, such as shipping, fulfillment, payment fees and returns. That makes contribution margin always the same as gross margin or lower, and the more honest base for ad targets.

Should contribution margin include ad spend?

It depends on the question. For break-even ROAS and CAC limits, use contribution margin before ad spend, because the formula then decides how much ad spend the margin can carry. To judge whether a month made money, subtract ad spend too and report it separately as contribution after marketing.