Cost of Goods Sold: The Number That Decides Your Real Profit

COGS isn’t what you bought this month — it’s the cost of what you actually sold. Learn to calculate it and avoid common mistakes.

2 min read Read in العربية

The most common profit mistake: subtracting this month's purchases from sales. Part of what you bought is still on the shelf, and part of what you sold was bought last month.

The formula

COGS = opening stock + purchases − closing stock

Example

Item Amount
Opening stock 50,000
Purchases 70,000
Closing stock 58,000
COGS 62,000

With 80,000 in sales, gross profit is 18,000 — not 10,000 as subtracting purchases would suggest.

The easier way: from your system

When every item has a cost and every sale is recorded, the system calculates each invoice's cost automatically; their sum is COGS.

Shrinkage and damage

They reduce closing stock and so raise COGS — which is why recording them as adjustments matters.

Common mistakes

  • Outdated item costs.
  • Unrecorded deliveries.
  • Including recoverable VAT in cost (in some tax systems).
  • Ignoring significant inbound freight.

Why it matters

It's the biggest line in most shops' books. A 5% error can wipe out or inflate net profit on paper.

In 7esabaty

7esabaty calculates profit per item from cost and price, so COGS shows up directly in profit reports.

FAQ

Is inbound shipping part of COGS? Often yes if tied to the goods; ask your accountant.

How often to calculate? Monthly with your review; the system gives a daily estimate.

Read next: Calculate shop profit · Markup vs margin

  • cost of goods sold
  • COGS
  • gross profit
  • inventory
  • purchases

More articles

All articles