Skip to content
Until end of January: 90 days free
Metrics & growth

Profit margin calculator: margin and profit per product

How much do you really keep from a cappuccino, a bouquet or a gift item? The profit margin calculator shows profit per unit and margin in percent in seconds. Below we explain the formula, the most common calculation mistakes and how to improve your margin.

mystamp editorial teamUpdated: 5 min readAuf Deutsch lesen

Quick answer

To calculate profit margin: (net selling price − purchase price or variable cost) ÷ net selling price × 100. If you sell an item for €25 net that costs you €10, you keep €15 per unit and your margin is 60%. Always calculate without VAT, and never confuse margin with markup – a 100% markup is only a 50% margin.

Key takeaways

  • Formula: margin in % = (net selling price − cost per unit) ÷ net selling price × 100.
  • Work net: VAT belongs to the tax office – using gross prices overstates your margin by several percentage points.
  • Margin is not markup: a 100% markup on cost gives a 50% margin, a 200% markup gives 66.7%.
  • Profit per unit is not enough: you only make money once the sum of all unit profits covers your fixed costs.
  • Factor in rewards properly: a free coffee after ten stamps lowers the margin per cup by only around 2–3 percentage points.

Profit margin tells you what percentage of the selling price is left after deducting the cost per unit. It’s the key number for checking prices, judging discounts and deciding which products deserve more attention. Enter your net selling price and cost per unit below: the calculator shows profit per unit (contribution), and if you add monthly volume and fixed costs, whether your shop makes a profit with it.

Free calculator

Contribution margin calculator

Contribution margin per unit and per month – and whether your fixed costs are covered.

Contribution per unit

–

Total contribution

–

Operating result

–

Win regulars for free

No liability for results. Values are calculated in your browser only.

How to read the result: divide the contribution per unit by the net selling price and you have your margin in percent. With the default values (€8 net, €3 cost) that’s €5 profit per unit and a 62.5% margin. For more on the metric itself, see the contribution margin calculator.

How do you calculate profit margin? The formula

The basic formula is simple:

Margin in % = (net selling price − cost per unit) ÷ net selling price × 100

“Cost per unit” means variable costs – everything that only arises when you sell the product: purchase price, ingredients, cups, packaging and, for card payments, the transaction fee. Rent and staff don’t belong here; you cover those with the sum of all your unit profits.

Profit per unit in euros is also called gross profit (Rohertrag) or contribution (Deckungsbeitrag). We explain both terms in the glossary under gross profit and contribution margin.

Step by step with an example

A café in Berlin sells a cappuccino for €3.80 (incl. 19% VAT).

  1. Work out the net price: €3.80 ÷ 1.19 = €3.19
  2. Add up the cost per cup: coffee beans, milk, sugar, cup or washing-up – say €0.85
  3. Profit per unit: €3.19 − €0.85 = €2.34
  4. Margin: €2.34 ÷ €3.19 = 73%

A gift shop in Munich buys a candle for €10 net and sells it for €29.90 gross. Net, that’s €25.13, the profit per unit is €15.13 and the margin 60%.

Margin or markup: the most expensive mix-up

Many retailers price with a markup on cost (“I add 100%”) and later confuse it with margin. Markup refers to the purchase price, margin to the selling price. Convert with margin = markup ÷ (1 + markup).

Markup on cost Markup factor Margin on selling price
25% 1.25 20%
50% 1.5 33.3%
100% 2.0 50%
150% 2.5 60%
200% 3.0 66.7%
300% 4.0 75%

If you want “a 50% margin” but only add 50%, you end up with a third – and wonder about the numbers at year end. How to work with factors is explained in the glossary entry on the markup factor (Kalkulationsfaktor); for retail specifically, see the guide on retail margin.

Net, not gross: why VAT has to come out

You collect VAT for the tax office. It isn’t part of your revenue, so it doesn’t belong in your margin either. In Germany, § 12 UStG sets a standard rate of 19% and a reduced rate of 7%; Austria’s standard rate is 20% and Switzerland’s 8.1%.

The candle from above shows how big the error is:

  • Wrong (gross): (€29.90 − €10) ÷ €29.90 = 66.6%
  • Right (net): (€25.13 − €10) ÷ €25.13 = 60.2%

More than six percentage points’ difference – on €200,000 net annual revenue that’s over €12,000 of profit that only exists on paper.

Benchmarks: what margin is normal?

There are no fixed benchmarks; product ranges and cost structures are too different. These rules of thumb give rough orientation:

Product group Typical range (rule of thumb) Why
Coffee drinks rather high, often 70% or more low cost of goods, but a lot of labour
Food in hospitality clearly lower than drinks expensive ingredients, waste
Branded goods in retail rather low prices are comparable, online competition
Own brands, handmade goods rather high no direct price comparison
Fresh goods (flowers, bakery) medium to high waste has to be priced in

More important than any comparison: the sum of your unit profits must cover rent, staff and your own salary. Check that with the break-even calculator. Restaurants and cafés can also use the food cost calculator, which works directly with the food cost percentage (Wareneinsatzquote).

How to interpret your result

A high margin alone doesn’t mean a product is good for you. Look at three things:

  1. Margin in euros, not just percent: a croissant with a 70% margin may earn you €0.90, a cake with 55% margin €14.
  2. Volume: a mid-margin product you sell a hundred times a day carries the shop better than a slow seller with a dream margin.
  3. Role in the range: some items bring customers through the door and can earn less if others make up for it. The principle is called mixed calculation (Mischkalkulation).

How to improve your margin

  • Check costs per unit regularly: purchase prices creep up quietly. Recalculate once a quarter.
  • Adjust prices in small steps: 20 cents more on a cappuccino noticeably raises the margin without driving regulars away.
  • Targeted rather than blanket discounts: a 20% discount at a 50% margin quickly eats half your profit. Run the numbers first with the discount calculator.
  • Rewards instead of price cuts: you give a stamp card reward at cost price. In the example, a free cappuccino after ten stamps costs you €0.085 per cup sold – just under 3 percentage points of margin. What that means as a discount for customers is shown by the stamp card effective discount calculator.
  • Look after your regulars: people who come regularly are more likely to buy at full price and try higher-margin products. With mystamp you can remind cardholders with a push notification on their lock screen – about a new pastry, for example, or on quiet days.

Common mistakes when calculating margin

  • Using gross prices – the margin looks too high.
  • Confusing markup and margin – prices end up too low.
  • Forgetting incidental costs: cups, napkins, bags, card fees and waste all belong in cost per unit.
  • Comparing percentages only – what counts is what’s left in euros.
  • Calculating once and never again: purchase prices and wages change, and your pricing has to keep up.

If you want to go deeper into pricing, the guide to restaurant pricing calculation has detailed examples for food and drinks.

Frequently asked questions

How do I calculate profit margin as a percentage?

Subtract the cost per unit from the net selling price and divide the result by the net selling price. Multiply by 100 to get the margin in percent. Example: a €25 net selling price minus €10 cost leaves €15 profit per unit; 15 divided by 25 is 0.6 – a 60% margin.

What is the difference between margin and markup?

Markup is based on your purchase cost, margin on your selling price. If you buy for €10 and sell for €20 net, you have a 100% markup but only a 50% margin. Convert with margin = markup ÷ (1 + markup). Mixing the two up is one of the most common reasons shops price too low.

Do you calculate margin with or without VAT?

Always without. You only collect VAT on behalf of the tax office; it is not part of your profit. Divide the gross price by 1.19 (19% standard rate in Germany) or 1.07 (reduced rate) before calculating margin. The standard rate is 20% in Austria and 8.1% in Switzerland.

What is a good profit margin for a small shop?

There is no universal figure, because fixed costs and stock turnover vary hugely between product ranges. What matters is whether the sum of your unit profits covers rent, staff and your own salary. Compare your margins with your own figures from previous years and with the reports from your accountant or trade association.

What is the difference between gross margin and net profit margin?

Gross margin per product looks only at selling price minus cost of goods. Net profit margin, also called return on sales (Umsatzrendite), also deducts all fixed costs such as rent and staff and relates the profit of the whole shop to total revenue. A product can have a healthy gross margin while the shop overall makes a loss.

How does a stamp card affect my margin?

Less than many owners expect, because you give the reward at cost price. If a cappuccino costs you €0.85 and you give one away after ten stamps, that is €0.085 per cup sold. At a €3.19 net price, your margin drops by just under 3 percentage points – while regulars come back more often.

Sources & further reading

  1. § 12 UStG – VAT rates (Germany) – German Federal Ministry of Justice
  2. Gross margin – Wikipedia

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

Related industry guides

Free-forever plan available

Better margins through regulars – without a discount war

Regulars buy more often at full price. With mystamp they collect stamps in Apple or Google Wallet, and you bring them back with a push notification.

  • Free-forever plan
  • Ready in 10 minutes
  • Back to Free any time – cards stay
  • No app needed

Try the card

Live preview: build your card in 30 seconds.

Café Sonnenschein

now

Fancy a cappuccino? Double stamps today.

Tap the card to collect a stamp

Stamps until the reward
Colour
Logo

Your logo stays on your device and is not uploaded.

Just a preview – you create your real card yourself in 10 minutes.

Even more design options in the dashboard: There you can also customise icons, font colours and background patterns – this preview only shows the basics.

Create this card for free & win regularsCreate this card for free
Launching January 2027

We go live in January 2027

Sign-up isn’t open yet – but you can be first in line. Leave your email and we’ll let you know as soon as we launch.

Your giftAll plans free for 90 days for everyone who signs up now.