COGS done right
COGS includes the direct cost of what you sold: stock purchases, freight-in, direct labour, packaging. It does NOT include rent, salaries (unless directly tied to production) or marketing.
Recording COGS correctly is the difference between knowing your real margin and guessing it.