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

Contribution Margin: Meaning, Formula and Examples for Cafés and Shops

Contribution margin shows what is left from every sale to pay rent, staff and, eventually, your profit. Once you know it, you can price products, discounts and loyalty rewards with far more confidence. Here you get the formula, the different levels and examples from everyday shop life.

mystamp editorial teamUpdated: 5 min readAuf Deutsch lesen

Quick answer

Contribution margin is the amount left from revenue after deducting variable costs, which then contributes to covering fixed costs. Formula: contribution margin = revenue − variable costs. If a cappuccino sells for €3.20 net and causes €0.50 in variable costs, its unit contribution margin is €2.70. You only make a profit once the total contribution margin exceeds your fixed costs.

Key takeaways

  • Formula: contribution margin = revenue − variable costs. Calculated per item, it is the unit contribution margin.
  • Not profit: contribution margin first covers fixed costs such as rent and staff. Profit only starts after that.
  • Levels: the first level deducts only variable costs; further levels also deduct product- or department-specific fixed costs.
  • Discounts hit twice: a 20% price cut can reduce unit contribution margin by considerably more than 20%.
  • Rewards instead of discounts: a stamp card reward only costs you the variable cost of the product, not its selling price.

Contribution margin is the part of your revenue that remains after deducting variable costs. It first covers your fixed costs such as rent, staff and insurance. Whatever is left after that is profit. The formula is: contribution margin = revenue − variable costs. In German-speaking countries it is called the Deckungsbeitrag.

For small shops, contribution margin is perhaps the most practical number in cost accounting. It answers questions like: is this product worth stocking? What does a discount campaign really cost me? And how much do I need to sell for the month to end in the black?

What is contribution margin?

Every sale causes costs that would not exist without it. These are variable costs: coffee beans and milk for a cappuccino, flowers and wrapping for a bouquet, card fees for a contactless payment. Other costs arise no matter how much you sell. These are fixed costs: rent, base salaries, the standing charge for electricity, insurance.

Contribution margin separates the two cleanly. You can look at it in three ways:

  • Unit contribution margin: net price minus variable cost per item
  • Total contribution margin: unit margin times quantity sold, or total revenue minus all variable costs
  • Contribution margin ratio: contribution margin as a percentage of revenue

Always calculate with net prices, without VAT. The tax belongs to the tax office, not to you, and rates differ by product (§ 12 UStG in Germany; Austria and Switzerland set their own).

Contribution margin formula and calculation

Unit contribution margin = net selling price − variable cost per unit

Total contribution margin = unit contribution margin × quantity sold

Contribution margin ratio = contribution margin ÷ revenue × 100

Typical variable costs in a shop include:

  • Cost of goods (ingredients, merchandise)
  • Packaging, cups, bags
  • Card and payment fees per transaction
  • Commissions, for example from delivery platforms
  • Per-item licence or material costs

You may know cost of goods as a share of revenue as food cost percentage. In hospitality and retail it is the largest block of variable costs.

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.

Café example: the cappuccino

A café in Berlin sells a cappuccino for a net price of €3.20. The variable costs per cup break down like this (assumed figures):

Item Cost
Coffee (approx. 18 g) €0.25
Milk €0.20
Sugar, biscuit, napkin €0.05
Total variable costs €0.50
Net price €3.20
Unit contribution margin €2.70
Contribution margin ratio around 84%

If the café sells 2,500 cappuccinos a month, they generate €6,750 in contribution margin. With total fixed costs of €9,000, the remaining products must contribute at least €2,250 before any profit appears. The exact volume at which that happens is the break-even point.

Retail example: the bouquet

A florist in Vienna sells a birthday bouquet for €35 net. The flowers cost €12 wholesale, paper and ribbon €2. The unit contribution margin is €21, the ratio 60%.

Sounds much better than the cappuccino? Not necessarily. The florist might sell 15 of these bouquets a day, the café 100 cappuccinos. A low unit margin can be perfectly adequate at high volume, and a high one too little at low volume. That is why contribution margin always needs to be read together with quantity.

Contribution margin levels: the multi-stage calculation

In multi-stage contribution margin accounting (common in German-speaking countries as Deckungsbeitrag 1, 2, 3), you deduct fixed costs step by step, depending on what they can be assigned to:

Level Calculation Question it answers
Contribution margin 1 revenue − variable costs Does the product cover its own unit costs?
Contribution margin 2 CM 1 − product-specific fixed costs Does the product group cover its direct fixed costs (e.g. the espresso machine)?
Contribution margin 3 CM 2 − department fixed costs Does the department (e.g. lunch service, a branch) cover its costs?
Operating result CM 3 − company-wide fixed costs Is there a profit at the end?

For most small shops, contribution margin 1 is all you need. Levels 2 and 3 become useful when you compare several areas or locations, such as a bakery with a café corner and a delivery service.

Why discounts eat into your contribution margin

This is where the concept pays off in practice. Give 20% off the cappuccino, and the net price drops from €3.20 to €2.56. Variable costs stay at €0.50.

  • Contribution margin before: €2.70
  • Contribution margin with discount: €2.06
  • Drop: around 24%, more than the discount itself

To earn the same total contribution margin, you would need to sell around 31% more cappuccinos. For products with a low ratio the effect is even harsher. Check whether a specific campaign adds up with the does a discount pay off? calculator.

The alternative: a reward instead of a price cut

With a stamp card the maths looks different. Suppose the eleventh cappuccino is free after ten paid ones. The free cup only costs you its variable costs of €0.50.

  • Contribution margin from 10 paid cups: €27.00
  • Minus reward: €0.50
  • Result: €26.50, a drop of less than 2%

The full comparison of both approaches is in stamp card vs discount. With mystamp, the stamp card goes straight into your customers’ Apple or Google Wallet, and the monthly rewards report (PDF) shows exactly how many rewards were redeemed.

Contribution margin vs gross profit and margin

These terms often get mixed up:

Term Calculation Difference
Gross profit revenue − cost of goods Deducts cost of goods only
Contribution margin revenue − all variable costs Also deducts packaging, fees, commissions
Return on sales profit ÷ revenue × 100 Takes all fixed costs into account too

In many small shops gross profit and contribution margin are almost identical, because cost of goods dominates variable costs. Once delivery platforms with commission come in, they diverge.

Why it matters for small shops

Three situations where contribution margin helps you directly:

  1. Setting prices: a markup factor gets you to a selling price quickly; contribution margin shows whether it is enough. Restaurant owners should also read our guide to restaurant pricing calculation.
  2. Pruning your range: products with a very low margin and low volume tie up space and time. The exception: deliberately cheap traffic builders as part of a mixed calculation.
  3. Evaluating promotions: happy hour, discounts, free add-ons: always work out the new unit contribution margin first.

To compare margins across several products, use the profit margin calculator or the contribution margin calculator.

Frequently asked questions

How do you calculate contribution margin?

Subtract all variable costs from net revenue, meaning costs that arise with every item sold: cost of goods, packaging, card fees or commissions. Per product, it is net price minus variable unit costs. Example: a croissant sells for €1.80 net, ingredients and bag cost €0.45. The unit contribution margin is €1.35.

Is contribution margin the same as profit?

No. Contribution margin is what a product contributes towards covering fixed costs. Only when the total contribution margin for a month is larger than rent, staff, insurance and other fixed costs is there any profit. If it is smaller, you make a loss despite healthy margins on individual items.

What is the contribution margin ratio?

The contribution margin ratio expresses contribution margin as a percentage of revenue: contribution margin divided by revenue, times 100. A product with a €3.20 net price and €2.70 contribution margin has a ratio of around 84%. The ratio helps you compare products with different price points.

What is a good contribution margin?

It depends on your fixed costs and sales volume. A low unit margin can be enough if you sell a lot, as with bread rolls. A rare sale like a wedding bouquet needs a high unit margin. What counts is whether your total contribution margin reliably exceeds your fixed costs.

What is the difference between contribution margin and gross profit?

Gross profit is revenue minus cost of goods only. Contribution margin deducts all variable costs, including packaging, card fees and platform commissions. In many small shops the two are almost identical, but with delivery platforms charging commission per order the gap can become large.

Should I drop products with a negative contribution margin?

Usually yes, because every unit sold increases your loss. The exception is a deliberate loss leader that brings customers in and leads to further purchases. In that case, look at the contribution margin of the whole basket rather than the single item.

Sources & further reading

  1. Contribution margin – Wikipedia
  2. Deckungsbeitrag – Wikipedia (German)
  3. § 12 UStG – VAT rates (German VAT Act) – 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

Related industry guides

Free-forever plan available

Customer loyalty that protects your margin

A stamp card reward only costs you the cost of goods, not the selling price. Start free with mystamp in Apple and Google Wallet.

  • 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.