Free tool
Contribution margin calculator
See what your sales leave after every cost that grows with each order, before and after advertising.
Contribution margin after ads
—
- Contribution before ads
- —
- Contribution margin before ads
- —
- Contribution after ads
- —
- Kept from every $1 of revenue
- —
How contribution margin is calculated
Contribution = net revenue − product costs − shipping − payment fees − refunds and returns. Subtract ad spend as well to get contribution after ads. Divide either by net revenue for the margin.
Fixed costs such as apps, salaries and rent are left out on purpose: contribution shows whether selling more makes you more money. Net profit then subtracts the fixed costs.
Example
$20,000 of sales with $7,200 product cost, $2,100 shipping, $640 fees and $700 returns leaves $9,360 before ads, a 46.8% margin. After $4,200 of ads, $5,160 remains, 25.8% of revenue.
What this calculator leaves out
It uses totals you enter, so a product with no recorded cost silently lowers your costs. Optifin shows how much of your product costs are actually recorded, so a missing cost is never treated as $0.
Questions
What is contribution margin?
Contribution margin is revenue minus the costs that rise with every sale: product cost, shipping, payment fees, returns and variable marketing. It is what each sale leaves to pay for fixed costs and profit.
How is contribution margin different from gross margin?
Gross margin subtracts only product cost. Contribution margin also subtracts shipping, payment fees, returns and, after ads, ad spend, so it is closer to what an order really earns.
What is a good contribution margin for a Shopify store?
There is no single benchmark. What matters is that contribution after ads is positive and large enough to cover your fixed costs such as apps, staff and rent.