Skip to main content

Contribution Margin

What's left of each sale after every cost that moves with it.

60 second readAppears on: Shopify Profit

What it means

Contribution Margin is the share of Total Sales left after every cost that moves with volume: product cost (COGS), tax, shipping, payment gateway fees and the Ad Spend that won the order. It's a percentage of Total Sales for the selected period, struck before fixed costs like rent, salaries and software. At 25%, every €100 of sales leaves €25 to cover those.

Show the math

Formula and a worked example
Contribution Margin = Contribution Profit ÷ Total Sales

Contribution Profit is Total Sales minus tax, shipping, Ad Spend, product cost (COGS) and payment gateway fees. Total Sales is what customers paid, after discounts and returns.

Worked example. A month brings €100,000 of Total Sales. Product cost is €42,000, shipping €8,000, payment fees €2,000, tax €3,000 and Ad Spend €20,000 — €75,000 of variable cost, so Contribution Profit is €25,000. Contribution Margin = 25,000 ÷ 100,000 = 25%.

Gross Margin that same month is 58%, because product cost is all it subtracts. The 33-point gap is what it costs to deliver the order and to win it.

It answers the question

Does the next order add money to the business, or take some away? Healthy and positive, selling more makes you money; thin or negative, growth loses it faster.

Why it matters

Your fixed costs don't care how many orders you ship. The rent is the same whether you sell 10 things or 1,000, and Contribution Margin is what each sale puts towards paying it.

That makes it the number to check before you raise a budget, because Total Sales can climb all year while this falls and leave the store busier and poorer. When it slips, check % Shipping Cost% Shipping CostHow much of sales fulfilment eats up.Under 6% is healthy and % Gateway Cost% Gateway CostPayment fees as a share of your sales.Under 2.5% is healthy on this page, and % Product Discounts% Product DiscountsHow heavily a product is marked down.Under 8% is healthy on Shopify Products.

What good looks like

30%12%
Needs workHealthy
30%+Each sale leaves plenty after variable costs.
BetweenSales cover costs modestly. Lower product or shipping costs.
Under 12%Little is left after per-sale costs. Raise prices or cut variable costs to grow profit.

These bands assume ads sit inside your variable costs, which is how the app counts them. A store that barely advertises clears 30% easily; one buying most of its growth won't, and that's a choice rather than a fault. The honest test is the gap between this and Gross MarginGross MarginProfit after product cost; the ceiling on what you can spend to grow.60% or more is healthy — your tax, shipping, fees and ads in a single number.

How to improve it

LeverWhat you doExpectHow longWatch out for
Fast
Tighten the discount codes
Stop sitewide codes and exclude your thinnest-margin ranges from the restContribution Margin up 2–4 points2 weeksDeal-driven customers buy less. Orders and new customers usually dip before the margin gain shows.
Fast
Raise the free-shipping threshold
Move the free-delivery line to around 20% above your current AOV, so an average basket needs one more item to clear it% Shipping Cost down 1–2 points2–3 weeksSome carts abandon at the checkout. You trade a share of small orders for margin on the ones that stay.
Slow
Put the budget behind wider-margin products
Shift Ad Spend from your hero product to the ranges that keep more per saleSame spend, more Contribution Profit4–6 weeksGrowth slows while it beds in. Your cheapest product to advertise is rarely your most profitable one.
Slow
Renegotiate carriers and shrink packaging
Re-tender your shipping rates and cut box sizes to drop a weight bandContribution Margin up 2–5 points1 quarterNothing moves for months, and the better rate usually comes with a volume commitment you have to keep hitting.

Every lever costs something somewhere. The last column is the one to read twice.

Read it with

Contribution Margin on its own tells you what a sale leaves. Next to your ad spending, it tells you whether to raise the budget or hold it.

Contribution Margin and % Ads Spend, period on period, on the Shopify Profit page
% Ads Spend up
% Ads Spend down
Contribution Margin up

Ads are earning their place

You spent more and still kept more of every sale. This is the pattern worth pushing while it holds.

Add budget in steps and re-check every 2 weeks.

Cleaner but smaller

Margin improved because you stopped buying sales. Healthy for a period, risky as a habit.

Check Total Sales and new customers before calling it a win.
Contribution Margin down

Paying more for the same

Each extra order is costing more than the last one did. Fine for a launch, not for a quarter.

Hold the budget where it is until margin recovers.

It isn't the ads

Spend fell and margin still dropped, so the money is leaking somewhere else — delivery, fees or product cost.

Open % Shipping Cost and % Gateway Cost for the same period.
Contribution Margin + Gross MarginGross MarginProfit after product cost; the ceiling on what you can spend to grow.60% or more is healthy

The distance between them is everything that isn't product cost. A steady Gross Margin with a falling Contribution Margin means your sourcing is fine and your delivery or acquisition is not. Neither number alone separates the two.

Contribution Margin + Net Profit MarginNet Profit MarginWhat you keep after every cost; the truest read on health.15% or more is healthy

The distance here is your fixed cost, written as a share of sales. A healthy Contribution Margin with a poor Net Profit Margin means the selling works and the overhead is too big for this size of store — a different fix from a pricing problem, and only the pair tells you which you have.

Common misreads

“Contribution Margin is 28%, so we're profitable.”

It's the margin before rent, salaries and software. A store at 28% on €90,000 of monthly sales keeps €25,200 — and loses money if the fixed costs are €30,000. Only Net Profit Margin answers that.

“It jumped 6 points last month, so something improved.”

Check Cost Settings first. A cost you haven't entered counts as zero, so a new product added without one moves this number while nothing changed in the business.

“Ad Spend shouldn't be in a contribution margin.”

Here it is, deliberately. Ads scale with orders like any other variable cost, so counting them makes the number answer whether you can afford to sell more.

Also called

CM · contribution margin ratio · variable margin · margin after variable costs

See yoursYour Contribution Margin for the period, with every variable cost line broken out country by country underneath it.

Open Shopify Profit