← All free tools

Free tool · No signup

COGS calculator for cafés

Cost of goods sold = beginning inventory + purchases − ending inventory. Enter the value of your stock at two counts and what was delivered in between. Add your sales to see the cost as a share of sales, and the days between the counts to see how long your stock would last. An example month is loaded so you can see how it works.

Your numbers

Your result

Cost of goods sold

$10,100

beginning + purchases − ending

Share of sales

32.6%

cost of goods sold ÷ sales

Stock on hand

11.6 days

how long the ending stock lasts at this rate

How do you work out cost of goods sold?

You need two stock counts and the invoices between them. The first count is where the period starts, the second is where it ends, and everything delivered in between is added on top. What is left over after you take away the second count is what you used: sold, given away, spilled or thrown out.

Cost of goods sold = Beginning inventory + Purchases − Ending inventory
Share of sales = Cost of goods sold ÷ Sales × 100
Days of stock on hand = Ending inventory ÷ (Cost of goods sold ÷ Days)

What does a worked example look like?

A café counts $4,200 of stock on the last day of October. During November it takes delivery of $9,800. On the last day of November it counts $3,900. November sales were $31,000.

  • Cost of goods sold: 4,200 + 9,800 − 3,900 = $10,100
  • Share of sales: 10,100 ÷ 31,000 = 32.6%
  • Days of stock on hand: 3,900 ÷ (10,100 ÷ 30) = 11.6 days

The figure is only as good as the two counts. Use the same prices and the same units at both, and count on the same day you close the month. A printable count sheet makes the count faster, and the menu pricing calculator does the same sum for a single drink. The step-by-step version is in how to do a month-end inventory count.

What moves the number?

  • Supplier prices. The same milk at a higher price raises the cost with no change in what you sold.
  • Waste. Anything thrown out is still inside the figure. A waste log shows how much.
  • Portions. An extra half ounce of milk in every latte adds up across a month.
  • A count that missed a shelf. A low ending count makes the cost look high this month and low the next.

Frequently asked questions about cost of goods sold

How do I calculate cost of goods sold for a café?

Cost of goods sold = beginning inventory + purchases − ending inventory. Beginning inventory is what your stock was worth at the last count, purchases is everything delivered between the two counts, and ending inventory is what your stock is worth at this count.

What counts as purchases?

Everything that was delivered between the two counts, at the price on the invoice, whether or not you have paid for it yet. Leave out anything that arrived after the second count, even if it was ordered before.

Do cups, lids and packaging belong in cost of goods sold?

For a café, yes: they leave with every drink. Whatever you decide, count the same things at both counts and include the same things in purchases, or the result will not mean anything.

How often should I work it out?

Once a month is the usual rhythm, with a count on or near the last day of the month. A weekly figure is possible with weekly counts; set the days between counts to 7.

Why is my result negative?

A negative figure means a number is wrong: a delivery is missing from purchases, or the two counts used different prices or units. You cannot end with more stock than you started with plus what you bought.