What this calculator does
Margin and markup use the same profit but different bases: margin divides by the selling price, markup divides by the cost. Mixing them up is one of the most common pricing mistakes.
Formula, assumptions and sources
Gross profit = price − cost. Margin = profit ÷ price × 100. Markup = profit ÷ cost × 100. Price for a target margin = cost ÷ (1 − margin ÷ 100). Excludes tax and selling fees unless included in cost.
Worked example
This example uses the initial values shown in the form. It is illustrative and is not a saved personal result.
Example inputs
- Currency
- USD
- Cost per item
- 12
- Selling price per item
- 20
- Target margin (%) for a suggested price
- 50
- Units sold (optional, for total profit)
- 0
Example result
| Target margin | Price | Markup |
|---|---|---|
| 20% | $15 | 25% |
| 30% | $17.14 | 42.9% |
| 40% | $20 | 66.7% |
| 50% | $24 | 100% |
| 60% | $30 | 150% |
Cost plus profit equals the selling price.
View chart data
| Item | Value |
|---|---|
| Cost | 12 |
| Profit | 8 |
Margin is a share of the selling price; markup is a share of cost.
When to use it
Use this to understand what you really make on each sale. Margin tells you what share of the selling price is profit; markup tells you how much you added on top of cost.
Businesses usually report margin, while many sellers set prices with markup. Knowing both avoids underpricing.
Common uses:
- Setting retail prices from wholesale cost
- Checking a supplier's quoted margin
- Comparing products by profitability
Step by step: Cost $12, price $20
- Profit: 20 − 12 = $8.
- Margin: 8 ÷ 20 = 40%.
- Markup: 8 ÷ 12 = 66.7%.
Answer: $8 profit: a 40% margin, or a 66.7% markup.
Margin and markup equivalents
| Margin | Markup |
|---|---|
| 10% | 11.1% |
| 20% | 25% |
| 25% | 33.3% |
| 33.3% | 50% |
| 40% | 66.7% |
| 50% | 100% |
| 60% | 150% |
Markup = margin ÷ (1 − margin).
Common mistakes to avoid
- Adding a margin percentage to cost (that is markup).
- Leaving shipping, packaging and fees out of cost.
- Comparing margins across products with very different volumes.
Frequently asked questions
Is a 50% markup a 50% margin?
No. A 50% markup gives a 33.3% margin. A 50% margin needs a 100% markup.
Should fees be part of cost?
If you sell on a marketplace, add per-sale fees to cost or use the Etsy or marketplace calculators for a full picture.
What is the difference between gross and net margin?
Gross margin uses product cost only. Net margin also subtracts overheads, fees and tax.
Can margin be over 100%?
No. Margin is at most 100%; markup can be any size.