Profit per order is what is left of one order after goods, delivery, payment fees, the ads that brought the customer, and the cost of any return. The formula is: price after discount (excluding VAT), minus goods, minus delivery, minus payment fees, minus ads, minus return costs. If the order is returned, the revenue and the goods drop out, but the delivery, the payment fee and the ads stay on your cost line.
This article gives the formula line by line, a worked example with one returned order, a table that walks from order value to profit, and the mistakes that make dashboard profit look better than real profit.
What counts as profit per order?
In this article profit means the money an order leaves after every cost that moves with that order. Finance teams call it contribution margin: what a sale contributes after variable costs, before fixed costs such as salaries, rent and software. Sources differ on where to draw the line. Polar Analytics, for example, splits it into layers: a first layer after goods and outbound shipping, a second after payment processing, pick and pack, returns and marketing, and further layers for items such as customer service and affiliate payouts.
The layers are less important than the rule behind them: use the same definition every day, in every report, so that two people looking at the same order get the same number.
Gross margin is not profit per order. Gross margin only deducts the purchase price of goods. An order with a 40% gross margin can still lose money once delivery, payment fees and a €20 click are added.
What is the formula for profit per order?
For one order that is kept by the customer:
Profit = price after discount − goods − outbound delivery − payment fee − ads
For one order that is returned in full and the item goes back on the shelf:
Profit = − outbound delivery − return delivery − handling − payment fee − ads
For a group of orders, use the return rate. With n orders placed and a return rate r:
Profit = n × (1 − r) × (price − goods) − n × (delivery + payment fee + ads) − n × r × (return delivery + handling)
Use prices excluding VAT everywhere. VAT is collected for the tax authority, not earned by you, and mixing gross prices with net costs overstates profit.
Where each line comes from:
- Price after discount: the order line value after every code, bundle and loyalty discount, not the list price.
- Goods: the purchase price of what was shipped, including inbound freight and duties if you pay them.
- Outbound delivery: the carrier invoice for that order, or an average by country and weight band until the invoice arrives. If you charge the customer for delivery, count that income in the same place, never half in and half out.
- Payment fee: a percentage plus a fixed fee per transaction. Many providers keep it on refunds. Stripe's documentation says that its processing fees from the original transaction are not returned when you refund, and that a refund can carry a fee of its own depending on your plan.
- Ads: the spend that won the order. This is the hardest line to assign, because it is reported by the ad platform and not by the shop.
- Return costs: return delivery, inspection, repackaging, and any write-off if the item cannot be resold.
What does a worked example look like?
The numbers below are illustrative and not client data. Every order is the same product: price €80 excluding VAT, purchase price €48, outbound delivery €5.50, payment fee €1.45 (a percentage plus a fixed amount), return delivery €5.50 and handling €2.00.
Three orders on the same day:
| Order A: kept | Order B: returned | Order C: kept, expensive click | |
|---|---|---|---|
| Price after discount | €80.00 | €0.00 (refunded) | €80.00 |
| Goods | −€48.00 | €0.00 (back on shelf) | −€48.00 |
| Outbound delivery | −€5.50 | −€5.50 | −€5.50 |
| Return delivery and handling | n/a | −€7.50 | n/a |
| Payment fee | −€1.45 | −€1.45 | −€1.45 |
| Ads | −€9.60 | −€9.60 | −€22.00 |
| Profit | €15.45 | −€24.05 | €3.05 |
Together: €15.45 − €24.05 + €3.05 = −€5.55 on €240 of orders placed. The dashboard shows €240 of revenue and 100% order growth. The kept orders brought €160, and the profit is negative.
Order B is the one most reports miss. The customer paid nothing in the end, yet the shop paid for delivery twice, the payment fee and the ad.
How do you get from order value to profit across many orders?
Now take 100 orders with a 10% return rate and the same unit costs. Ads average €9.60 per order.
| Step | Calculation | Amount | Left per €100 of order value |
|---|---|---|---|
| Order value | 100 × €80 | €8,000 | €100.00 |
| Returns | 10 × €80 | −€800 | |
| Net sales | €7,200 | €90.00 | |
| Goods | 90 × €48 | −€4,320 | |
| Gross margin | €2,880 | €36.00 | |
| Delivery | 100 × €5.50 | −€550 | |
| Payment fees | 100 × €1.45 | −€145 | |
| Return delivery and handling | 10 × €7.50 | −€75 | |
| Ads | 100 × €9.60 | −€960 | |
| Profit | €1,150 | €14.38 |
That is €11.50 per order placed and 16.0% of net sales. A shop that looks only at the 40% gross margin of the product sees a number more than twice as high than what it kept.
The sensitivity is what makes this useful. In this example, one more return per 100 orders (one percentage point) costs €39.50: the €32 of margin that disappears plus €7.50 of return delivery and handling. Ten euros more per click on 100 orders costs €1,000, which is nearly the whole profit. Small moves in ads and returns decide the result.
Why do returns matter so much?
Returns hit twice: you lose the revenue, and you keep the cost of the delivery and the handling. The NRF and Happy Returns 2025 report estimates that US retailers will see 15.8% of annual sales returned in 2025 and 19.3% of online sales. These are US survey estimates, and your own rate depends on category and market. Use your own data.
The practical rule: link every return to its original order and its original date. Then the cost lands on the day, campaign and market that caused it, not on the month the parcel arrived.
Which costs are most often missing from profit per order?
- Ad cost on returned orders. Ad platforms do not take the click cost back when an order is returned.
- Delivery invoices that arrive monthly. Use an estimate by country and weight band during the month and replace it with the invoice.
- Payment fees. Take them from the payment provider's report, not from a flat assumption.
- Marketplace and affiliate commissions, which differ by channel.
- Discount stacking. A site-wide offer plus a newsletter code is not one discount.
- Currency. A shop that buys in one currency and sells in several moves margin with exchange rates.
- Returned items that cannot be resold. Those are a write-off of the goods, not only a delivery cost.
How often should you calculate it, and at what level?
Daily, by order, and then summed by product, market and campaign. The daily view lets you stop a campaign that loses money this week instead of finding out at month-end. The order level lets you ask the questions that revenue cannot answer: which market to grow or stop, which products and campaigns to stop paying for, which promotions to repeat.
You see revenue every day and profit only at month-end close. Closing that gap is mainly a data job: orders, purchase prices, returns, ad spend, delivery and payments must be joined and kept consistent. Spreadsheets work for one month and one market, and break when someone has to rebuild the logic every month.
Stratodata's Retail Automation Suite calculates profit by order, product, market and campaign every day from your own data. The retail profit management page shows the steps from order value to profit and has a free calculator. For a multi-market example, see the Altisport case study. If you want to see how the same logic applies to a sale season, read our Black Friday profit article.
To see what is left of your own orders, ask for a free margin audit: we calculate it on your data, by channel, country and product.
Sources
- Polar Analytics, Contribution margin formula for ecommerce: how to calculate it.
- Stripe, Understanding fees for refunded payments.
- National Retail Federation and Happy Returns, Consumers expected to return nearly $850 billion in merchandise in 2025, 15 October 2025.
FAQ
What is the difference between gross margin and profit per order?
Gross margin deducts only the purchase price of goods. Profit per order also deducts delivery, payment fees, ads and the cost of returns. The second number is the one that tells you whether an order, a campaign or a market is worth paying for.
Should profit per order include VAT?
No. Calculate it with prices and costs excluding VAT. VAT is passed on to the tax authority, so including it on the revenue side overstates profit.
Is profit per order the same as contribution margin?
For practical purposes, yes: both mean what is left after the costs that move with each order. Teams differ on which costs they include, so write down your definition and use it everywhere.
How do I assign ad spend to individual orders?
Start at campaign level: divide each campaign's cost by the orders it brought, per day and per market. Platform-reported conversions are a starting point only, since they use their own attribution. Compare their totals with orders in your shop and correct the difference.
What do I do with a return that arrives three weeks later?
Attach it to the original order and its original date, and restate profit for that day, campaign and market. Until real returns arrive, use an expected return rate based on previous periods and replace it with actuals as they come in.
How many orders do I need before the number is useful?
The calculation is useful from the first order, but decisions need volume. Judge campaigns and products over enough days and orders to smooth out the noise, and watch the direction of the trend rather than a single day.
