Skip to content

Glossary · Profit

Contribution margin

Contribution margin is the money an order leaves after the costs that rise and fall with each sale: product cost, shipping, packaging, payment fees and discounts. Expressed as a percentage of revenue, it tells you how much each sale contributes toward fixed costs and profit, and it sets your break-even ROAS.

How do you calculate contribution margin?

Contribution margin = revenue − variable costs. Contribution margin % = contribution margin ÷ revenue × 100

Variable costs are those that come with each order: cost of the goods, shipping and packaging, payment processing fees, discounts and an allowance for returns.

Fixed costs such as rent, salaries and software are left out. Some teams also subtract ad spend to get contribution after marketing.

What does contribution margin look like in an example?

The figures below are made up to show the arithmetic.

Example with made-up figures: one order
ItemValue
Order revenue$80
Product cost$32
Shipping and packaging$8
Payment fees$3
Contribution margin$80 − $43 = $37, or 46%

What mistakes do people make with contribution margin?

  • Confusing it with gross margin, which usually subtracts only product cost and leaves out shipping and fees.
  • Forgetting returns and refunds, which can erase the margin on whole categories.
  • Using the store average for decisions about one product with very different costs.

How does Datae work out contribution margin?

Datae has no dedicated contribution margin skill. You can enter a margin floor in its growth brief, and the agent treats it as a hard limit, for example never recommending a discount that would take an order below it. Product costs you record in Shopify are available when you ask about profit.

What can you ask Datae?

Install Datae, open the chat and paste one in. The answer comes from your own store's data.

  • “My margin floor is 35%. Which of my active discounts would take orders below it?”
  • “Which products have the highest refund rate, eating into margin?”

Common questions

What's the difference between gross margin and contribution margin?

Gross margin usually subtracts only the cost of the goods. Contribution margin also subtracts the other costs each order brings, such as shipping, payment fees and discounts, so it's lower and closer to what you actually keep.

Can Datae change my store without asking?

Only if you turn on Autopilot. Datae installs read-only, and by default every change it prepares waits for you to approve it in Tasks. Switch on Autopilot in Settings and it makes the fixes it finds itself: safe fixes only (product SEO titles and descriptions, Klaviyo segments and draft campaigns), or everything within your limits (also discounts inside your margin floor, Pinterest Pins and social posts). Every change is listed in Tasks with the reason and undoes in a click for 30 days. Switch Autopilot off at any time.

Ask your store its first question

Free plan, no credit card. Datae installs read-only.

Install free on Shopify

More guides

Install free on Shopify