How to Track Shopify Cost of Goods Sold for Every Product

Shopify cost of goods sold is the number that turns revenue into margin, and it is the one most stores leave unfinished. Without a cost for each product, a profit report either treats the stock as free or leaves those sales out, so the products that look strongest on sales can be the ones losing money. This guide covers what belongs in the cost, where to record it, how to keep it current when suppliers change their prices and what the finished numbers tell you.
On this page
What belongs in Shopify cost of goods sold?
Shopify cost of goods sold should be the landed cost of each unit: what the supplier charges, plus inbound freight, import duties, and any packaging or inserts that ship with every unit. The supplier price alone understates it, sometimes by a lot for products shipped from far away, and a margin built on an understated cost makes the business look healthier than it is.
Keep the costs that vary with each order out of it. Payment fees, outbound shipping to the customer and ad spend all matter to profit, but they belong in their own lines, because they change with the order, the channel and the campaign rather than with the product. Mixing them into the product cost makes it impossible to see which of them moved when the margin changes.
- Supplier price per unit
- Inbound freight, spread across the units in the shipment
- Import duties and customs fees
- Packaging and inserts that ship with every unit
Where should you record cost per item in Shopify?
Shopify has a cost per item field on every product variant, and filling it in is the simplest place to start, because Shopify uses it to calculate profit in its own reports. For a small catalogue with stable prices, typing the landed cost into that field and checking it every quarter may be all you need.
It gets harder as the catalogue grows. A store with hundreds of variants, several suppliers and prices that change with each production run ends up maintaining the field by hand, variant by variant, usually from a spreadsheet that drifts out of date. The field holds one current number per variant, so it says nothing about where that number came from or when it was last checked. Whatever tool you use, keep the source of each cost, such as the supplier invoice or price list, next to the number.
How do you keep product costs current when suppliers change prices?
Keep product costs current by updating them when the supplier price changes, not at the end of the quarter. Make the update part of receiving a new price list or invoice: when the new price arrives, the affected products are updated the same day, and the date is recorded. A cost that is three months stale is a margin that is three months wrong, and every pricing and ad decision in between was made on it.
Watch for the changes that hide in freight and duties. A supplier price can stay the same while the cost of shipping rises sharply, and a new duty rate can apply to one product category and not another. Recalculate the landed cost for each shipment where you can, and at least check the inbound costs whenever you reorder.

Also read: Shopify Profit Tracking: Find Your Real Margin Per Order · How to Run a Shopify Accounting Close Workflow Each Month
What does gross margin per product tell you?
Gross margin per product tells you which products make money and which only make revenue. Once each product carries a real cost, sort the catalogue by gross margin as well as by sales, and the two lists rarely match. A bestseller with a thin margin can absorb most of your ad budget while contributing little profit, and a quieter product with a strong margin may deserve far more attention than it gets.
Use the margin to set limits, not just to report. After fees and shipping are taken off, what remains of a product’s gross margin is the most you can spend to win a sale of it before that sale loses money. Knowing that ceiling for each product turns ad decisions from a question of return on ad spend into a question of profit, which is the one that pays the bills.
- High sales and low margin: check the price and the cost first
- High margin and low sales: a candidate for more promotion
- No cost recorded: a gap to close before trusting any total
- Margin falling over time: a supplier or freight change to investigate
How does Zyberon track cost of goods sold?
Zyberon’s profit calculator treats cost of goods as its own workflow. In the Product costs tab you upload a supplier price screenshot and link each price to its product once, and every order from the start date you choose is costed with that price. Products without a linked cost are shown as such rather than silently counted as free, so the gap is visible instead of hidden in a flattering margin.
Those costs feed a live profit and loss built from your real Shopify orders: revenue from the order sync, ad spend from your Meta account, split by the campaign each order came from, payment fees and shipping deducted, and product costs subtracted at the item level. The Products tab then shows which products make money and which only make revenue, and when a supplier raises a price, updating the linked cost recalculates the margin.
How often should you review product costs?
Review product costs on two triggers and one rhythm: whenever a supplier sends a new price, whenever a shipment arrives with different freight or duties, and once a month as part of closing the books. The triggers keep the numbers current; the monthly review catches what slipped through, such as a product added without a cost or a new variant whose cost was never copied from its siblings.
Keep a short note of each change: the product, the old and the new cost, the date and the source. When the margin moves, that note answers the first question anyone asks, which is whether the product got more expensive or the selling got worse. Over a year it also becomes a record of each supplier’s pricing, which is useful the next time you negotiate.
How this compares to the tools you are weighing
- Shopify cost per item
- What it does well
- The cost per item field is built into every Shopify variant, costs nothing extra and feeds Shopify’s own profit reporting, which makes it the natural first place to record product costs.
- Where it stops
- It covers product cost only and is maintained by hand, one variant at a time, with no record of where a number came from, so it drifts as suppliers change prices and the catalogue grows.
- What Zyberon does instead
- Zyberon links a supplier price screenshot to each product once, costs every order from the start date you choose, and shows products without a linked cost instead of counting them as free.
- TrueProfit
- What it does well
- TrueProfit is a Shopify profit app that brings orders, product costs, shipping, transaction fees and ad spend from the major ad platforms into one dashboard, with profit shown per order and per product.
- Where it stops
- Its numbers are only as good as the costs it is given, which still come from Shopify’s cost field, a file import or manual entry, and keeping those costs current remains your job.
- What Zyberon does instead
- Zyberon makes costing a workflow of its own, built on supplier price screenshots linked once per product, and keeps every product without a cost visible until the gap is closed.
Questions this raises
Is cost of goods sold the same as the cost per item in Shopify?
Not quite. The cost per item field holds whatever you type into it, which is often just the supplier price. Cost of goods sold for a margin you can trust should be the landed cost, including inbound freight, duties and packaging.
Should shipping to the customer be part of cost of goods sold?
For operating decisions, keep it separate. Outbound shipping depends on the order, the destination and the carrier rather than the product alone, so it belongs in its own line next to payment fees. That way you can see whether the margin changed because of the product or because of delivery.
What if I do not know the exact cost of an older product?
Use your best documented estimate, mark it as an estimate and replace it when the next invoice arrives. An approximate cost is far more useful than none, because a product without a cost either inflates profit or drops out of the margin report entirely, depending on the tool.
How does Zyberon handle products without a cost?
It shows them. Products without a linked cost are visible as such in the profit calculator rather than silently counted as free, and a linked supplier price costs every order from the start date you choose.
Read next
- Shopify Profit Tracking: Find Your Real Margin Per OrderShopify profit tracking that nets out product cost, shipping, payment fees, ad spend and returns per order, so you see which products actually make money.
- How to Run a Shopify Accounting Close Workflow Each MonthRun a Shopify accounting close workflow each month by reconciling sales, fees, refunds and supplier costs before relying on a profit number.
- How to Run a Shopify Supplier Reorder WorkflowRun a Shopify supplier reorder workflow that checks sales pace, stock on hand, supplier lead time and margin before a purchase order commits your cash.
- How to Build a Shopify Customer Support Escalation WorkflowBuild a Shopify customer support escalation workflow that answers routine questions quickly while sending refunds, disputes and uncertain cases to a person.
- How to Build a Shopify Chargeback Evidence WorkflowA Shopify chargeback evidence workflow for organising order facts, delivery records and customer messages before a payment dispute reaches its deadline.
- How to Run a Shopify Store Analytics Weekly ReviewA Shopify store analytics weekly review that connects orders, acquisition, support and margin so a merchant can choose one clear action.