Brand Worlds
Brand Worlds
Brand Worlds
Brand Worlds

Free tool

Ecommerce Contribution Margin Calculator

See what each order leaves after the costs you enter.

Use this contribution margin calculator to see how much an ecommerce order leaves after product cost, fulfillment, payment fees, shipping, packaging and additional return costs. Add the customer acquisition cost you want to assign to that order.

The result shows gross profit, contribution before and after acquisition, and contribution as a percentage of revenue. Compare the amounts to see where the money goes. What remains still needs to cover fixed overhead and any other costs you leave out.

Per order · Before and after acquisition · Before fixed overhead

01

Revenue for one order

Use one order, or averages for the same set of orders. Keep every amount in one currency.

Use one currency for every amount. This changes labels, not amounts.

Replace these examples with your own numbers. Results update as you type. Your entries stay on this page until you copy them.

Need help finding your figures in Shopify?

Ask Sidekick for recorded revenue and costs for the same orders. Check missing fulfillment, shipping, fee, return and acquisition costs against your own records before entering them.

Open Shopify Sidekick

Paste the copied text into Shopify Sidekick.

Revenue after discounts and refunds, excluding sales tax. Use one order, or the average for the same set of orders as your costs.
02

Costs for one order

Cost of the products in this order, including delivery and duties you count as product cost. Reflect any inventory recovery already recorded; do not count the same return loss again.
Picking, packing and sending this order. Leave out amounts already included in product cost or packaging.
The payment processor and transaction fees for this order. Enter the amount, not a percentage.
If customer shipping payments are in net revenue, enter the full shipping cost. Otherwise deduct the customer’s shipping payment here. Do not count it both ways; use a non-negative cost.
Boxes, bags and other packaging for this order. Leave out amounts already included in product or fulfillment cost.
Return shipping, handling or unrecovered product costs not counted elsewhere. Leave out refunds already deducted from revenue and costs already included above.
03

Acquiring the customer

The customer acquisition cost allocated to this order, separate from the costs above. It may include more than ads. A cost per new customer is not automatically a cost per order. Enter zero to leave out this charge.

Result review

Which costs are taking the most from each order?

Bring your result to a free 30-minute review. We’ll help you check your order costs, what is missing and what to consider before changing your price.

Get a free pricing reviewFree 30-minute review. You decide what to share.

What’s different about this calculator

See what one order leaves after selling costs and customer acquisition.

Basic calculationWhat this adds
Sale revenue minus product costAlso subtracts fulfillment, payment fees, shipping, packaging and extra return costs
Contribution before acquisition costsShows what remains after the acquisition cost you allocate to that order
Revenue after discounts and refundsExplains where refunds and shipping payments belong so you do not subtract them twice

How this tool works

How to calculate contribution margin

  1. Start with net revenue per order after discounts and refunds, excluding sales tax. Subtract product cost to get gross profit. Then subtract fulfillment, payment fees, net shipping cost, packaging and additional return costs to get contribution before acquisition. Subtract the customer acquisition cost allocated per order to get contribution after acquisition.

  2. Divide either contribution amount by the same net revenue to get its contribution margin ratio. Multiply by 100 to show it as a percentage. Use amounts for the same order, or per-order averages from the same set of orders, in one currency. Count each cost once and keep the same definitions when comparing results.

Contribution before acquisition = net revenue − product cost − fulfillment − payment fees − net shipping cost − packaging − additional return cost. Contribution after acquisition = contribution before acquisition − customer acquisition cost allocated per order. Contribution margin (%) = contribution ÷ net revenue × 100.

What a $100 order leaves after $64 in costs

Start with $100 net revenue and $35 product cost: gross profit is $65. Subtract $6 fulfillment, $3 payment fees, $4 net shipping, $2 packaging and $2 additional return costs. That leaves $48 before acquisition. Subtract $12 customer acquisition cost allocated to the order, and $36 remains. The contribution margin after acquisition is 36%, before fixed overhead and other costs left out.

Questions & answers

Understanding your result

What is the difference between contribution margin and gross margin?

In this calculator, gross profit subtracts product cost from net revenue. Contribution also subtracts the other order costs you enter, with a separate result after customer acquisition cost. Gross margin and contribution margin express those amounts as a share of revenue. Two orders can have the same gross margin but leave different amounts after shipping, fees and acquisition.

What is a good contribution margin ratio?

There is no single target that works for every business. The ratio tells you how much of each revenue dollar remains after the costs you included. A 36% margin leaves $36 from $100 of revenue. Whether that is enough depends on your sales volume, fixed overhead and other expenses. With zero net revenue, the margin ratio is undefined, even though the contribution amount can still be calculated.

How should I enter customer acquisition cost?

Enter the customer acquisition cost allocated per order, separately from the other costs. It can include more than advertising if that is how you measure acquisition. A CAC figure per new customer is not automatically a cost per order, especially when repeat orders are included. Use a consistent allocation for the orders you are checking. Enter zero to see the result without an acquisition charge.

Should shipping paid by the customer reduce my shipping cost?

If customer shipping payments are already included in net revenue, enter the full shipping cost. If those payments are excluded from revenue, enter shipping cost minus what the customer paid. Do not count the payment both ways. The shipping field accepts only non-negative costs. If customer payments exceed shipping cost, include those payments in revenue and enter the full shipping cost instead.

How do I include refunds and return costs without counting them twice?

Enter revenue after refunds and use product cost that reflects any inventory recovery already recorded. Additional return cost is for costs still missing, such as return shipping, handling or an unrecovered product cost. Include each loss only once. Do not enter refunded revenue here if it has already been removed from net revenue.

Does a positive contribution mean the order or business is profitable?

It means the order leaves money after the costs you entered. Fixed overhead, financing, tax on profit and any other omitted costs still need to be covered. A positive contribution does not prove company profitability. A negative contribution means the entered costs exceed net revenue before those remaining expenses.