Profit margin calculator
Enter your cost and selling price to instantly see your gross profit, profit margin and markup. Margin and markup are easy to confuse but mean different things — getting them right matters for pricing, quoting and profit planning.
How it works
From the cost and selling price, the tool computes three figures:
gross profit = price − cost
margin % = profit ÷ price × 100 (profit as a share of the selling price)
markup % = profit ÷ cost × 100 (profit as a share of the cost)
Margin can never exceed 100%, but markup can, because the cost base is smaller than the price. For the same sale, markup is always the larger percentage.
Example
Cost 60, selling price 100:
- Gross profit: 100 − 60 = 40
- Margin: 40 ÷ 100 = 40%
- Markup: 40 ÷ 60 = 66.67%
| Cost | Price | Profit | Margin | Markup |
|---|---|---|---|---|
| 60 | 100 | 40 | 40% | 66.67% |
| 80 | 100 | 20 | 20% | 25% |
| 50 | 150 | 100 | 66.67% | 200% |
All figures stay in your browser.