Free tool

Contribution margin calculator

Work out CM1, CM2 and CM3 for a month or a product line: what is left after product costs, after order costs and after marketing.

After discounts and refunds, without VAT or sales tax
What the sold products cost you
Shipping labels, packaging, pick and pack, return handling
Card, PayPal, marketplace and channel fees
What you paid all ad platforms in the same period
Agency, influencers, email and SMS tools
Your resultUpdates as you type
CM3: after marketing
8,500
17.0%
CM1: after product costs
30,000
60.0%
CM2: after order costs
22,500
45.0%

After product, order and marketing costs, 17.0% of revenue is left to pay fixed costs such as staff, software and rent.

How to calculate CM1, CM2 and CM3

Contribution margin is what is left of revenue after the costs that grow with sales. ROASaurus splits it into three levels, each taking off one more group of costs:

CM1Revenue − product costs (COGS)
CM2CM1 − shipping, handling, return handling, payment and marketplace fees
CM3CM2 − ad spend − other marketing costs
Contribution margin ratioCM ÷ revenue

Worked example

A store sells 50,000 in a month. Products cost 20,000, so CM1 is 30,000 (60% of revenue). Shipping, handling and returns cost 6,000 and fees 1,500, so CM2 is 22,500 (45%). After 12,000 of ad spend and 2,000 of other marketing, CM3 is 8,500 (17%). That 8,500 is what the month contributes to fixed costs and profit.

Which level to use

CM1 shows whether products are priced well. CM2 shows whether an order makes money before marketing; it is the margin to use for break-even ROAS and POAS. CM3 shows whether the business makes money after paying for growth. Other tools use the same labels with slightly different costs, so check what each one includes. More in contribution margin in ecommerce and the glossary.

CM1, CM2 and CM3 for every order and product

ROASaurus calculates all three levels per order, product and period from your orders, product costs, shipping, fees, ad spend and the marketing costs you add, through to EBITDA.

FAQ

Questions, answered

What are CM1, CM2 and CM3?

Three levels of contribution margin. CM1 is revenue minus product costs. CM2 also subtracts shipping, handling, returns and payment fees. CM3 also subtracts ad spend and other marketing costs.

What is the contribution margin formula?

Contribution margin = revenue − variable costs. As a ratio, divide it by revenue. In ecommerce the variable costs are product costs, order costs and, for CM3, marketing.

Is contribution margin the same as gross margin?

Not always. Gross margin usually subtracts only product costs, which is CM1. CM2 and CM3 also take off order and marketing costs, so they are lower.

Do fixed costs belong in contribution margin?

No. Staff, rent and software do not change with each order. They come after CM3, on the way to EBITDA and net profit.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.

Start free →