Margin and Markup Calculator

Margin and markup describe the same profit from two sides, and mixing them up is one of the most common pricing mistakes. This calculator takes whichever two numbers you know and returns the rest, with a check line that converts the answer between the two.

How to use the Margin and Markup Calculator

  1. Choose what you know: cost and price, cost and a wanted margin, cost and a wanted markup, or price and a wanted margin.
  2. Fill the fields that appear. Fields you do not need are hidden.
  3. Read margin, markup and profit per unit in the summary.
  4. Use the check lines to translate between the two: a 25 percent margin and a 33.33 percent markup are the same price.

Margin versus markup

Margin is profit divided by the selling price. Markup is profit divided by the cost. A product that costs 20 and sells for 30 earns 10, which is a margin of 33.33 percent but a markup of 50 percent. The same profit gives a bigger number for markup because cost is smaller than price.

Mixing them causes real losses. If you want a 40 percent margin and add 40 percent to cost, the margin you actually earn is about 28.6 percent. To reach a margin of 40 percent from cost, divide the cost by 0.6, which is a markup of about 66.7 percent.

A quick example: a shop buys a mug for 6 and wants a 50 percent margin. Dividing 6 by 0.5 gives a price of 12, a profit of 6 and a markup of 100 percent. Applying a 50 percent markup instead gives a price of 9, which earns only a 33.3 percent margin. The tool shows both numbers side by side so that a pricing rule stated in one language can be checked in the other.

What this tool leaves out

Marketplace fees, shipping, tax and discounts are not included, so the profit here is before them. For fees, use a platform calculator or the price-for-target-profit tool, which uses margin after fees.

Margin can never reach 100 percent while cost is above zero, and the tool says so. A negative result means the price is below cost.

Frequently asked questions

Which should I use to set prices, margin or markup?

Either works if you stay consistent. Markup is easier to apply to a cost, margin is easier to compare with fee percentages, which are based on the sale price.

Why is a 50 percent markup not a 50 percent margin?

They divide the same profit by different numbers: markup by cost, margin by price.

What is the formula for price from margin?

Price equals cost divided by one minus the margin, with the margin as a decimal.

Are fees included?

No. The result is before fees, shipping and tax.

Last reviewed