Free tool

COGS calculator.

Enter your opening stock, what you purchased, and your closing stock. We work out your cost of goods sold — what you actually consumed — plus your COGS % if you add sales. No sign-up, no email — just the number.

Instant resultNo sign-up฿ or any currency
This period
Inventory value at the start
$
Stock bought during the period
$
Inventory value at the end
$
Optional — to get COGS as % of sales
$

COGS = opening stock + purchases − closing stock. It's what you actually consumed, not what you bought — so an over-buy at month-end doesn't inflate the number.

Optional

ResultOn target
COGS
$255,000
COGS % of sales
31.1%

Stock consumed
$255,000
Gross margin %
68.9%

You used $255,000 of stock this period. On $820,000 of sales that's a COGS of 31.1% — most full-service kitchens aim to keep this in the 28–35% band.

Estimates only. COGS is what you consumed in the period — it depends on accurate opening and closing counts. Pair it with per-dish food cost and your full P&L.

The short version

How to read your number.

How to use it

  1. Take your stock value at the start of the period — your opening stock from the last count.
  2. Add everything you purchased during the period, then your stock value at the end (closing stock).
  3. Read COGS: opening + purchases − closing. That is what you consumed, not what you bought.
  4. Add sales for the same period to see COGS as a %, then compare it to your target.

What's a good COGS %?

COGS % depends on format — it blends food and (for bars) drink. Rough bands:

  • 28–35% — a healthy blended range for most full-service restaurants.
  • Under 25% — drink-led venues and cafés often sit here on a beverage-heavy mix.
  • Over 40% — worth investigating: portioning, wastage, theft, or prices that have drifted out of date.

A COGS spike with flat sales usually means waste or shrinkage, not appetite.

COGS questions

Good to know.

The numbers behind the number — and where this calculator stops.

Cost of goods sold is the value of the stock you actually consumed in a period — opening stock + purchases − closing stock. It is what hit the plates and glasses, not what you bought. Buying heavily at month-end doesn’t inflate COGS, because that stock is still sitting in closing inventory.
They measure the same thing at different levels. Food cost % is per dish: ingredient cost ÷ menu price. COGS % is menu-wide: total stock consumed ÷ total sales for the period. A clean per-dish food cost can still produce a high COGS if you have waste, theft or over-portioning.
COGS is only as good as your stock counts. If closing stock is understated, COGS looks too high; if it is overstated, COGS looks too low and hides a problem. Count consistently, at the same time each period, and value items at the price you actually paid.
Yes — that is what Papaya Stock does. Count stock on a phone, receive deliveries by photographing the invoice, and every sale depletes the right ingredients. Your COGS updates as movements happen, by ingredient and outlet, with no spreadsheets.
From a period snapshot to live numbers

See your COGS move, not just add it up.

This calculator gives you one period. Papaya tracks COGS as it happens — stock counts, AI goods-receipt and a live cost of every ingredient across every outlet.