Contribution margin calculator for ecommerce

Contribution margin = order value − product cost − shipping − packaging − payment fees − discounts − returns. Divide by order value for the %. A $100 order with $50 of those costs keeps $50, a 50% margin, and breaks even on ads at a 2.0 ROAS.

50%Contribution margin on a $100 order with $50 of order costsBreak-even ROAS 1 ÷ 0.50 = 2.0
$50.00Contribution margin per order, before ads50.0% of order value
$25.00After ads25.0%
2.00Break-even ROAS1 ÷ margin before ads
$50.00Most you can pay for ads per order
70.0%Gross margin, product cost only
$20,000Net profit a month10.0% net margin
1,200Orders a month to cover fixed costs
  1. Order value$100.00
  2. Product−$30.00
  3. Shipping−$8.00
  4. Packaging−$2.00
  5. Payment fees−$3.00
  6. Discounts−$4.00
  7. Returns−$3.00
  8. Before ads$50.00
  9. Ads−$25.00
  10. After ads$25.00
The formula

Contribution margin formula, per order.

Contribution margin

Order value − variable costs

Variable costs come with every order: product, shipping, packaging, fees, discounts, returns.

Contribution margin %

Contribution ÷ order value

The share of each order left for ads, fixed costs and profit.

Break-even ROAS

1 ÷ contribution margin %

At 50% that is 2.0. Below it, ads cost more than orders keep.

After ads

Contribution − ad cost per order

What a paid order leaves for team, rent, software and profit.

Compared

Contribution vs gross vs net margin.

MarginSubtracts from sales$100 order
GrossProduct cost70%
ContributionProduct, shipping, packaging, fees, discounts, returns50%
NetAll of the above, plus ads and fixed costs10%
Worked example

Demo Brand: $100 in, $50 kept.

Demo Brand is a made-up Shopify store with round numbers, the same one as in What is a good ROAS?

Average order value
$100
Product cost
−$30
Shipping and packaging
−$10
Payment fees
−$3
Discounts and returns
−$7
Contribution before ads
$50 (50%)

Break-even ROAS = 1 ÷ 0.50 = 2.0. At $25 of ads per order, $25 is left: 25%. On 2,000 orders a month with $30,000 of fixed costs, net profit is $20,000, a 10% net margin.

Questions

What founders ask about margin.

What is the contribution margin formula?

Contribution margin = revenue − variable costs. For one ecommerce order: order value minus product, shipping, packaging, payment fees, discounts and returns. Divide by order value for the ratio.

What is a good contribution margin for ecommerce?

Positive first, then high enough that your break-even ROAS is one your ads can beat. A 50% margin needs a 2.0 ROAS; 25% needs 4.0.

Is contribution margin the same as gross margin?

No. Gross margin subtracts product cost only. Contribution margin also subtracts shipping, fees, discounts and returns, so it is lower and the right number for ad decisions.

Should ad spend be in contribution margin?

Track both. Before ads gives the most an order can pay for ads. After ads gives what a paid order leaves for fixed costs and profit.

How do I count discounts and returns?

As a share of gross sales from your Shopify sales report: discounts ÷ gross sales, and returns ÷ gross sales. Add return shipping you pay to shipping.

How is net profit margin different?

Net margin also subtracts ads and fixed costs like team, rent and software. Enter orders and fixed costs a month above to see net profit and net margin.

Find the leak before you buy more traffic.

  1. 1Call
  2. 2Audit
  3. 3Strategy and plan
Meta Business Partner Google Partner Shopify Partner Klaviyo Partner Clutch · 5.0
Book a call