Skip to content

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.

Illustrative calculation, in SAR
LineWorkingAmount
Revenue kept80 × 20016,000
Product cost80 × 70−5,600
Outbound shipping100 × 25−2,500
Return shipping20 × 20−400
Packaging100 × 5−500
Collection fees80 × 6−480
Ad spendSpend behind these orders−3,000
Profit after direct costsRevenue minus all lines above3,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 lines and where to look
Cost lineWhere to find itWhat to check
Product costPurchase invoices, cost field in the store adminInclude freight and duties paid to bring the goods in
Payment and collection feesGateway and courier statementsRates differ by payment method; refunds may not return the fee
Shipping and returnsCourier statements, line by lineReturn legs, surcharges and re-delivery attempts
PackagingSupplier invoices divided by units usedInserts, samples and gifts
Ad spendBilling pages of the ad accountsUse 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?

  1. Fix one order date range and wait until most of those orders have a final delivery status.
  2. Match store orders to courier records using the order number, and list those missing on either side.
  3. Match courier remittances to delivered orders; investigate differences before calling them revenue.
  4. 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

  1. Profit reports · Shopify Help Center · Accessed How Shopify's profit reports define gross profit and when they report it.

Want this applied to your numbers?

Tell us how your business sells today and where the figures stop agreeing.

Start a conversation