How do I track the cost of goods I sold on Shopify
Cost of goods sold (COGS) is what the items you sold actually cost you, recorded in the same period as the sale. It's what makes your margin real. Without it, a profit and loss shows revenue and overheads but nothing for what the stock cost, so it flatters your profit, sometimes badly.
On Shopify the working number is the cost per item held on each product variant. The cost of goods sold for a sale is the units sold times that unit cost, booked against the same period as the revenue. One thing worth knowing: missing costs have to be visible. Any variant sold without a cost on file should be listed so you can fill it in, rather than silently counted as free stock, which would report the sale as pure profit.
Refunds that put stock back reverse the COGS at the original cost, so returned stock doesn't leave a phantom cost behind.
Reviewed by Mark Haimes, founder of TALISK_HQ