Articles · October 23, 2026
Coffee Shop Cost of Goods Sold: How to Calculate It
Your coffee shop's cost of goods sold (COGS) for a period is your beginning inventory, plus everything you bought, minus your ending inventory. Divide that number by your sales for the same period and you get your cost %, the single best number for telling whether your menu prices and your bar are working.
That's the short version. Below is how to count it, a worked month you can copy, how to compare it with what your recipes say it should be, and the mistakes that throw the number off. Every number in this guide is a made-up example, not a benchmark or a supplier quote.
What counts as cost of goods sold in a coffee shop
COGS is what you spent on the things that leave the building with the customer, or that get used up making what they bought:
- Coffee and tea: espresso beans, drip and cold brew coffee, tea, chai concentrate.
- Dairy and milk alternatives: whole milk, half and half, oat, almond and the rest.
- Syrups, sauces and toppings: flavors, mocha, caramel, whipped cream, cold foam bases.
- Food and bakery: pastries, breakfast items and grab-and-go, if you sell them.
- Packaging: cups, lids, sleeves, straws, carriers and bags.
Labor, rent, utilities, card fees and cleaning supplies are not COGS. They're operating costs. Keep them out, or your cost % will look worse than it is and you'll chase the wrong problem.
The COGS formula
COGS = beginning inventory + purchases − ending inventory
Cost % = COGS ÷ sales for the same period
Beginning inventory is what was on your shelves, in the walk-in and behind the bar at the start of the period, valued at what you paid. Purchases are every delivery and every run to the store during the period. Ending inventory is the count on the last day. Your ending count this month is your beginning count next month.
Most owners run this monthly. Weekly is better if you're fixing a problem, since you'll see whether a change worked in days instead of weeks.
Step 1: Count your inventory the same way every time
Pick a day and time, ideally after close on the last day of the month, and count everything in units you can price: bags of beans, gallons of milk, bottles of syrup, sleeves of cups. Open containers count too. Estimate them as a fraction, like half a bottle. Use the same count sheet in the same order every month so nothing gets skipped.
Value each item at the price on your latest invoice. Being exact to the penny matters less than being consistent from month to month.
Step 2: Add up purchases from invoices, not bank statements
Pull every invoice and receipt dated inside the period. Use invoices rather than payments, because you might pay a supplier weeks after the delivery. Leave out anything that isn't COGS, like cleaning supplies or a new grinder, even if it came on the same invoice.
Worked example: one month at a small drive-thru
All numbers are examples only.
| Line | Amount |
|---|---|
| Beginning inventory (Oct 1) | $3,200 |
| + Purchases during October | $14,600 |
| − Ending inventory (Oct 31) | $3,500 |
| = Cost of goods sold | $14,300 |
| Sales for October (before tax) | $48,000 |
| Cost % | 29.8% |
On its own, 29.8% doesn't tell you much. It's only useful once you compare it with two things: the target you set, and what your recipes say the number should have been.
Step 3: Compare actual cost % with your recipe cost %
Your recipe cost % (sometimes called theoretical cost) is what COGS would have been if every drink was made exactly to spec with zero waste. To get it, take each item's cost per cup, multiply by how many you sold from your POS product mix, add it all up, and divide by sales.
Example: say the recipe math for October comes to $12,900, or 26.9% of sales. Actual was 29.8%. That gap of about 2.9 points, or roughly $1,400 for the month in this example, is money that went somewhere other than into a sold cup. Common places it goes:
- Over-pouring: milk pitchers filled high, heavy pumps on syrup, extra shots that aren't rung in.
- Waste: dumped shots while dialing in, steamed milk left over, expired pastries.
- Free drinks: staff drinks, remakes and comps that never hit the POS.
- Price creep: supplier prices went up but your recipe costs still use last year's numbers.
- Ringing errors: a large made but a medium rung, or add-ons given away for free.
Do this faster: the Coffee & Drive-Thru Menu Pricing Calculator works out cost per cup for every drink and size from your ingredient and packaging costs, and gives you a sales-weighted cost % from your product mix, in Excel or Google Sheets.
What's a good cost of goods % for a coffee shop?
There's no single right number. It depends on your menu mix, your prices and how much food you sell. Drip and cold brew usually cost the least per dollar of sales, espresso drinks with milk and packaging sit higher, and blended drinks and food run higher still. A shop that sells mostly drip coffee will naturally post a lower cost % than one that sells mostly frappés and breakfast sandwiches.
For rough starting points, our free Coffee Drink Cost Cheat Sheet lists the planning ranges we use by category. They're rules of thumb, not industry rules. The better target is your own recipe cost %. If actual tracks within a point or two of it, your bar is in good shape, and if the recipe number itself is too high, the fix is pricing, not portioning.
Common COGS mistakes
- Skipping the inventory count. Using purchases alone swings wildly month to month, because one big delivery on the 30th makes that month look terrible and the next month look great.
- Mixing in non-COGS costs. Cleaning supplies, smallwares and equipment repairs belong in operating expenses.
- Using sales with tax included. Use net sales before sales tax and tips.
- Counting on different days. A count on the 28th one month and the 3rd the next compares different lengths of time.
- Never updating recipe costs. If your cost per cup still uses old invoice prices, your recipe cost % will look fine while your actual cost % climbs.
A simple monthly routine
- Count inventory after close on the last day of the month.
- Total the month's COGS invoices.
- Run the formula and divide by net sales.
- Run your recipe cost % from the POS product mix.
- If the gap is more than you're comfortable with, pick one cause from the list above and fix it this month.
It takes an hour or two a month once you have a count sheet and up-to-date recipe costs. If you'd like a shortcut on the recipe side, the Menu Pricing Calculator keeps every drink's cost per cup in one place, so when a supplier raises prices you update one cell and see which drinks need a new price.
From CoffeeOpsToolkit. Built by a former coffee industry executive who led development for a multi-unit drive-thru chain.
This article was written with the help of AI tools. All example numbers are made up for illustration; use your own invoices.