How the calculation works
Margin and markup are related, but they use different denominators. Confusing them is a common pricing mistake. Enter the cost of an item or service and its selling price to see the difference immediately.
Profit = selling price − cost. Margin % = profit ÷ selling price × 100. Markup % = profit ÷ cost × 100.
If something costs £25 and sells for £40, the profit is £15. Its margin is 37.5%, while its markup is 60%. They are not interchangeable.
Why the percentages differ
Margin measures how much of the selling price remains after the cost. Markup measures the profit relative to the cost. A 30% markup does not create a 30% margin; it creates a smaller margin.
What should count as cost?
Include the costs relevant to the question you are answering. An item purchase price alone gives a basic product margin; adding postage, packaging and payment fees produces a more complete contribution estimate. Costs omitted from the input remain omitted from the answer.
When the percentage cannot be calculated
If selling price is zero, a percentage margin is undefined. If cost is zero, percentage markup is undefined. The tool shows this instead of inventing a percentage.
Common questions
Is 20% margin the same as 20% markup?
No. A 20% margin means profit is one-fifth of the selling price; a 20% markup means profit is one-fifth of cost.
Can this show a loss?
Yes. If the selling price is below the cost, both profit and the calculated percentages can be negative.