You sell a gin and tonic for 12 euros and the schnitzel for 22.90 euros. But how much of that do you actually keep once the ingredients are paid for? That is exactly what the margin tells you. If you know how to calculate your margin, you quickly see which dishes and drinks make money, where supplier price increases eat into your profit and whether your prices really work.
In hospitality, the terms easily get mixed up: margin, markup, pricing factor, gross profit. A markup is often added to the purchase price and the result is mistaken for the margin. In this guide you will learn how to calculate the margin correctly, how it differs from the markup and how to derive the right selling price from a target margin. With worked examples for the bar and the kitchen.
1. What is the margin in hospitality?
The margin is the part of the selling price that remains after deducting the directly attributable costs. In retail and hospitality it is often equated with the trade margin: according to the Lexware business glossary, the trade margin is the difference between the net selling price and the landed cost of goods, usually expressed as a percentage of the net selling price.
In hospitality, the landed cost of a dish or drink is its cost of goods: the sum of all ingredient costs per portion, net. The margin in euros therefore corresponds to the gross profit per portion. Our guide on calculating gross profit shows how to work it out for your whole business.
Important: the margin is not yet profit. It has to pay for staff, rent, energy and all other costs. That is why it is also called the gross margin. Only what remains after all costs is your net margin, i.e. your actual profit.
2. How to calculate the margin: the formula
You only need two figures to calculate the margin: the net selling price and the cost of goods per portion.
- Margin in euros = net selling price − cost of goods
- Margin in percent = (net selling price − cost of goods) ÷ net selling price × 100
The margin in percent and the cost of goods ratio always add up to 100 percent. If the cost of goods of a drink is 21 percent of its net price, the margin is 79 percent. Our guide to calculating cost of goods explains how to determine the cost of goods itself.
Always work with net prices. VAT does not belong to you but to the tax office. If you calculate with the gross price, you flatter your margin. In Germany, food served in hospitality has been permanently taxed at the reduced rate of 7 percent since 1 January 2026, while drinks remain at 19 percent, as summarised by the Dresden Chamber of Commerce (IHK). You will find details in our guide to VAT in hospitality. In Austria the standard VAT rate is 20 percent, alongside reduced rates of 4.9, 10 and 13 percent (Austrian business service portal). It is best to check with your tax adviser which rate applies to your food and drinks.
3. Margin and markup: the difference
A common calculation mistake in hospitality: markup and margin get confused. Both describe the same difference in euros, but relate it to different figures.
- Markup: the difference relative to the purchase price or cost of goods.
- Margin (trade margin): the difference relative to the selling price.
A simple example: you buy for 10 euros net and sell for 15 euros net. The markup is 50 percent (5 of 10 euros), but the margin is only 33.3 percent (5 of 15 euros). If you want a "50 percent margin" and only add 50 percent, you end up well below it.
This is how you convert between the two:
- Margin in % = markup ÷ (100 + markup) × 100
- Markup in % = margin ÷ (100 − margin) × 100
Some typical values: a 100 percent markup gives a 50 percent margin, a 200 percent markup a 66.7 percent margin, a 300 percent markup a 75 percent margin and a 400 percent markup an 80 percent margin. The pricing factor widely used in hospitality is simply the net price divided by the cost of goods: a factor of 4 corresponds to a 300 percent markup and therefore a 75 percent margin.
4. Bar example: the margin on a gin and tonic
Let's take a gin and tonic that costs 12.00 euros on the menu. Net, that is 12.00 ÷ 1.19 = 10.08 euros. The ingredients cost:
- London dry gin, 4 cl: the 0.7-litre bottle costs 18.00 euros net, so 18.00 ÷ 70 × 4 = 1.03 euros
- Tonic water, 0.2 l: 0.85 euros
- Lime and garnish: 0.20 euros
The cost of goods comes to 2.08 euros. The margin is 10.08 − 2.08 = 8.00 euros per drink, in percent 8.00 ÷ 10.08 × 100 = 79.4 percent. Accordingly, the cost of goods ratio is 20.6 percent, the markup 384.6 percent and the pricing factor around 4.85.
The graphic sums up this calculation: on the left the ingredients with cost of goods and net price, on the right the share of the margin in the net price.
5. Kitchen example: the margin on a schnitzel
In the kitchen the calculation works the same way, just with the VAT rate for food. A Wiener schnitzel with potato salad costs 22.90 euros gross on the menu. At 7 percent VAT that is 22.90 ÷ 1.07 = 21.40 euros net. Meat, breading, side dish and garnish cost 6.40 euros in total.
The margin is 21.40 − 6.40 = 15.00 euros, in percent 15.00 ÷ 21.40 × 100 = 70.1 percent. The cost of goods ratio is 29.9 percent, the markup 234.4 percent. In percentage terms the schnitzel is below the gin and tonic, but in euros it brings in almost twice as much.
6. Calculating the selling price from a target margin
Often you do not want to check the margin of an existing price but set a new one. In that case you turn the formula around:
Net selling price = cost of goods ÷ (1 − target margin)
Suppose you want a 75 percent margin on the schnitzel. You calculate 6.40 ÷ (1 − 0.75) = 6.40 ÷ 0.25 = 25.60 euros net. With 7 percent VAT that gives 25.60 × 1.07 = 27.39 euros gross. On the menu you would round to a clean price, for example 27.50 euros.
The four steps at a glance: first you determine the cost of goods per portion, then you set the target margin, calculate the net price from it and finally add VAT. Whether the price suits your concept and your guests is something you decide afterwards. The formula gives you the floor below which the margin no longer works.
7. Percent or euros: which margin counts?
A high margin in percent says little about how much an item actually contributes to your result. An espresso at 2.80 euros gross has a net price of 2.35 euros. With 0.30 euros cost of goods, the margin is 2.05 euros, or 87.2 percent. The gin and tonic from the example above only reaches 79.4 percent, but brings in 8.00 euros per drink.
When setting prices, you therefore look at both figures: the margin in percent shows whether an item is efficiently priced. The margin in euros, multiplied by the quantity sold, shows what it brings in overall. This is exactly the view taken by contribution margin costing: it shows how much each item contributes to covering your fixed costs.
8. Common mistakes when calculating the margin
- Using gross prices: VAT artificially inflates the margin. Always calculate net.
- Treating the markup as the margin: a 300 percent markup is a 75 percent margin, not 300.
- Outdated purchase prices: if the gin becomes 10 percent more expensive, the bottle costs 19.80 euros and 4 cl cost 1.13 euros. The cost of goods rises to 2.18 euros and the margin drops to 7.90 euros or 78.4 percent. That looks small. But with 200 gin and tonics a month you lose 20 euros of margin, and that is just one drink.
- Forgetting small ingredients: garnish, syrups, sauces and stocks are often missing from the calculation. Every forgotten ingredient makes the margin look better than it is.
- Ignoring shrinkage: the recipe margin is a target margin. Anything spilled while pouring, broken or not recorded reduces the actual margin. That is why you should regularly check it against your stocktake.
9. Keeping an eye on your margin with BarBrain
The formula is simple. The hard part is keeping the margin up to date for every dish and every drink while purchase prices keep changing. This is where BarBrain's recipe management helps:
- You set up dishes, drinks and cocktails as recipes, drinks in cl and ml. Base recipes such as syrups or sauces can be used in other recipes.
- BarBrain calculates the cost of goods per recipe automatically from quantity and purchase price and relates it to the net selling price. The margin is the counterpart of this cost of goods ratio.
- Purchase prices are updated via the AI delivery note scanner, and affected recipes are recalculated. So you see a price increase before it quietly erodes your margin for months.
- Every recipe change is versioned, so you can trace when ingredients or costs changed.
The comparison shows the difference in day-to-day work: instead of updating price lists by hand and calculating in separate spreadsheets, purchase prices come from scanning the delivery note and flow straight into recipe costing. That way you work with margins that match your current purchase prices. Want to see what this looks like in your business? Book a demo



.jpeg)

