COGS Calculator

Work out cost of goods sold from opening inventory, purchases and closing inventory, plus gross profit and margin if you add net sales.

Example values are pre-filled. Change any field and results update instantly. Results are estimates for planning and education.

How this is calculated

COGS = opening inventory + purchases − closing inventory. Include freight-in and duties in purchases. Closing inventory should come from a physical count or a reconciled system count.