Home › Finance › Markup & Margin

Markup & Margin Calculator

Work out profit, markup and margin from a cost and selling price.

Profit per unit
–
Markup
–
Margin
–

Markup is not margin

Markup and margin both describe profit as a percentage, but they use different reference points, and mixing them up is one of the most common pricing mistakes in retail and e-commerce. Markup compares profit with the cost price. Margin compares profit with the selling price. This calculator takes your cost and selling price and shows profit per unit, markup and margin side by side, so you always know which number you are talking about.

How to use it

  1. Enter the cost price, what you pay per unit (purchase price or production cost).
  2. Enter the selling price, what the customer pays you per unit, excluding VAT.
  3. Choose your currency and read profit, markup and margin.

The formulas

  • Profit = selling price − cost price
  • Markup = profit ÷ cost price × 100
  • Margin = profit ÷ selling price × 100

Example

You buy a product for 60 and sell it for 100. Your profit is 40. The markup is 40 ÷ 60 = 66.7%, the margin is 40 ÷ 100 = 40%. Both describe the same deal. Margin is always the smaller number, because the selling price is always larger than the cost price when you make a profit.

Quick conversion table

  • 25% markup = 20% margin
  • 50% markup = 33.3% margin
  • 100% markup = 50% margin
  • 200% markup = 66.7% margin

Formulas: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin), both as decimals.

Why the difference matters

If a supplier promises "50% margin" but means markup, your real margin is only a third. Discounts are also calculated on the selling price, so a 20% discount wipes out half of a 40% margin. Before you run a sale, check how much profit is left per unit, and keep shipping, payment fees and returns in mind. The break-even calculator helps you see how many units you need to sell after that.

Frequently asked questions

What is the difference between markup and margin?

Markup is profit relative to cost, margin is profit relative to selling price. For the same deal, margin is always the smaller figure.

Should I use prices with or without VAT?

Without VAT, because VAT goes to the tax office and is not part of your profit.

Can the margin be negative?

Yes. If the selling price is below the cost price, profit, markup and margin are all negative, meaning you sell at a loss.

Is my data stored or sent anywhere?

No. The calculation runs entirely in your browser. Nothing you enter is saved, tracked or sent to a server.