Margin is profit as a share of the selling price. Markup is profit as a share of the cost. They describe the same profit in two ways, so a 50% markup is only a 33.3% margin. This works as a margin calculator, a profit margin calculator and a markup calculator in one: enter what you know and it works out the rest.
- Cost–
- Selling price–
- Profit–
Profit margin formula and markup formula
| What you want | Formula |
|---|---|
| Profit | Price − cost |
| Margin | Profit ÷ price |
| Markup | Profit ÷ cost |
| Price from a markup | Cost × (1 + markup) |
| Price from a margin | Cost ÷ (1 − margin) |
| Margin from a markup | Markup ÷ (1 + markup) |
| Markup from a margin | Margin ÷ (1 − margin) |
Example: an item costs $8.00 and sells for $25.00. The profit is $17.00, so the margin is $17.00 ÷ $25.00 = 68% and the markup is $17.00 ÷ $8.00 = 212.5%.
For the gross margin on your total sales over a period, use the gross profit margin calculator, which works from revenue and cost of goods sold.
Markup to margin table
| Markup | Margin |
|---|---|
| 10% | 9.1% |
| 20% | 16.7% |
| 25% | 20% |
| 30% | 23.1% |
| 40% | 28.6% |
| 50% | 33.3% |
| 75% | 42.9% |
| 100% | 50% |
| 150% | 60% |
| 200% | 66.7% |
Margin to markup table
| Margin | Markup needed |
|---|---|
| 10% | 11.1% |
| 20% | 25% |
| 25% | 33.3% |
| 30% | 42.9% |
| 40% | 66.7% |
| 50% | 100% |
| 60% | 150% |
| 75% | 300% |
How to use the margin calculator
- Choose what you know: cost and price, cost and markup, or cost and margin.
- Enter the numbers. The selling price, profit, margin and markup update as you type.
- To include marketplace fees in your costs, use a fee calculator first.
Frequently asked questions
What is the profit margin formula?
Profit margin = (price − cost) ÷ price, multiplied by 100 for a percentage. An item that costs $8 and sells for $25 has $17 of profit, so its margin is $17 ÷ $25 = 68%.
How do you find margin vs markup?
Work out the profit (price minus cost). Divide it by the price for the margin, or by the cost for the markup.
How much margin is a 20% markup?
16.7%. A 20% markup on a $100 cost gives a $120 price and $20 profit, and $20 ÷ $120 = 16.7%.
Is a 30% markup the same as a 30% margin?
No. A 30% markup is a 23.1% margin. To get a 30% margin you need a 42.9% markup.
How do I calculate a 30% profit margin?
Divide the cost by 0.7 (that’s 1 minus 30%). An item that costs $70 needs a $100 price for a 30% margin.
What does a 5% markup mean?
The price is 5% more than the cost: $100 of cost sells for $105. That’s a 4.8% margin.
How much is a 100 percent markup?
A 100% markup doubles the cost: $50 becomes $100. The margin is 50%.
What is the formula for calculating the selling price?
From a markup: cost × (1 + markup). From a margin: cost ÷ (1 − margin).
Does a 20% margin mean 20% profit?
Yes, 20% of the selling price is profit. On a $50 sale that’s $10. It’s a 25% markup on the $40 cost.
Related guides
Get the Reseller Spreadsheet
Know your real profit on every item
Track what you paid, where it’s listed and what it sold for. Fees on eBay, Poshmark, Depop, Mercari, Vinted and Whatnot are worked out for you.