What is contribution margin?
Contribution margin is what each sale adds toward your fixed bills and your profit. A fixed bill is one that stays the same no matter how many orders you get, like your Shopify plan. A variable cost is one that goes up with every order, like the printing.
The OpenStax managerial accounting text defines it as the amount by which a product's price is higher than its total variable cost per unit. That gap first covers fixed costs. Whatever is left after that is profit.
A print-on-demand seller never holds stock. But you still pay a supplier, shipping, fees and ads on every order.
What is the contribution margin formula?
The contribution margin formula has three common forms:
- Contribution margin per unit = Price − Variable costs per unit
- Total contribution margin = Contribution margin per unit × Units sold
- Contribution margin ratio = Contribution margin per unit ÷ Price
The unit contribution margin tells you what one order earns. The total tells you what a month of orders earns. The CM ratio tells you how many cents of each sales dollar you keep after variable costs.
How do you find contribution margin for a print-on-demand order?
Say you sell a T-shirt for $31. Your store does 340 orders a month and spends $2,800 a month on Meta ads. You offer free shipping, so you pay it.
Here is one order, using example numbers:
| Line | Amount |
|---|---|
| Price paid by the customer | $31.00 |
| Supplier cost (blank shirt plus print) | −$12.50 |
| Shipping to the customer | −$4.75 |
| Payment fee (say 3% plus $0.30) | −$1.23 |
| Contribution margin before ads | $12.52 |
| Ad cost per order ($2,800 ÷ 340) | −$8.24 |
| Contribution margin after ads | $4.28 |
The payment fee is $31 × 0.03 = $0.93, plus $0.30, which is $1.23. The ad cost per order is $2,800 ÷ 340 = $8.24.
How do you find the contribution margin ratio?
To find the contribution margin ratio, divide the contribution margin by the price. For the shirt above:
- Before ads: $12.52 ÷ $31 = 40.4%
- After ads: $4.28 ÷ $31 = 13.8%
So you keep about 40 cents of each dollar before ads, and about 14 cents after ads.
How is contribution margin different from gross margin?
Gross margin only takes away the cost of the product itself. Contribution margin takes away every variable cost. That includes shipping, fees and, if you choose, ads.
Our gross profit formula guide goes deeper on the first number. For the shirt, gross margin is ($31 − $12.50) ÷ $31 = 59.7%. That looks great. But the contribution margin after ads is only 13.8%.
This mix-up is common. Shopify's own glossary page opens by calling contribution margin "also called the gross margin." For a store that pays shipping and ads on every order, those are two very different numbers.
How is contribution margin different from profit margin?
Profit margin takes away all costs, both variable and fixed. Contribution margin takes away only variable costs. One tells you if a product is worth selling. The other tells you if the whole business made money.
Back to the example. Total contribution margin after ads is $4.28 × 340 = $1,455.20 a month. Say your fixed bills are $600 a month for your store plan, apps and design tools. Your net profit is $1,455.20 − $600 = $855.20.
To see the full picture, read our guide to Shopify net profit.
What counts as a variable cost in a POD store?
A variable cost goes up when you sell one more item. In print-on-demand, these are your main variable costs:
- The supplier's base cost for the blank and the print
- Shipping you pay, or the gap between what you charge and what the supplier charges
- Payment processing fees
- Marketplace fees, if you sell on Etsy or TikTok Shop
- Ad spend, spread across the orders it brings in
- Refunds and reprints that you pay for
Fixed costs stay the same each month. Think of your store plan, app bills, a design tool and a domain. Keep each cost in one bucket every month, or your numbers will drift.
How does contribution margin help you break even?
Your break-even point is the number of orders where total contribution margin equals your fixed costs. The formula is break-even orders = fixed costs ÷ contribution margin per order.
With $600 in fixed costs and $4.28 per order after ads, you need $600 ÷ $4.28 = 140.2. Round up to 141 orders a month. Every order after that is profit.
The OpenStax chapter on multi-product break-even shows how this works when you sell many products. You use a weighted average of each product's contribution margin, based on how much of each one sells.
How does contribution margin set your ad limit?
Contribution margin before ads tells you the most you can spend on ads per order and still break even. ROAS means return on ad spend: sales from ads divided by ad spend. Your break-even ROAS is 1 ÷ contribution margin ratio before ads.
For the shirt, that is 1 ÷ 0.404 = 2.48. Your store makes 340 × $31 = $10,540 a month on $2,800 of ads. That is a ROAS of $10,540 ÷ $2,800 = 3.76, so you are above break-even.
If a campaign runs below 2.48, every sale it brings in loses money. Our guide to how to calculate ROI shows the same idea for other kinds of spending.
Which products should you keep, fix or cut?
Rank every product by its contribution margin, not its sales. A product with high sales can still lose money. Here are three example products before ads:
| Product | Price | Supplier | Shipping | Fees | CM per unit | CM ratio |
|---|---|---|---|---|---|---|
| T-shirt | $28.00 | $11.20 | $4.75 | $1.14 | $10.91 | 39.0% |
| Hoodie | $48.00 | $24.50 | $8.50 | $1.74 | $13.26 | 27.6% |
| Mug | $18.00 | $7.20 | $6.90 | $0.84 | $3.06 | 17.0% |
The hoodie earns the most dollars per sale. The T-shirt keeps the most per dollar. The mug is thin. If your ads cost about $5 per mug sale, each mug loses about $1.94.
Use this simple rule each month:
- Keep and grow: contribution margin after ads is positive and the CM ratio before ads is high enough to clear your ad cost.
- Fix: contribution margin after ads is near zero. Raise the price, bundle it, or move it to a cheaper printer.
- Cut or stop ads: contribution margin after ads is negative for two months in a row.
How do you pull these numbers out of Shopify?
Shopify's built-in profit reports only go part of the way. They show gross profit by product, but only for items with a cost entered. Shopify's help center also says the "Cost per item" field is static, so it does not update when your supplier changes its price.
Those reports also leave out shipping you pay, payment fees and ad spend. For sales, start from net sales. Shopify's sales report guide explains how gross sales, discounts and returns roll into that number.
A simple monthly workflow for a spreadsheet:
- Export net sales and units sold for each product.
- Add the current supplier cost from Printify, Printful or Gelato.
- Add the average shipping and fee for each product.
- Split your ad spend across products by the sales each campaign drove.
- Sort by contribution margin after ads, from lowest to highest.
If you want more ways to watch these numbers each week, see our guide to an ecommerce analytics dashboard.
How do you raise your contribution margin?
You raise contribution margin by charging more or by cutting what each order costs. In print-on-demand, the best levers are these:
- Raise prices on your best-selling designs a little at a time.
- Move a product to a printer or blank with a lower base cost.
- Set a free-shipping minimum so shipping spreads over more items.
- Pause ads on products that lose money after ad costs.
- Bundle a thin product, like a mug, with a stronger one.
Watch your supplier costs closely. If your T-shirt blank goes up $1.50, its contribution margin drops from $10.91 to $9.41 overnight.
What is a good contribution margin ratio?
There is no one right number. It depends on your ad costs and fixed bills. Shopify's glossary notes that the ratio is usually well below 100% and probably below 50%.
A more useful test is your own math. Your CM ratio before ads should be high enough that your real ROAS clears 1 ÷ that ratio. Your contribution margin after ads should cover your fixed costs with room to spare.
How Victor keeps your margins in check
Victor is the AI employee at PodVector AI. He runs a print-on-demand business from start to finish: designs, listings, orders, customer service, ads, email and the numbers. Knowing the margin on every product is one of his jobs.
Victor knows the real cost and profit of every order, after supplier cost, fees, shipping, refunds and ad spend. He runs a monthly supplier cost review and reprices the thin-margin SKUs. He checks every ad account each morning and pauses the ad sets that lost money overnight. After each run he writes a short report, so you know what changed while you were away.
If you want Victor to do this work for your store, you can start with PodVector AI here. For every other store metric, see our metrics explained hub.
FAQs
What is the contribution margin per unit formula?
It is price minus variable costs for one unit. For a $31 shirt with $18.48 in supplier, shipping and fee costs, the unit contribution margin is $31 − $18.48 = $12.52.
What is the contribution margin ratio formula?
Divide contribution margin by price. For the same shirt, $12.52 ÷ $31 = 40.4%. That means you keep about 40 cents of each sales dollar before ads and fixed costs.
Should ad spend count as a variable cost?
For most print-on-demand stores, yes. You pay ads to get each order, so ad spend grows with sales. Track contribution margin both before and after ads, so you can see your product's strength and your ad results apart.
Why does Shopify show a higher margin than I really make?
Shopify's profit reports use only the cost per item you enter. They leave out shipping you pay, payment fees and ad spend. Those costs can turn a product with a high gross margin into one that loses money.
How often should I check contribution margin?
Check it at least once a month, and any time a supplier changes its prices. Also check it before you raise the budget on a campaign. A small change in costs can move a product from profit to loss.