Coffee cost price
Coffee cost price calculation, plus juice and sandwich
A coffee cost price calculation tells you what one cup really costs you to serve, before you think about the price on the board. Many cafés and snacks in Morocco set prices by looking at the place next door, then find at the end of the month that the till does not cover the rent. This page gives you a simple method for three typical products, with an example table. Every number is an example: replace it with your own invoices and portions.
14-day free trial, no credit card.

| Example (replace with your numbers) | Black coffee, on site | Fresh orange juice, takeaway | Chicken sandwich, takeaway |
|---|---|---|---|
| Ingredients per portion | 1.25 MAD (7 g coffee, sugar) | 3.60 MAD (600 g oranges) | 9.00 MAD (bread, chicken, vegetables, sauce, cheese) |
| Waste | 0.13 MAD (10%) | 0.36 MAD (10%) | 0.72 MAD (8%) |
| Packaging | 0 MAD (cup) | 1.00 MAD (cup, lid, straw) | 0.70 MAD (paper, bag) |
| Share of fixed costs | 2.50 MAD | 2.50 MAD | 2.50 MAD |
| Full cost price | 3.88 MAD | 7.46 MAD | 12.92 MAD |
| Example selling price | 10 MAD | 15 MAD | 25 MAD |
| Food-cost ratio | 13.8% | 26.4% | 38.9% |
| Gross margin per item | 8.62 MAD | 10.04 MAD | 14.58 MAD |
| Left after fixed costs | 6.12 MAD | 7.54 MAD | 12.08 MAD |
The four parts of a cost price
A cost price is built the same way for a black coffee, a fresh orange juice or a sandwich. You add four things, in this order.
- Ingredients for one portion: ground coffee, milk, sugar, fruit, bread, filling, sauce.
- Waste: product thrown away, drinks remade, spoiled fruit, unsold bread, grinder purge, staff drinks and meals.
- Packaging: cup, lid, straw, paper, bag. Zero for a coffee served in a cup on site.
- Share of fixed costs: rent, wages, electricity, water, gas, internet, accountant, maintenance, spread over what you sell in the month.
Measure a real portion, not a theoretical one
The calculation is only as good as the portion. For coffee, weigh the ground dose of ten cups in a row and take the average: a grinder setting that drifts by one or two grams changes the whole month. For milk, measure what your staff actually pour into a coffee with milk.
For fresh juice, squeeze a full crate and count how many glasses you get. Orange yield changes with the season and fruit size, so repeat the test when the supplier or the season changes. For sandwiches, weigh the filling of five sandwiches made by different people: that is often where portions grow without anyone deciding it.
Coffee cost price calculation, with juice and sandwich: an example
The table follows an imaginary snack. Example assumptions: coffee beans at 160 MAD per kilo and 7 g per cup, oranges at 6 MAD per kilo and 600 g per glass, cooked chicken at 50 MAD per kilo and 100 g per sandwich. Example fixed costs: 16,500 MAD a month (rent 5,000, wages 9,000, electricity, water and gas 1,500, other 1,000) for about 6,500 items sold, so 2.50 MAD per item. None of these prices is a market survey: they are examples to replace.
The food-cost ratio (ingredients and waste divided by the selling price) shows how much of each dirham you take goes into ingredients. Gross margin here is the selling price minus ingredients, waste and packaging: the money left to pay fixed costs, and then you.
Spreading fixed costs without fooling yourself
Dividing fixed costs by the number of items sold gives each product the same share. It is simple, but a sandwich keeps a member of staff busy far longer than a coffee. If your sales mix is very uneven, you can weight by preparation time: for example one unit for a coffee, two for a juice, three for a sandwich.
Also remember that one more coffee does not raise the rent. The fixed-cost share is mostly for checking the month. The useful figure is the break-even point: monthly fixed costs divided by the average gross margin per item. In the example, if your average gross margin is about 10 MAD (you sell more coffees than sandwiches), 16,500 MAD divided by 10 MAD gives 1,650 items a month, about 64 a day over 26 opening days. Below that, the month loses money even if every product looks profitable.
Setting the selling price
Start from the ingredient cost (ingredients plus waste), then choose the food-cost ratio you aim for. Suggested price = ingredient cost divided by that ratio. For the example sandwich, 9.72 MAD divided by 35% gives 27.77 MAD. A ratio of 25 to 35% is a common rule of thumb in food service, not a law: hot drinks usually run much lower, sandwiches higher.
Then compare that price with your neighbourhood and with what your customers will pay, and round to an amount that is easy to give change for. If you are registered for VAT, ask your accountant to run these numbers on the price before tax.
When to raise your prices
Redo the calculation whenever a supplier invoice changes, and at least once a month for your three best sellers. A few signs tell you it is time to act.
- A product's food-cost ratio stays several points above your target two months in a row.
- Items sold per day stay below your break-even point even though you are full at peak hours.
- New rent, a new wage or higher electricity raises your fixed-cost share.
- Before touching the price, check waste and portions: that is often less risky than a price rise.
- Raise in small steps, one product at a time, and show the new price clearly rather than quietly shrinking the portion.
Loyalty: a reward costs its cost price
A free coffee does not cost you its menu price but its ingredient cost: in the example about 1.38 MAD, not 10 MAD. The full profitability calculation for a loyalty card has its own guide on this site.
Stampylo does not calculate cost prices, does not manage stock and does not connect to a till system. If you use it for the stamp loyalty card, the dashboard shows how many rewards were given in the month: multiply that number by the reward's cost price to know what it really cost.
Questions
How do I calculate the cost price of a coffee?
Weigh the coffee dose, multiply by the price per kilo, add sugar and milk, then waste (measure it in your own shop) and the share of fixed costs. With 7 g at 160 MAD per kilo (example), the coffee alone costs 1.12 MAD.
What food-cost ratio should a café or snack aim for?
A common rule of thumb puts the average between 25 and 35%, with hot drinks lower and sandwiches higher. Set your own target from your fixed costs and break-even point.
Should rent be included in the cost price?
Yes in the full cost price, because that tells you whether the month is profitable. To set a price, start from the ingredient cost, then check that gross margin covers fixed costs at the volume you really sell.
What does a free coffee from the loyalty card cost?
Its ingredient cost, not its menu price: about 1.38 MAD in our example for a coffee sold at 10 MAD. Rent and wages are paid either way.
Does Stampylo calculate my cost prices?
No. Stampylo runs the loyalty card, the pager on the customer's phone and the order screen. It has no stock management and no link to a till system. Its dashboard counts rewards given, which helps you put a cost on them.
How often should I redo the calculation?
Whenever a supplier changes a price, and at least once a month for your best sellers. Repeat the fruit yield test when the season changes too.
Coffee cost price calculation, plus juice and sandwich
Free trial14-day free trial, no credit card.