Opens in a new tab
Find a calculator

Margin vs markup

Margin and markup both start from the profit on a sale: the selling price minus the cost. Margin divides that profit by the selling price; markup divides it by the cost, so a profitable sale always shows a higher markup than margin.

Compare: Margin and Markup

Calculated in your browser. Figures you enter are not sent or stored.

The price you charge for one item, excluding sales tax.

What one item costs you to buy or make.

Margin

—

Enter your figures, or load the example.

Markup

—

Enter your figures, or load the example.

The two formulas

Margin = (Selling price − Cost) ÷ Selling price × 100
Markup = (Selling price − Cost) ÷ Cost × 100

One example, both measures

Illustrative example, not actual company results

Selling price
$50
Cost
$30

Margin: 40.0%

The worked example as a chart

Profit is 40.0% of the selling price. Both bars use the same scale, so the top bar shows the numerator as a share of the bottom one.

Markup: 66.7%

The worked example as a chart

Profit is 66.7% of the cost. Both bars use the same scale, so the top bar shows the numerator as a share of the bottom one.

One sale, two percentages

An item costs you $30 and you sell it for $50, so you make $20 on each sale. Your margin is 20 ÷ 50 = 40.0%: the share of the selling price you keep. Your markup is 20 ÷ 30 = 66.7%: how much you added on top of the cost. Both describe the same sale; they just divide by different numbers.

The mistake this causes

Mixing the two up is a common pricing error. Suppose you want a 40% margin on an item that costs $30, and you add 40% to the cost. You charge $42, make $12, and your margin is 12 ÷ 42 = 28.6%, well short of the 40% you aimed for. To earn a 40% margin, divide the cost by (1 − 0.40): 30 ÷ 0.60 = $50.

Converting between them

  • From markup to margin: margin = markup ÷ (1 + markup). A 50% markup gives a margin of 0.5 ÷ 1.5 = 33.3%.
  • From margin to markup: markup = margin ÷ (1 − margin). A 40% margin needs a markup of 0.4 ÷ 0.6 = 66.7%.

The margin calculator and the markup calculator both work in either direction: enter a price and a cost, or a cost and the percentage you want.

When to use which

  • Margin connects directly to your income statement: gross profit divided by revenue is a margin. Use it when you compare pricing with your overall gross profit margin or set profit targets.
  • Markup is convenient when you build a price up from a cost, for example when a supplier’s price changes.
  • Whichever you use, say which one you mean, especially when you share prices or targets with others.

Summary

MarginMarkup
Formula(Price − Cost) ÷ Price(Price − Cost) ÷ Cost
Based onSelling priceCost
$30 cost, $50 price40.0%66.7%
Can it exceed 100%?NoYes

This page is for education. It is not financial, investment, tax, accounting or legal advice. Results depend on the figures you enter and the formula definitions shown, so check them against your own statements and, where it matters, ask a qualified professional.