Tabellab
Free calculator · no sign-up

Margin and markup calculator

Margin and markup use the same profit but divide it by different numbers. Enter cost and price to see both, or enter a target margin to get the selling price you need.

Your numbers

Result

Calculating…

How to calculate it in Excel

CellPut in
B1Cost
B2Price
B3Target margin

=(B2-B1)/B2

Markup: =(B2-B1)/B1. Price for a target margin: =B1/(1-B3). Format margin and markup cells as percentages.

How the calculation works

Margin = profit / price. Markup = profit / cost. With a cost of 60 and a price of 100 the profit is 40: a 40% margin, but a 66.7% markup.

To reach a target margin, divide the cost by (1 − margin). A 50% margin on a cost of 60 needs a price of 120, which is a 100% markup.

Questions

Is a 50% markup the same as a 50% margin?

No. A 50% markup on a cost of 100 gives a price of 150 and a margin of only 33.3%. A 50% margin needs a 100% markup.

Can a margin be over 100%?

No, a margin is always below 100% because profit can never be larger than the price. A markup can be any size.

Which one should I use for pricing?

Retail and wholesale often talk in markup; finance reports and investors look at margins. Know which one your supplier or buyer means.

Build it yourself in a real spreadsheet

Tabellab courses are interactive Excel labs that check your formulas as you type. Lesson 1 of every course is free.

Courses