What contribution margin means
Contribution margin is the amount left after subtracting the variable costs required to produce, sell, and fulfill an order.
The remaining amount can help pay for advertising, fixed operating costs, and profit.
Contribution before advertising
Contribution after advertising
The exact calculation may vary by merchant. Some businesses classify particular expenses differently. The important point is to use a consistent model that includes the costs that rise when orders rise.
Revenue tells you what the customer paid. Contribution tells you how much of that order remained available to support the business.
An important distinction
Gross margin is not contribution margin
Gross margin often focuses on the relationship between revenue and product cost.
A product can have a healthy gross margin and still produce weak contribution after shipping subsidies, fulfillment, payment fees, discounts, returns, rewards, and acquisition costs are considered.
Do not stop at product cost
Gross margin may make an order appear attractive while the remaining variable costs quietly consume most of the value.A simple order example
Calculate contribution one order at a time
The order generated $100 in revenue. But after the variable costs required to create and fulfill it, only $39 remained before acquisition.
The merchant then spent $40 to acquire the order. That leaves negative $1 before salaries, software, rent, professional services, and other fixed expenses.
The ROAS illusion
Why respectable-looking ROAS can still lose money
ROAS compares attributed revenue with advertising spend.
A 2.5 ROAS may sound encouraging when viewed alone. But the platform does not know every cost required to serve the order.
In the example above, the campaign produced negative contribution despite the positive reported ROAS.
A profitable-looking campaign can be quietly lighting your cash on fire.
That is why there is no universal ROAS target that works for every Shopify store, product, or order.
A high-margin, lightweight product may support a lower ROAS than a bulky, low-margin product with expensive fulfillment and frequent returns.
Margin under pressure
A 20% discount can cut contribution by far more than 20%
Discounts reduce collected revenue while many product and fulfillment costs remain unchanged.
$60 in variable costs leaves $40 in contribution.
If variable costs remain about $60, only $20 in contribution remains.
Revenue fell 20%. Contribution fell 50%.
A modest-looking discount can remove a large share of the money available to pay for acquisition and operating costs.Discounts may still serve a useful purpose. The merchant should understand the purpose, calculate the cost, and decide how much contribution the offer can responsibly consume.
For a broader examination, read whether constant discounting is damaging your Shopify brand.
Two useful views
Contribution before advertising versus contribution after advertising
Contribution before advertising shows what remains after variable order costs but before customer acquisition cost.
Contribution after advertising shows what remains after both variable order costs and acquisition cost.
This distinction helps merchants avoid treating advertising as an unrelated expense.
What you spend to acquire the customer directly affects whether the order makes or loses money.
Blended numbers can hide the problem
Calculate contribution at the product level
A store-wide average can conceal products with very different economics.
Do not let stronger products hide weaker ones
A profitable store average can coexist with individual products that lose money whenever paid traffic generates the order.Beyond the first order
Separate known first-order contribution from expected customer value
Some customers reorder, buy complementary products, or refer other customers after the first purchase.
That downstream value can improve the broader economics of acquisition. But it should not be treated as guaranteed before it occurs.
Do not use hoped-for customer value to excuse acquisition that is predictably uneconomic.
A merchant can choose to tolerate lower first-order contribution when reliable store data shows that the acquired customer relationship becomes profitable later.
The key word is reliable. The decision should be based on observed behavior, not optimism.
Referral economics
Referral rewards are not free
A product reward or Shopify voucher has an economic cost. That cost should be included when evaluating the contribution created by a referral program.
The distinction is not that the referral reward is costless. The distinction is that the promotional cost is linked to a desired customer action.
Referral rewards are performance-linked promotional costs.
Merchants should compare the cost of the reward with the contribution generated by referred orders—not merely with the referred revenue.
Practical worksheet
A simple Shopify contribution-margin worksheet
Use this structure to create a consistent order-level model. Adapt the individual cost categories to the store’s actual operation.
| Order item | Treatment | What to include |
|---|---|---|
| Collected order revenue | Add | Use the amount the merchant actually expects to retain from the order. |
| Product cost | Subtract | Include the direct cost of the items sold in the order. |
| Fulfillment and packaging | Subtract | Include variable pick, pack, packaging, and handling costs. |
| Merchant-paid shipping | Subtract | Include the portion of shipping cost not collected from the customer. |
| Payment fees | Subtract | Include transaction costs tied to processing the order. |
| Discounts | Subtract | Account for promotional value removed from the collected price. |
| Expected returns, refunds, or replacements | Subtract | Use a consistent estimate when these costs are material. |
| Reward cost | Subtract | Include product, voucher, loyalty, or referral rewards tied to the order. |
| Contribution before advertising | Calculate | This shows how much remains to support acquisition cost, fixed expenses, and profit. |
| Advertising cost | Subtract | Use the acquisition cost associated with generating the order. |
| Contribution after advertising | Calculate | This is the amount left after variable order costs and acquisition cost. |
One final distinction
Positive contribution does not automatically mean the company is profitable
Contribution margin generally focuses on costs that vary with orders.
It commonly precedes fixed or less directly variable expenses such as:
- Salaries and wages not tied directly to each order
- Rent and facilities
- Software subscriptions
- Professional services
- Insurance
- General administrative overhead
- Other ongoing operating expenses
A positive-contribution order helps pay those costs. It does not prove that the entire company is profitable.
The operating sequence
First determine whether the order creates contribution. Then determine whether total contribution is sufficient to cover fixed costs and produce profit.Create customer-generated growth
Tie promotional value to qualifying customer referrals
Kudovia helps Shopify merchants launch a simple post-purchase referral program with product or voucher rewards—without commissions or revenue share.
- Simple post-purchase referral program
- 5-minute setup
- Product or voucher rewards
- Thank you and Order status page support
- No commissions
- No revenue share
Measure contribution—not just activity
Revenue growth, conversion rate, customer count, and ROAS can all be useful. None of them independently proves that the acquired order improved the business.
Contribution margin forces the merchant to connect marketing, pricing, fulfillment, discounts, rewards, and acquisition cost in one economic view.
For a referral structure without percentage payouts, read how to launch a Shopify referral program without commissions.
For practical implementation after purchase, read how to add a referral program to the Shopify Thank you page.
Frequently asked questions
Shopify contribution margin and ROAS
What is contribution margin for a Shopify order?
Contribution margin is the amount left after subtracting the variable costs associated with producing, selling, and fulfilling an order. Those costs may include product cost, fulfillment, packaging, shipping subsidies, payment fees, discounts, expected returns, rewards, and advertising.
What is the difference between gross margin and contribution margin?
Gross margin commonly subtracts product cost from revenue. Contribution margin goes further by subtracting additional variable costs connected to selling and fulfilling the order.
Can a Shopify campaign have good ROAS and still lose money?
Yes. ROAS compares attributed revenue with advertising spend, but does not deduct the other variable costs required to serve the order.
Should advertising cost be included in contribution margin?
Merchants can calculate contribution before advertising to understand how much acquisition cost an order can support, then subtract advertising cost to estimate contribution after acquisition.
How do discounts affect contribution margin?
Discounts reduce collected revenue while many product and fulfillment costs remain unchanged. A discount can therefore reduce contribution by a much larger percentage than it reduces revenue.
Are referral rewards part of contribution cost?
Yes. Product and voucher rewards have an economic cost and should be included when evaluating the contribution created by a referral program.
The number behind sustainable growth
Revenue can grow while contribution disappears. Measure what remains.
Calculate the variable costs attached to the order, separate contribution before and after advertising, examine products individually, and count future customer value only when the evidence supports it.
