Skip to content
PROFIT

Calculating Shopify profit: revenue, costs and an example

An order can bring revenue and still contribute little. Calculate net values, cost of goods, shipping, fees, advertising and returns separately, with a complete example.

6 minIron Saleh — Founder, NorthProfit

You can only calculate Shopify profit once you define which revenue and costs belong to the same period. Net revenue minus cost of goods is a first level. If you also deduct shipping, payment fees, attributable advertising and return costs, you get a broader contribution margin. Company profit additionally needs fixed costs and other relevant expenses.

Telling revenue, gross profit and contribution margin apart

Shopify describes its gross profit report as net sales minus recorded product costs. Products without a cost stored at the time of sale can be missing from it. A positive value from this report therefore does not automatically answer what is left after your additional costs.

A payout is not a complete profit calculation either: timing, fees, refunds and withheld amounts can differ from the order period. Reconcile orders, payments and costs instead of equating bank receipts with profit.

Terms for the same chosen cost basis
MetricCalculationWhat is still missing
Net revenueRevenue after discounts and refunds taken into account, excluding VATThe related costs
Gross profit with product costsNet revenue minus recorded cost of goodsFor example shipping, fees, advertising and fixed costs
Contribution margin at a chosen cost levelNet revenue minus the defined variable costsFixed costs and, where applicable, other expenses
Operating result for a periodTotal contribution minus allocated operating fixed costsOther relevant result items and how they are delimited

A complete example calculation for one order

All of the following figures are made-up example assumptions and already net. They are not Shopify fees or market prices. A shipping charge paid by the customer would belong on the revenue side; none is added here.

Our own example order: €150 net revenue
ItemAmountNote
Net revenue€150.00Starting point after revenue corrections taken into account
Cost of goods−€60.00Allocated to the item sold
Shipping and fulfillment−€10.00Actual cost of the order
Payment/platform fees−€5.00Example value; in practice check the transactions
Attributable advertising−€25.00Disclosed attribution model
Return cost allowance−€10.00Estimate, not a second revenue refund
Contribution after these costs€40.00Still before fixed costs and other expenses

150 − 60 − 10 − 5 − 25 − 10 = 40 euros. The contribution margin on this cost basis is 40 ÷ 150 × 100 = 26.67 percent. If, for example, 15 euros of fixed costs are later allocated in a traceable way, 25 euros remain on the extended example basis. A cost type left out is not a zero value.

Do not count returns and ad costs twice

A refund may already be deducted from net revenue. If you deduct the same refund a second time as a cost, you distort the result. Return shipping, handling or goods that can no longer be sold are additional items that can be considered separately. Estimated provisions and actually incurred values stay distinguishable.

For advertising, a campaign total is often available first. Splitting it across orders or products is a model. Document the period, channel and allocation; an attribution is no proof that a particular ad alone caused the purchase. Without a reliable allocation, a shop-level result for the same period can be more honest than seemingly exact per-order profits.

How to check your own calculation

  1. Fix one period, one currency and one consistent net/gross basis.
  2. Reconcile orders, discounts and refunds for this period; mark missing data visibly.
  3. Check product costs at the actual time of sale. Do not treat missing product costs as zero.
  4. Add shipping, fulfillment and fees from the related transactions.
  5. Include advertising and returns with a documented allocation or as a clearly labelled estimate.
  6. Report the contribution and the missing cost items. Deduct fixed costs only in an explicitly extended level.

Source and limits

Shopify's official documentation was checked on 6 October 2026. The vendor report and our own extended example are described separately. The calculation explains cost levels; it does not replace full bookkeeping or a professional review of your tax and result delimitation.

Frequently asked questions

How do I calculate my Shopify profit?
Define the period and the cost basis. Deduct the related product costs and the further costs you explicitly include from net revenue. For company profit, fixed costs and other relevant result items must also be taken into account.
Is the Shopify payout my profit?
No. Payouts show cash flows with their own timing. Cost of goods, advertising, returns and other costs are not automatically fully taken into account.
Why are orders missing in the Shopify gross profit report?
According to Shopify the report takes products or variants into account that had product costs recorded at the time of sale. Missing costs can therefore lead to a deviation from other sales reports.
What does an unknown cost value mean?
An unknown value is an open data gap. It is not entered as zero or shown as an actual cost saving. If you calculate with an assumption, it must stay visible as an estimate.

Back to the blog

Check it against your own numbers.

Connect your shop and see what stays on the bottom line.

  • No credit card
  • Cancel monthly
  • App and database on servers in Germany