Skip to content
Blog

Margin vs markup: the difference and how to calculate each

Margin and markup are not the same thing. We explain both formulas with examples and show why a 50% markup gives only a 33% margin, plus a free margin calculator.

  • margin
  • markup
  • profit
  • pricing
  • business

Margin and markup are not the same thing, even though the two words are used interchangeably every day. In short: markup shows how much you add on top of your cost, while margin shows what share of the selling price is your profit. The very same 5 € profit, expressed as a percentage, gives different numbers depending on which formula you use – and it is precisely this confusion that quietly drains profit from businesses. In this article we explain both formulas, work through concrete numbers, and show you how to set a price that hits your target margin.

Margin vs markup: the core conceptual difference

Both metrics describe the same profit (the gap between price and cost), but they compare it against a different base:

  • Markup compares profit to cost – how many percent you add on top of the purchase price.
  • Margin compares profit to the selling price – what share of what the customer paid you actually keep as profit.

A simple example. You buy a product for 10 € and sell it for 15 €. The profit is 5 €. That same 5 € profit is:

  • 50 % of the cost (10 €) – that is the markup;
  • 33.3 % of the selling price (15 €) – that is the margin.

The numbers differ even though the product, the price and the profit are identical. That is why you always need to know which metric you are talking about – especially when negotiating with suppliers or benchmarking against competitors.

The same profit in euros almost always looks "bigger" as a markup and "smaller" as a margin – it is not a trick, just a different denominator in the division.

The margin formula: (price − cost) / price

The margin formula (more precisely, gross profit margin) is:

Margin (%) = (Selling price − Cost) / Selling price × 100

Back to the example: price 15 €, cost 10 €.

Margin = (15 − 10) / 15 × 100 = 5 / 15 × 100 = 33.3 %

Margin matters because it directly shows how much of every euro you earn stays with you before covering operating costs (rent, salaries, marketing). A 33 % margin means that out of every 100 € of revenue, 33 € is gross profit and 67 € is the cost of the goods. Margin is capped by maths: it can never exceed 100 %, because profit cannot be larger than the selling price itself.

Financial statements and most business reporting work with margin precisely because it lets you quickly compare deals of different sizes and understand true profitability.

The markup formula: (price − cost) / cost

The markup formula differs only in the denominator:

Markup (%) = (Selling price − Cost) / Cost × 100

Same example: price 15 €, cost 10 €.

Markup = (15 − 10) / 10 × 100 = 5 / 10 × 100 = 50 %

Markup is convenient for setting a price: you have a cost and want to "raise" it by a certain percentage. For instance, applying a 50 % markup to a 10 € cost gives a 15 € selling price:

Selling price = Cost × (1 + Markup) = 10 × 1.5 = 15 €

Unlike margin, markup can exceed 100 % – luxury or craft goods are often sold with a 200–300 % markup. In retail and wholesale, markup is the more common way to talk, so suppliers often say "we add a 40 % markup" rather than "we work on a 28.6 % margin" – even though it is the same deal.

Why margin is always lower than markup: a worked example

Because margin is divided by a larger number (the selling price, which is always greater than cost), margin will always be lower than markup for the same deal. Look at several scenarios:

| Cost | Price | Profit | Markup | Margin | |------|-------|--------|--------|--------| | 10 € | 12 € | 2 € | 20 % | 16.7 % | | 10 € | 15 € | 5 € | 50 % | 33.3 % | | 10 € | 20 € | 10 € | 100 % | 50 % | | 10 € | 30 € | 20 € | 200 % | 66.7 % | | 10 € | 40 € | 30 € | 300 % | 75 % |

You can see the pattern: the bigger the markup, the further it drifts away from the margin. At a 100 % markup the margin is only 50 %; at a 300 % markup the margin is still just 75 %. Margin will never reach 100 %, no matter how large the markup.

Handy conversion formulas when you have one metric and need the other:

Margin = Markup / (1 + Markup)
Markup = Margin / (1 − Margin)

For example, a 50 % markup: 0.5 / 1.5 = 0.333 = 33.3 % margin. And the other way round – a 40 % margin: 0.4 / 0.6 = 0.667 = 66.7 % markup.

The classic mistake: a 50 % markup is only a 33.3 % margin

The most common and most expensive mistake is confusing the target margin with the markup. Imagine an accountant says "we need a 50 % margin", and the salesperson, applying a 50 % markup, believes the target has been met. In reality they only achieved a 33.3 % margin – almost a third less than required.

Concretely. Product cost 10 €:

  • Wanted: 50 % margin → you must sell at 20 € (because 10 € is 50 % of 20 €).
  • Done: a 50 % markup was applied → sold at 15 €.
  • Difference: 5 € of profit missing on every unit.

If you sell 500 units a month, this "harmless" percentage mix-up costs 2,500 € of lost profit per month, or 30,000 € a year. That is why, before setting prices, you must agree clearly whether you are talking about margin or markup. The same logic applies when working out the impact of VAT on the final price – it is just as easy to accidentally calculate tax off the wrong base.

How to set a price to hit a target margin

If you know the cost and your target margin, you calculate the selling price like this:

Selling price = Cost / (1 − Margin)

A few examples with a 10 € cost:

  • Target 30 % margin: 10 / (1 − 0.30) = 10 / 0.70 = 14.29 €
  • Target 40 % margin: 10 / (1 − 0.40) = 10 / 0.60 = 16.67 €
  • Target 50 % margin: 10 / (1 − 0.50) = 10 / 0.50 = 20.00 €

Note: divide by (1 − margin), and not multiply by (1 + margin). The latter is the markup formula and would lead you straight back into the classic mistake.

Practical tips when setting a price:

  1. First calculate the cost accurately – include not just the purchase price but transport, customs, packaging and bank fees. An understated cost distorts every number that follows.
  2. Decide the minimum margin that covers operating costs and leaves net profit.
  3. Check the market – if your calculated price is well above competitors, you may need to lower the cost rather than the margin.
  4. Recalculate periodically – when supplier prices or exchange rates change, your margin shrinks "silently".

You will find more practical calculators for everyday business in our free calculators section – from salary to PayPal fees.

How margin differs in a service business

It is worth noting that trade and service businesses calculate margin slightly differently. In a service business the "cost" is often not a purchase price but the cost of labour hours: the specialist's hourly rate including taxes, software subscriptions and materials. For example, if a technician works 2 hours and their hourly cost including social contributions and income tax is 15 €, then the service cost is 30 €. Selling that service for 50 € gives a margin of (50 − 30) / 50 = 40 %.

Do not forget indirect costs either – administration, transport, tool depreciation. They are often not loaded into the cost of a single service, yet they "eat" part of the margin, so it is essential to distinguish gross (per-deal) margin from net profit margin, which is what remains after all expenses. A new business is well advised to track both, to avoid a false impression of profitability.

Figures are illustrative and provided for example only; your actual prices depend on your cost structure and market. For tax matters (VAT, income tax, social contributions) verify the current rules with the Lithuanian Tax Authority (VMI, vmi.lt) and Sodra (sodra.lt), 2026.

How to calculate quickly with a margin calculator

Doing the maths for a single product by hand is easy, but when you have dozens of items and prices change every week, a tool is far more convenient. Our margin calculator lets you, in a few seconds:

  • calculate margin and markup from cost and selling price;
  • set the selling price for a target margin;
  • instantly see how a 50 % markup turns into a 33.3 % margin, so you never confuse the two again.

This way you avoid the classic mistake and make sure every product you sell really delivers the planned profit – not less because of a percentage mix-up.

Want margin calculations, invoicing or price updates to run automatically, without manual work in Excel? Use the free margin calculator right now, and if you would like to fully automate these processes in your business, book a free consultation and we will discuss how to make it happen.