Calculate profit margins and markup percentages
Margin and markup both describe the relationship between cost and selling price, but they're calculated differently and often confused. Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. Using the wrong one when setting prices can significantly under- or over-price a product.
Margin = (Price − Cost) / Price × 100 | Markup = (Price − Cost) / Cost × 100
Margin is profit divided by selling price (what percentage of revenue is profit); markup is profit divided by cost (how much you added on top of cost). They describe the same dollar profit but as different percentages of different base numbers.
Margin = Markup / (1 + Markup), expressed as a decimal. For example, a 50% markup (0.5) converts to a margin of 0.5 / 1.5 ≈ 33.3%.
Markup = Margin / (1 − Margin), expressed as a decimal. For example, a 25% margin (0.25) converts to a markup of 0.25 / 0.75 ≈ 33.3%.
Price = Cost / (1 − Margin). For a $40 cost item with a 50% margin target: $40 / (1 − 0.5) = $80 selling price.
Because markup is profit divided by cost, while margin is profit divided by price. Doubling the cost (100% markup) means profit equals cost, and profit as a share of the now-doubled price is exactly 50% — the two percentages diverge more as the percentage gets larger.