Fulfillment Lexicon

Cost of Goods Sold

Cost of Goods Sold (COGS) is the direct cost of the inventory a business sold during a period, typically including product cost, inbound freight, duties, and other landed costs, but not outbound shipping or marketing.

Topic: Metrics & Unit Economics Entry KPI-050

Why it matters for ecommerce brands

COGS is the base of gross margin, inventory turnover, and GMROI. Ecommerce brands often under-report it by leaving freight and duties out of product cost.

Formula and calculator

COGS = beginning inventory + purchases (at landed cost) − ending inventory

Try your own numbers

The example values are filled in. Change any number to see your own result.

$
$
$

COGS = $280,000

Common questions

Is shipping included in cost of goods sold?
Inbound freight to get inventory to your warehouse is usually capitalized into inventory and flows into COGS. Outbound shipping to customers is often reported separately as a fulfillment or selling expense, though policies vary, so apply one rule consistently.

Cite this entry

"Cost of Goods Sold (COGS)." Fulfillment Lexicon, last reviewed October 16, 2026. https://fulfillment.wiki/glossary/cost-of-goods-sold/

More in Metrics & Unit Economics