Discount calculator
A good deal? Find out exactly how much you save.
Let’s calculatePick what you want to work out. The answer updates as you type.
Gross margin is profit ÷ selling price; markup is profit ÷ cost. Include the costs that matter for your decision. Amounts use your input currency.
Use this free profit margin calculator to see your gross margin, markup, and profit from a cost and a selling price. You can also find the price to charge for a target margin or markup, and convert between margin and markup, which are easy to mix up.
Margin = (price − cost) ÷ price × 100
Markup = (price − cost) ÷ cost × 100Margin and markup both measure profit, but against different bases: margin compares profit with the selling price, markup compares it with the cost. The same sale always has a smaller margin than markup.
The profit of 40 is 40% of the selling price (the margin) and 66.67% of the cost (the markup).
Margin is profit as a share of the selling price. Markup is profit as a share of the cost. An item that costs 60 and sells for 100 makes 40 profit: a 40% margin, but a 66.67% markup.
Confusing the two is a common pricing mistake. Adding a 40% markup to a 60 cost gives a price of 84, which is only a 28.57% margin, not 40%.
| Margin | Equivalent markup |
|---|---|
| 20% | 25% |
| 25% | 33.33% |
| 33.33% | 50% |
| 40% | 66.67% |
| 50% | 100% |
Divide the cost by 1 minus the target margin as a decimal. For a 40% margin on a cost of 60, the price is 60 ÷ 0.6 = 100. To add a markup instead, multiply the cost by 1 plus the markup: a 40% markup on 60 is 60 × 1.4 = 84.
Markup = margin ÷ (100 − margin) × 100
Margin = markup ÷ (100 + markup) × 100
A 25% margin is a 33.33% markup, and a 100% markup (doubling the cost) is a 50% margin. Use the “Margin ↔ markup” mode to convert any value.
This calculator works out gross margin: price minus the cost of the item itself. Net margin also subtracts overheads such as rent, wages, marketing, and taxes, so it is always lower. Include whichever costs matter for your decision in the cost field.
Subtract the cost from the selling price, divide by the selling price, and multiply by 100. Cost 60 and price 100 give a margin of (100 − 60) ÷ 100 × 100 = 40%.
Margin is profit divided by the selling price; markup is profit divided by the cost. A 60 cost sold at 100 is a 40% margin but a 66.67% markup.
Divide the cost by 1 minus the margin as a decimal. For a 40% margin on a 60 cost, the price is 60 ÷ 0.6 = 100.
Markup = margin ÷ (100 − margin) × 100. A 25% margin is a 33.33% markup.
Yes. If the cost is more than the selling price, the sale makes a loss and the margin is negative.
Gross margin, based on the cost you enter. Net margin also subtracts overheads such as rent and wages.