How to calculate profit per order in an online store
Profit per order is the revenue you actually keep from a group of orders, minus product cost, payment fees, shipping in both directions, packaging and the advertising spent to win them, divided by the number of orders placed. Refused and returned orders add cost but no revenue, so they belong in the calculation.
By Riven PartnersPublished
What is profit per order?
It is profit after direct costs, expressed per order. Direct costs are the ones that rise when you take another order. Salaries, rent and software subscriptions are not included here; they have to be paid out of what this figure leaves over.
Formula: (revenue from delivered and kept orders − product cost − payment and collection fees − outbound and return shipping − packaging − attributed ad spend) ÷ orders placed.
What does a worked example look like?
Illustrative example. Invented numbers, not client data or results.
100 cash-on-delivery orders in a fictional store
Each order sells for 200 SAR before VAT. 100 orders are placed, 80 are delivered and kept, and 20 are refused at the door. The refused goods come back in sellable condition.
| Line | Working | Amount |
|---|---|---|
| Revenue kept | 80 × 200 | 16,000 |
| Product cost | 80 × 70 | −5,600 |
| Outbound shipping | 100 × 25 | −2,500 |
| Return shipping | 20 × 20 | −400 |
| Packaging | 100 × 5 | −500 |
| Collection fees | 80 × 6 | −480 |
| Ad spend | Spend behind these orders | −3,000 |
| Profit after direct costs | Revenue minus all lines above | 3,520 |
- Profit per order placed: 3,520 ÷ 100 = 35.2 SAR. Per delivered order: 3,520 ÷ 80 = 44 SAR.
- Looking at one delivered order alone gives 200 − 70 − 25 − 5 − 6 − 30 of advertising = 64 SAR, which overstates the result because it ignores the refusals.
- If the ad platform counts all 100 orders, it shows 20,000 ÷ 3,000 = about 6.7. On revenue actually kept the ratio is 16,000 ÷ 3,000 = about 5.3.
- Break-even ad cost per order placed, with everything else unchanged: (3,520 + 3,000) ÷ 100 = 65.2 SAR.
Where do you find each cost?
| Cost line | Where to find it | What to check |
|---|---|---|
| Product cost | Purchase invoices, cost field in the store admin | Include freight and duties paid to bring the goods in |
| Payment and collection fees | Gateway and courier statements | Rates differ by payment method; refunds may not return the fee |
| Shipping and returns | Courier statements, line by line | Return legs, surcharges and re-delivery attempts |
| Packaging | Supplier invoices divided by units used | Inserts, samples and gifts |
| Ad spend | Billing pages of the ad accounts | Use billed spend, including taxes you cannot recover, and agency or creator fees |
A built-in profit report may cover only part of this list. Shopify's profit reports, for example, define gross profit as net sales minus cost, and report profit only for products that had a cost recorded when they were sold. That is a useful first deduction, not the full set of direct costs above.
Which mistakes distort the figure?
- Counting refused or refunded orders as revenue.
- Treating VAT collected from the customer as your revenue.
- Using platform-reported ROAS in place of your own records.
- Forgetting gateway fees, return shipping and discount codes.
- Comparing this week's ad spend with deliveries from earlier weeks.
What if the numbers do not reconcile?
- Fix one order date range and wait until most of those orders have a final delivery status.
- Match store orders to courier records using the order number, and list those missing on either side.
- Match courier remittances to delivered orders; investigate differences before calling them revenue.
- Compare ad platform purchases with store orders. A gap is expected because attribution rules differ; the store and courier records decide revenue.
Once the figure is stable, repeat it by product, channel and city. That shows which orders to pursue and which to stop paying for.
How we diagnose before we change anything
Common questions
- How is profit per order different from gross margin?
- Gross margin usually stops at product cost. Profit per order also deducts the other direct costs of selling and delivering, including advertising.
- What if returned goods cannot be resold?
- Add the cost of the damaged or expired units as a separate line.
- Should repeat purchases count?
- Calculate the first order on its own, then look at repeat orders separately. Do not use hoped-for future purchases to justify a loss today.
- How often should it be recalculated?
- Often enough to act on it, and again whenever prices, courier rates, payment methods or the product mix change.
Sources
- Profit reports · Shopify Help Center · Accessed How Shopify's profit reports define gross profit and when they report it.
