How to Calculate Contribution Margin Per Shopify Order

How to Calculate Contribution Margin Per Shopify Order

Referbro Team•20 August 2026•Updated 5 November 2026

Revenue tells you what the customer paid.

Contribution margin tells you how much of that order is available to cover acquisition and fixed costs after variable costs.

That makes it one of the most useful numbers for a D2C operator.

How do you calculate contribution margin per order?

Contribution per order can be modelled as:

Contribution = Revenue − product cost − payment fees − variable fulfilment − shipping subsidy − discounts − other variable order costs

The exact list should match the merchant's management accounting definition.

Worked example

Suppose:

Revenue = ₹2,000

Product cost = ₹700

Payment fees = ₹50

Shipping subsidy = ₹100

Discount = ₹150

Variable fulfilment = ₹100

Contribution:

₹2,000 − ₹700 − ₹50 − ₹100 − ₹150 − ₹100 = ₹900

The store has ₹900 available to cover acquisition and fixed costs.

Why does contribution margin per order matter?

Contribution per order helps answer:

  • Can we afford a ₹500 CAC?
  • Can we offer ₹200 cashback?
  • Can we provide free shipping? Check with our Free Shipping Threshold Analyser.
  • Can we run a 15% promotion?
  • Can we pay an affiliate 10%?

Each decision consumes some of the contribution.

Why compare contribution margin by product?

Two products can have the same AOV but very different contribution.

Product A: ₹2,000 revenue → ₹900 contribution

Product B: ₹2,000 revenue → ₹450 contribution

Treating them identically in paid media or promotions can create hidden profitability problems.

How do you use contribution margin to set discount limits?

Instead of saying:

“Never discount more than 15%.”

Define:

“Never let contribution fall below ₹X on this product.”

That is a more useful business rule.

How does contribution margin connect to CAC?

If contribution is ₹900 and CAC is ₹600, the first order leaves ₹300 before fixed costs.

If contribution is ₹400 and CAC is ₹600, the first order does not recover acquisition cost.

The second customer may still be valuable if repeat contribution is strong.

That is why contribution should be tracked at both first-order and cohort level.

The goal is not to maximise revenue per order.

It is to understand how much economic room each order creates.

Frequently asked questions

Record each product's cost in Shopify's Cost per item field, then export orders and subtract payment fees, fulfilment, shipping subsidy and discounts in a spreadsheet or analytics tool. Shopify's own reports don't include every variable cost, so most stores calculate contribution outside Shopify.
Contribution = revenue − product cost − payment fees − variable fulfilment − shipping subsidy − discounts − other variable order costs. Match the list to your own management accounts.
Gross margin usually subtracts only product cost. Contribution margin also subtracts the other variable costs of each order, such as payment fees, fulfilment, shipping subsidy and discounts, so it shows what is really left to cover acquisition and fixed costs.
If contribution is ₹900 and CAC is ₹600, the first order leaves ₹300 before fixed costs. If contribution is ₹400 and CAC is ₹600, the first order doesn't recover acquisition cost, so you need repeat orders to make that customer profitable.
Yes. Instead of a flat rule like "never discount more than 15%", set a floor such as "never let contribution fall below ₹X on this product", because two products with the same price can have very different contribution.

Install Referral on Shopify

See how Referral can help your Shopify store.