Quick answer
Retail margin is (net selling price − net cost price) ÷ net selling price × 100: the share of your selling price you keep as gross profit. Markup puts the same difference in relation to the cost price instead. Example: buy for €10, sell for €20 net, and you have a 100% markup but only a 50% margin. Use markup to set prices and margin to check results.
Key takeaways
- Margin: gross profit as a percentage of the net selling price – it shows how much of your revenue you keep.
- Markup: gross profit as a percentage of the cost price – the number you use to set prices. A 100% markup is a 50% margin.
- Always calculate net: VAT (DE 19/7%, AT 20/10/13%, CH 8.1/2.6%) is not part of your margin.
- Discounts eat margin: at a 40% margin, a 10% discount needs a third more volume just to earn the same gross profit.
- Rewards beat discounts: a reward from your own range only costs you the purchase price and hurts your margin far less than a blanket discount.
Retail margin shows what percentage of the net selling price you keep after subtracting the cost price. The formula is: (net selling price − net cost price) ÷ net selling price × 100. Markup uses the same difference but relates it to the cost price. Confuse the two and you price too low – and then wonder at the end of the year where the profit went.
In this guide you will learn to calculate both reliably, convert one into the other, and see with examples from an organic shop, a florist and a bookshop how discounts and loyalty rewards affect your margin. Because many of our readers run shops in Germany, Austria or Switzerland, we also show the German terms: margin is Handelsspanne, markup is Kalkulationsaufschlag.
Margin and markup: two views of the same amount
Both figures start from gross profit (Rohertrag), the difference between selling price and cost price. Our glossary explains gross profit in more detail. The only difference is what you divide by:
| Metric | Formula | Answers the question |
|---|---|---|
| Margin (Handelsspanne) | Gross profit ÷ net selling price × 100 | How much of my revenue do I keep? |
| Markup (Kalkulationsaufschlag) | Gross profit ÷ net cost price × 100 | How much do I add on top of my cost? |
| Markup factor (Kalkulationsfaktor) | Net selling price ÷ net cost price | What do I multiply my cost price by? |
Rule of thumb: use markup to set prices, use margin to check your results. Markup belongs on the shop floor; margin belongs in your monthly review.
Worked example: one product, three numbers
An organic shop in Munich buys a bottle of olive oil for €6.00 net and sells it for €9.99 gross. With 7% German VAT on food (§ 12 UStG):
- Net selling price: €9.99 ÷ 1.07 = €9.34
- Gross profit: €9.34 − €6.00 = €3.34
- Margin: €3.34 ÷ €9.34 × 100 = 35.8%
- Markup: €3.34 ÷ €6.00 × 100 = 55.7%
- Markup factor: €9.34 ÷ €6.00 = 1.56
Same product, same €3.34 – yet a 35.8% margin and a 55.7% markup. This is exactly where most misunderstandings start. The glossary covers the markup factor in depth.
How to calculate retail margin step by step
Here is how to work out the margin for a single product or your whole range:
- Find the net cost price: invoice amount excluding input VAT, minus discounts and early-payment reductions, plus delivery costs such as freight.
- Find the net selling price: shelf price divided by 1 + VAT rate (in Germany 1.19 or 1.07).
- Calculate gross profit: net selling price minus net cost price.
- Calculate margin: gross profit divided by net selling price, times 100.
- For your whole range: total gross profit for a month divided by total net revenue – that gives your average margin.
If you would rather not do it by hand, use the profit margin calculator.
VAT in Germany, Austria and Switzerland
VAT is never part of your margin. Depending on the country, divide the gross price by a different figure:
| Country | Standard rate | Reduced (selection) | Divide by (standard) |
|---|---|---|---|
| Germany | 19% | 7% | 1.19 |
| Austria | 20% | 10% / 13% | 1.20 |
| Switzerland | 8.1% | 2.6% | 1.081 |
Which rate applies to which goods is set by each country’s VAT law. With mixed ranges – a florist selling cut flowers at the reduced rate and vases at the standard rate, for example – you need to calculate per product group.
Converting markup to margin – and back
These two conversion formulas are worth memorising:
Margin = markup ÷ (100 + markup) × 100
Markup = margin ÷ (100 − margin) × 100
The key values at a glance:
| Markup | Margin | Markup factor |
|---|---|---|
| 25% | 20.0% | 1.25 |
| 33.3% | 25.0% | 1.33 |
| 50% | 33.3% | 1.50 |
| 66.7% | 40.0% | 1.67 |
| 100% | 50.0% | 2.00 |
| 150% | 60.0% | 2.50 |
| 200% | 66.7% | 3.00 |
Classic mistake: a shop owner wants a 40% margin and adds 40% to the cost price. Result: only a 28.6% margin. On €100,000 of net revenue, that leaves her more than €11,000 of gross profit short of plan.
Setting a price from your target margin
Often you know the margin you want and need the matching price. There is a direct formula for that, no detour via markup required:
Net selling price = net cost price ÷ (1 − target margin)
Pricing forwards: a florist
A florist in Hamburg makes a bouquet of cut flowers with €8.00 of net material cost and wants a 55% margin:
- Net selling price: €8.00 ÷ 0.45 = €17.78
- Gross with 7% German VAT on cut flowers: €17.78 × 1.07 = €19.02
- Set the price: €19.90 looks tidier and sits just above.
- Double-check: €19.90 ÷ 1.07 = €18.60 net, margin = (18.60 − 8.00) ÷ 18.60 = 57.0%.
The double-check matters: if you round without recalculating, a price like €18.90 quietly drops you below your target margin.
Pricing backwards: what can you afford to pay?
Sometimes the market sets the selling price – for example because customers compare an item online. Then work backwards:
Maximum net cost price = net selling price × (1 − target margin)
Example from a concept store in Cologne: a notebook sells everywhere for €24.90 gross. Net, that is €24.90 ÷ 1.19 = €20.92. At a 45% target margin, you can pay at most €20.92 × 0.55 = €11.51. If the supplier quotes €13, you know straight away that you need to renegotiate – or stock it deliberately as a traffic builder.
Reward regulars without giving away your margin
A reward from your own range only costs you the purchase price. With mystamp, your stamp card lives in your customers' Apple or Google Wallet.
- Free-forever plan
- Ready in 10 minutes
- No app for customers
What margin does your shop need?
There is no single “right” margin. It has to fit your costs. The key question is: does my gross profit cover all costs and leave a profit?
Worked example: minimum margin for a bookshop
Say a small English-language bookshop in Vienna has these monthly costs:
- Rent and service charges: €2,200
- Staff including owner’s salary: €6,000
- Other (insurance, software, energy, marketing): €1,300
- Total: €9,500
With net revenue of €30,000 a month, it needs at least 9,500 ÷ 30,000 = 31.7% margin just to cover costs – with no profit. At a 30% margin, it loses around €500 a month. Because Austria and Germany both have fixed book prices, the shop can barely steer its margin through pricing; it has to work through purchasing terms and add-on products such as stationery and gifts. This balancing act is called mixed calculation.
Managing margin by product group
Hardly any shop has a uniform margin. A typical mix looks like this:
- Traffic builders with low margins that bring customers in (bread in a farm shop, bestsellers in a bookshop).
- Profit builders with high margins (own brands, gifts, accessories, services).
- Impulse items at the till, often with high margins.
Which other metrics to track alongside margin is covered in our guide to retail KPIs. Hospitality follows its own logic based on food cost percentage.
Margin is not profit: what is really left over
A high margin feels good but says nothing yet about your profit. It is gross profit: rent, staff, energy, insurance, card fees and marketing still come out of it. Only what remains after that is profit. Put it in relation to revenue and you get your return on sales.
| Level | Example month | Share of net revenue |
|---|---|---|
| Net revenue | €30,000 | 100% |
| − Cost of goods | €18,000 | 60% |
| = Gross profit (margin) | €12,000 | 40% |
| − Operating costs | €9,500 | 31.7% |
| = Profit before tax | €2,500 | 8.3% |
That leads to an uncomfortable but important calculation: every percentage point of margin is worth €300 a month to this shop. If discounts, shrinkage or higher purchase prices push margin from 40% down to 37%, profit falls from €2,500 to €1,600 – by more than a third. For decisions about individual products or promotions, contribution margin is the more useful lens.
A 10-minute monthly check
- Read net revenue and cost of goods from your till and bookkeeping.
- Calculate your average margin and compare it with last month.
- If it moves by more than 1–2 percentage points, look for causes: promotions, shrinkage, new purchase prices.
- Check your ten best-selling items individually – changes there have the biggest effect.
What discounts really cost your margin
Discounts hit your margin far harder than most people expect, because the discount comes entirely out of gross profit, not out of revenue.
Formula for the extra volume needed: discount ÷ (margin − discount) × 100
| Your margin | 10% discount | 20% discount | 30% discount |
|---|---|---|---|
| 30% | +50% volume | +200% volume | impossible |
| 40% | +33% volume | +100% volume | +300% volume |
| 50% | +25% volume | +67% volume | +150% volume |
How to read it: at a 40% margin, a 20% discount means you have to sell twice as much just to make the same gross profit as without it. At a 30% margin and 30% discount, you earn nothing on any item. Check whether a specific promotion pays off with the discount profitability calculator.
Loyalty reward vs discount: the difference in numbers
A reward from your own range hurts your margin much less, because you only carry the cost price, not the selling price.
Say a pet supplies shop in Zurich has a 40% margin and an average net spend of €25:
- Discount option: 10% off every purchase costs €2.50 of gross profit per visit. Over 10 visits, that is €25.
- Stamp card option: after 10 purchases, the customer gets a product worth €15 at net selling price. Its cost price is €9. That is €9 of cost on €250 of revenue – 3.6% of revenue instead of 10%.
On top of that, the discount also goes to customers who would have come anyway. The reward only goes to those who actually come back ten times. With a mystamp digital stamp card, the monthly rewards report also shows how many rewards were redeemed – and can be sent to your tax advisor (Steuerberater) automatically if you like. For margin-friendly reward ideas, see how to reward regular customers.
Common mistakes when calculating retail margin
- Confusing markup and margin: a 40% markup is only a 28.6% margin.
- Calculating with gross prices: if you don’t remove VAT, you overestimate your margin by several percentage points.
- Forgetting delivery costs: freight, small-order surcharges and packaging belong in the cost price.
- Ignoring shrinkage and spoilage: a florist or farm shop never sells every item it buys. Your real margin is below the calculated one.
- Not running the numbers on discounts: “20% off everything” sounds like 20% less revenue, but at a 40% margin it wipes out half your gross profit.
- Never adjusting prices: rising purchase prices without price increases shrink your margin year after year. How to announce a price rise without losing customers is explained in our guide to communicating a price increase.
Conclusion
Margin tells you how much of your net revenue you keep as gross profit; markup tells you how much you add on top of the cost price. Always calculate net, use the conversion formulas and check your average margin against your costs once a month.
The biggest margin killer in small shops is usually blanket discounting. If you want to reward customers without giving your margin away, a stamp card with a reward from your own range is the cheaper alternative: it only costs you the purchase price, and only loyal customers receive it.
Frequently asked questions
How do you calculate retail margin?
Retail margin as a percentage is (net selling price minus net cost price) divided by the net selling price, times 100. If you buy a product for €12 and sell it for €20 net, your gross profit is €8 and your margin is 8 ÷ 20 = 40%. Always calculate without VAT, because VAT is passed on to the tax office.
What is the difference between margin and markup?
Both are based on the same difference between cost and selling price. Margin relates it to the selling price, markup to the cost price. That is why markup is always higher than margin: a 100% markup equals a 50% margin, and a 50% markup equals a 33.3% margin. Mixing them up leads to prices that are too low.
How do I convert markup to margin?
Margin = markup ÷ (100 + markup) × 100. The other way round: markup = margin ÷ (100 − margin) × 100. Example: a 60% markup gives 60 ÷ 160 × 100 = 37.5% margin. If you want a 40% margin, you need a markup of 40 ÷ 60 × 100 = 66.7%.
What is a typical retail margin?
It depends heavily on the product range. Groceries and branded electronics often run on thin margins; fashion, gifts, flowers or own-brand products usually much higher ones. There is no universal figure. What matters is that your average margin covers rent, staff and energy and still leaves a profit.
Is retail margin calculated with or without VAT?
Always without. VAT is passed on to the tax office and is not income. If you calculate with gross prices, you overestimate your margin considerably. Remove VAT from the shelf price first – in Germany, divide by 1.19 for the standard rate – and then compare with the net cost price.
What is a markup factor?
The markup factor (Kalkulationsfaktor) is the number you multiply the cost price by to get the selling price. A factor of 2 means a 100% markup and a 50% margin. Some retailers apply the factor directly to the gross price including VAT, so always check which version a supplier or colleague means.
Sources & further reading
- Markup (business) – Wikipedia
- Gross margin – Wikipedia
- § 12 UStG – VAT rates (Germany) – German Federal Ministry of Justice
About this guide
Written by the mystamp editorial team in Mannheim, Germany. We build digital stamp cards for local shops, and our guides bring together what actually works day to day in small businesses. We back numbers and legal statements with sources and update the article when things change.
Published: 1 December 2026 · Updated: 1 December 2026 · Spotted a mistake or have a question? Write to us