virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
tools / contribution margin calculator

Contribution margin per order calculator

See what one order is really worth after product cost, shipping, payment fees and the cost of winning it. Enter an order's value and its costs to get the contribution margin per order in dollars and as a share of the order. Everything runs in your browser.

Order value is what the buyer paid without sales tax. Acquisition cost is your ad or marketing spend divided by the orders it brought; set it to 0 for an order from a free channel.

The cost and value of an order change with the channel it came from. Virling links every visit to the payment it led to, so you see the revenue and orders each channel brings from your real payments, and its Profit by channel card takes your spend and payment fees off each one. 14 days free.

Start free trial

Related: payment fee calculator, break-even CPA calculator, average order value calculator, break-even point calculator.

The contribution margin formula

Contribution margin per order is what is left of one order after the costs that come with it. It is the amount that order adds toward rent, salaries, software and profit:

payment fee = order value × fee percent + fixed fee

contribution margin = order value - product cost - shipping - payment fee - acquisition cost

contribution margin % = contribution margin / order value

The calculator also shows the margin before acquisition cost. That is the most you could pay to win this order and still break even on it; see the break-even CPA calculator if customers come back for more orders. If you sell on Shopify, the Shopify profit calculator also takes off refunds and your plan, and gives the profit per month.

A worked example

These are round illustrative numbers, the same ones the calculator starts with, not data from a real store. An order is worth $80. The products in it cost $30, shipping and packaging cost $8, and the card payment costs 2.9% + $0.30, which is $2.62. Before marketing, the order leaves $80 - $30 - $8 - $2.62 = $39.38. It came from an ad, at an acquisition cost of $15 per order, so the contribution margin is $24.38, or 30.5% of the order.

Now take a $40 order from another channel with the same product margin ($15 of product), the same $8 shipping and the same $15 acquisition cost. The fee is $1.46, and the order leaves $0.54, or 1.4% of its value. Shipping, the fixed part of the fee and the acquisition cost do not shrink with the order, so a channel with smaller orders keeps far less per order.

Five orders side by side

Made-up orders, not benchmarks, worked out with the calculator's formulas and its default payment fee of 2.9% + $0.30. The first four number columns are what you enter, the last four are what it shows:

ExampleOrder valueProduct costShippingAcquisition costPayment feeBefore acquisitionContribution marginShare of order
The defaults above$80$30$8$15$2.62$39.38$24.3830.5%
Same order, free channel$80$30$8$0$2.62$39.38$39.3849.2%
Same order, costly campaign$80$30$8$45$2.62$39.38-$5.62-7%
Smaller order$40$15$8$15$1.46$15.54$0.541.4%
Larger order$160$60$8$15$4.94$87.06$72.0645%

The first three rows are the same basket, and the acquisition cost alone moves it from 49.2% of the order to a loss. In the last row the order is twice the default and the contribution is almost three times as large, because shipping and acquisition are paid once per order.

Margin per order differs by channel

Each channel brings its own average order value and its own cost per order, so one store-wide margin hides channels that lose money on every sale. To compare them you need the revenue and orders of each channel; see the average order value calculator and how to find which marketing channel pays. For what a whole channel leaves after spend and fees, read profit by marketing channel. To judge a month of ad spend instead of one order, the POAS calculator divides the gross profit the ads brought by what they cost.

Reading contribution margin by channel

The share of an order ranks orders; the total ranks channels. Multiply the margin per order by the orders a channel brought. In an example month, ads bring 300 of the default orders at $24.38 each, which is $7,314, and email brings 50 at $39.38, which is $1,969. Email keeps more of each order, and ads still add more money.

Before you raise a budget, look at the extra orders alone. Say ad spend goes from $4,500 to $7,500 and orders from 300 to 360. The average acquisition cost is now $20.83, and the average order still leaves $18.55. But the 60 extra orders cost $3,000, or $50 each, against the $39.38 an order leaves before acquisition. Each one loses $10.62, and the total falls from $7,314 to $6,676.80.

Three mistakes with contribution margin

  • Dividing spend by the orders an ad account reports. Two ad accounts can each claim the same sale, which makes the acquisition cost of both look too low. Divide by the paid orders you can trace to each channel.
  • Leaving out refunds. 100 default orders leave $2,438. If 10 are refunded in full, the goods cannot be sold again and the fees are not returned, $800 goes back to buyers and the 100 orders leave $1,638, or $16.38 each.
  • Averaging the percentages. The $80 order at 30.5% and the $40 order at 1.4% average to 16%. But together they leave $24.92 on $120, which is 20.8%.
questions

Contribution margin calculator FAQ

How do you calculate contribution margin per order?

Take the order value and subtract every cost that comes with that one order: product cost, shipping and packaging, the payment fee and what you paid to acquire the order. An $80 order with $30 of product, $8 of shipping, a $2.62 payment fee and $15 of acquisition cost leaves $24.38, or 30.5% of the order.

What is the difference between contribution margin and gross margin?

Gross margin usually takes off only the cost of the product. Contribution margin also takes off the other costs that grow with each order, such as shipping, payment fees and the marketing cost of winning the order, so it is lower and closer to what the order adds to your profit.

Which costs belong in contribution margin?

Costs that come with each extra order: product cost, packaging, shipping, payment fees, marketplace or app fees charged per order, and the acquisition cost of that order. Rent, salaries and software subscriptions stay the same whether you sell one more order or not, so they are left out and paid from the total contribution.

Should the order value include shipping and tax?

Leave out sales tax, because it is not your money. If the buyer pays for shipping, include it in the order value and keep your real shipping cost as a cost, so the two cancel out as they do in your bank account.

Why is contribution margin different for each channel?

Channels bring different order values and cost different amounts per order. Shipping and the fixed part of the payment fee stay the same on a small order, so a channel with a lower average order value keeps a smaller share, and a paid channel carries an acquisition cost that organic search or email may not.

Can contribution margin be negative?

Yes. An $80 order that leaves $39.38 before acquisition and cost $45 to win has a contribution margin of -$5.62, or -7% of the order. That can make sense when those buyers come back for orders that cost little to win. If they do not, every extra order adds to the loss.

See what each channel's orders are worth

These tools estimate. Virling measures: it links every visit to the payment it led to, so you see the orders and revenue each channel brings from your real numbers. 14 days free.

Start free trial See the demo