Calculator Factory
← All calculators
Business

COGS Calculator (Cost of Goods Sold)

Calculate cost of goods sold from beginning inventory, purchases, and ending inventory.

Cost of goods sold

$75,000

Inventory change

+$5,000

Inventory trend

Inventory Increasing

Visual insights

Inventory flow breakdown

How beginning inventory, purchases, and ending inventory flow into COGS.

$0$26,667$53,333$80,000Beginning: $25,000BeginningPurchases: $80,000PurchasesEnding: $30,000EndingCOGS: $75,000COGSComponentAmount ($)
View chart data
ComponentAmount
Beginning$25,000
Purchases$80,000
Ending$30,000
COGS$75,000

Decision support

Interpretation

COGS of $75,000 reflects $5,000 in inventory buildup — not all purchases became cost of sales this period.

Assumptions

COGS = Beginning inventory + Purchases − Ending inventory. Uses periodic inventory method; excludes freight-in capitalization nuances.

What to do next

CautionRisk levelMediumConfidenceHigh

Recommended action

Audit slow-moving SKUs and align purchasing with sales velocity to free cash tied in stock.

COGS
$75,000
Inventory trend
Inventory Increasing
Inventory change
+$5,000

Why

COGS of $75,000 with inventory increasing — inventory trends affect cash flow and gross profit.

Save or share your results

Cost of goods sold (COGS) measures the direct cost of inventory sold during a period. Retailers, restaurants, and manufacturers use it to calculate gross profit and monitor inventory efficiency.

How to use this calculator

  1. Enter inventory value at the start of the period.
  2. Enter total inventory purchases during the period.
  3. Enter inventory value at the end of the period.
  4. Review COGS, inventory change, and the efficiency indicator.
  5. Use the interpretation to connect COGS to profitability and stock management.

Formula

COGS = Beginning inventory + Purchases − Ending inventory. A positive inventory change means stock built up; a negative change means you sold down existing inventory.

Example

With $25,000 beginning inventory, $80,000 purchases, and $30,000 ending inventory, COGS is $75,000 and inventory increased by $5,000.

Frequently asked questions

What is included in COGS?

Direct costs of goods sold: product cost, raw materials, and direct labor tied to production. Operating expenses like rent and marketing are not COGS.

Why did my COGS exceed purchases?

When ending inventory is lower than beginning inventory, you drew down stock. COGS includes both purchases and the reduction in inventory value.

How often should I calculate COGS?

Monthly or quarterly for management decisions; annually at minimum for financial statements. More frequent tracking helps catch margin erosion early.

Does this calculator use FIFO or weighted average?

This uses the periodic inventory formula. Specific costing methods (FIFO, LIFO, weighted average) may produce different unit costs — consult your bookkeeper for formal statements.

Related calculators