Formula
Margin = (Price − Cost) ÷ Price × 100. Markup = (Price − Cost) ÷ Cost × 100.
About this calculator
Margin is profit as a share of the selling price; markup is profit as a share of cost. They describe the same profit from two sides, and mixing them up is a common pricing mistake.
Amounts are shown without a currency symbol, so the calculator works for any currency: enter all values in the same one.