Shopify keeps one cost per item. What that does to your margins
Last updated: 12 November 2026
If you sell on Shopify, each variant has one field called Cost per item. It looks small, and it hides a problem.
What happens when you change a cost
Say a variant costs you $8 and you sell it for $12. Your supplier raises the price and you update the cost to $13. Two things follow:
- From that moment you lose $1 on every sale. Nothing in Shopify tells you.
- The old $8 is gone. Shopify’s help says Cost per item is static data, so profit reports are only relevant to a specific point in time, and profit is reported only for variants that had a cost recorded when they were sold.
In practice the variant holds only the current cost. Past sales keep the cost that was recorded when they happened, but nothing in Shopify shows you when a cost changed or what it used to be. A cost you add or correct late does not reach sales that already happened.
Three things worth checking
1. Products selling below cost
Compare price and cost for every active variant. Anything where the cost is higher than the price loses money on each sale. Archived and draft products do not matter, since nobody can buy them.
2. Products with no cost
A variant with no cost looks like pure profit in every report, because there is nothing to subtract. These are the easiest mistakes to miss.
3. Thin margins
A product making 3% looks fine until a supplier raises the price by 5%.
How to check by hand
- In the Shopify admin, go to Products and choose Export, with all products selected.
- Open the CSV and find the Variant Price and Cost per item columns.
- Add a column that subtracts the cost from the price and sort it ascending. Negative numbers sell below cost.
This works. The catch is that it is a snapshot: you have to repeat it, and it still does not tell you what a cost used to be.
How to keep the history
A record of cost changes has to be written at the moment they change. Some ways to do it:
- A spreadsheet where you note each change with its date.
- Your supplier invoices, if you keep them organised.
- An app that records the changes for you. CostSonar does this: it logs every cost change with its date and the value it replaced, and emails you when a product that was making money starts selling below cost. It only reads your store; it never writes to it. It does not calculate profit per order and it does not track landed cost per shipment.
CostSonar is made by the author of this guide.