Contribution margin calculator

See where each dollar of revenue goes, level by level, and what is left to pay for the team, the software and the profit.

Your numbers

Sales after discounts and refunds
Cost of the goods sold, landed
Postage, packaging, pick-and-pack, 3PL
Card processing, marketplace fees
All paid marketing for the period

Contribution margin calculator

–

Revenue − product − delivery − fees − ads

The formula

Contribution margin = revenue − variable costsVariable costs are the ones that rise with every order: product, delivery, payment fees and, in DTC, ad spend.

Contribution margin % = contribution margin ÷ revenueThe share of each dollar of sales left for fixed costs and profit.

Worked example

On $100,000 of net revenue, product cost is $35,000, so gross margin is $65,000 (65%). Shipping and fulfilment of $12,000 and fees of $3,500 bring contribution margin before ads to $49,500 (49.5%). After $25,000 of ad spend, contribution margin is $24,500, or 24.5% of revenue. That $24,500 pays for salaries, software and rent, and what remains is profit.

How to read the result

  • A negative contribution margin after ads means growth makes things worse: each extra sale adds to the loss.
  • Contribution margin before ads is the ceiling on what marketing can take. It is also the number break-even ROAS is built from.
  • Gross margin alone flatters DTC brands, because shipping and fees are large and it leaves them out.
  • Track it per month and per product line. A healthy average can hide one line that loses money.

FAQ

What is contribution margin in ecommerce?

Revenue minus the costs that rise with each order. For a DTC brand that usually means product cost, shipping and fulfilment, payment fees and ad spend.

What is the difference between gross margin and contribution margin?

Gross margin takes off product cost only. Contribution margin also takes off delivery, payment fees and marketing, so it is closer to what the business keeps.

What do CM1, CM2 and CM3 mean?

They are levels of contribution margin. Definitions vary, but a common split is CM1 after product cost, CM2 after shipping, fulfilment and fees, and CM3 after ad spend.

Put this calculator on your site

Free to use. Paste this where you want it to appear, and keep the credit line.

Related calculators

Paid ads getting harder to make work?

Search traffic doesn’t charge per click. See how DTC brands use SEO to bring CAC down.

Read the DTC SEO guide