Profit margin calculator: margin, markup and selling price
Calculator
Enter what an item costs you and the price you sell it at. Margin, markup and profit update as you type.
- Selling at 100.00 USD with a cost of 60.00 USD leaves 40.00 USD profit: a margin of 40% and a markup of 66.67%.
- Margin divides the profit by the price and markup divides it by the cost, so for any profitable sale the markup is the larger figure.
- For a 50% margin on this cost, the price would be 120.00 USD.
How it is calculated
Profit = price − cost · margin = profit ÷ price · markup = profit ÷ cost · price for a margin m = cost ÷ (1 − m)
Worked example
- Profit: 100.00 USD minus 60.00 USD is 40.00 USD.
- Margin: 40.00 USD divided by the price of 100.00 USD is 40%.
- Markup: 40.00 USD divided by the cost of 60.00 USD is 66.67%.
Limits and assumptions
- Cost means the cost of the item itself: rent, wages and taxes are not in it, so the result is a gross margin, not a net margin.
- Enter both figures with sales tax or VAT, or both without it.
- Discounts, returns and payment fees lower the margin you actually earn.
- A margin can never reach 100%; a markup has no upper limit.
Margin and markup equivalents
| Margin | Markup | Price at a cost of 100.00 USD |
|---|---|---|
| 5% | 5.26% | 105.26 USD |
| 10% | 11.11% | 111.11 USD |
| 15% | 17.65% | 117.65 USD |
| 20% | 25% | 125.00 USD |
| 25% | 33.33% | 133.33 USD |
| 30% | 42.86% | 142.86 USD |
| 33.33% | 49.99% | 149.99 USD |
| 40% | 66.67% | 166.67 USD |
| 50% | 100% | 200.00 USD |
| 60% | 150% | 250.00 USD |
| 75% | 300% | 400.00 USD |
Markup = margin ÷ (1 − margin). A 50% margin is a 100% markup.
How this is calculated
This calculator works out the gross profit per item from two numbers, the cost and the selling price. At the current inputs, the profit is 40.00 USD, the margin 40% and the markup 66.67%.
Gross margin only subtracts the cost of the goods themselves. A business still pays rent, wages, marketing, shipping and payment fees out of that gross profit, so a healthy gross margin depends on the trade: grocery shops work on thin margins and high volume, software and services on wide margins and lower volume. Comparing your margin with others in the same trade says more than the number alone, and a shop that knows its margin by product can see which lines pay for the fixed costs and which only add work.
Enter both prices on the same basis, with or without sales tax or VAT. A price that includes tax next to a cost without it inflates the margin by the tax rate. Discounts, returns and card fees lower the margin a customer actually pays you.
Questions and answers
What is the difference between margin and markup?
Both start from the same profit but divide it by different numbers. Margin is profit divided by the selling price, markup is profit divided by the cost. With a cost of 60.00 USD and a price of 100.00 USD, the margin is 40% and the markup is 66.67%. A 50% margin always equals a 100% markup.
How do I set a price for a target margin?
Divide the cost by one minus the margin. For a 50% margin on a cost of 60.00 USD, the price is 120.00 USD; for a 25% margin it is the cost divided by 0.75. Adding the margin percentage to the cost gives a markup instead and lands below the target margin, a common pricing mistake.
Is this gross or net margin?
Gross margin: only the cost of the item itself is subtracted. Rent, wages, marketing, payment fees and tax come out of the 40.00 USD per item before anything is left as net profit, so a business needs a gross margin well above zero to cover them. Enter both prices with or without sales tax, not one of each.