Profit margin calculator
Check the margin on a selling price, or find the price that gives the margin you want.
Margin and markup: what’s the difference?
Both describe the same gross profit, but compare it with a different amount.
- Gross margin is profit as a share of the selling price. It tells you how much of each sale you keep after paying for the item.
- Markup is profit as a share of the cost. It tells you how much you added on top of what you paid.
Formulas
- Gross profit = selling price − cost
- Gross margin % = gross profit ÷ selling price × 100
- Markup % = gross profit ÷ cost × 100
- Selling price for a target margin = cost ÷ (1 − margin % ÷ 100)
Worked example
An item costs 60 and sells for 100.
- Gross profit: 100 − 60 = 40
- Gross margin: 40 ÷ 100 = 40%
- Markup: 40 ÷ 60 = 66.67%
The 40 profit is the same in both cases. The markup is higher because it is measured against the smaller number, the cost.
Worked example: price for a target margin
An item costs 60 and you want a 25% gross margin.
- Selling price: 60 ÷ (1 − 0.25) = 80
- Gross profit: 80 − 60 = 20 per item
Adding 25% to the cost would give 75, which is only a 20% margin. A margin must be below 100%.
What gross profit leaves out
These results exclude overhead (such as rent, wages and software) and taxes. An item can show a gross profit while the business as a whole still loses money.
If you sell an item for less than it cost, profit, margin and markup are negative.