How do you calculate profit margin?
Gross profit margin is profit divided by selling price. Subtract cost from price to get profit, then divide by price and multiply by 100. An item that costs $60 and sells for $100 has $40 profit and a 40% margin. To hit a target margin, price = cost ÷ (1 − margin).
How to use it
- Choose Margin from price, or Price from margin.
- Enter your cost.
- Enter the selling price, or the margin you want.
- Read profit, margin and the equivalent markup.
The formula
- Profit = price − cost.
- Margin % = profit ÷ price × 100.
- Price for a target margin = cost ÷ (1 − margin).
Worked example
Cost $60, price $100: profit $40, margin 40%, markup 66.67%
Cost $60, target margin 40%: price = 60 ÷ 0.6 = $100
| Margin | Markup needed |
|---|---|
| 10% | 11.11% |
| 20% | 25% |
| 25% | 33.33% |
| 30% | 42.86% |
| 40% | 66.67% |
| 50% | 100% |
Questions
What's the difference between margin and markup?
Margin is profit as a percentage of the selling price. Markup is profit as a percentage of cost. A 50% markup gives a 33.33% margin.
What is a good profit margin?
It varies by industry. Service businesses often have higher gross margins than retail. Compare yourself with businesses like yours.
Is this gross or net margin?
Gross margin: it uses the direct cost of what you sell. Net margin also subtracts overheads like rent and software.
Can a margin be over 100%?
No. Margin can't reach 100% unless cost is zero. Markup can be any size.
Related free tools
- Markup calculatorSelling price from cost plus markup.
- Freelance hourly rate calculatorThe hourly and day rate you need to hit your income.
- Free quote and estimate generatorItemized quotes and estimates with optional extras, as a PDF.
- Canadian sales tax calculatorAdd or remove GST, HST, PST or QST by province.
Quote at the right price every time
Save your prices once and build quotes in a minute.
Start free, no card