HisabCalc

Profit Margin & Markup

Profit, margin and markup from a cost and a selling price.

Enter your numbers

Result

Figures are computed on your device; nothing is sent anywhere.

Formula

margin = profit ÷ sellingPrice; markup = profit ÷ cost

How the calculation works

Margin and markup are two ways of expressing the same profit against two different bases, and mixing them is the most expensive mistake in small-business pricing. Bought at 80 and sold at 120, the profit is 40. Margin divides that by the selling price, giving 33.3%. Markup divides it by the cost, giving 50%. One profit, two honest percentages, and no way to tell which someone means unless they say.

The two figures cannot drift apart at random, because margin's base is always the larger number. That means margin is always the smaller of the two, and it has a ceiling: as cost falls towards zero, markup grows without limit but margin can only approach 100%, never reach it. A product with 90% margin has a 900% markup, which is why quoting margin makes a business sound less profitable and quoting markup makes it sound more.

The tool refuses a cost of zero, because markup divides by cost and that would be undefined. It also allows a selling price below cost, returning a negative profit, which is the correct answer for a loss-making line and should be read as one rather than treated as an error.

Common mistakes

When to use it

Worked example

Bought at 80, sold at 120: profit 40, margin 33.3%, markup 50%.

Profit 40.00
Margin 33.33%
Markup 50.00%

Common questions

Are margin and markup the same?

No, and mixing them is the classic error. Margin divides by the selling price, markup by the cost, so the same profit gives two different figures.

Related tools

Last updated: 2026-09-29