Work out your profit margin and markup from cost and selling price – or find the price you need to hit a target margin or markup. Add units sold to see total revenue and profit. Free and instant.
Profit margin formula
Gross margin % = (price − cost) ÷ price × 100. Price for a target margin = cost ÷ (1 − margin %).
Markup formula
Markup % = (price − cost) ÷ cost × 100. Price for a target markup = cost × (1 + markup %).
Markup to margin conversion table
| Markup | Gross margin | Price on a $100 cost |
|---|---|---|
| 10% | 9.1% | $110.00 |
| 15% | 13% | $115.00 |
| 20% | 16.7% | $120.00 |
| 25% | 20% | $125.00 |
| 30% | 23.1% | $130.00 |
| 40% | 28.6% | $140.00 |
| 50% | 33.3% | $150.00 |
| 60% | 37.5% | $160.00 |
| 75% | 42.9% | $175.00 |
| 100% | 50% | $200.00 |
| 150% | 60% | $250.00 |
| 200% | 66.7% | $300.00 |
Margin to markup conversion table
| Target margin | Markup needed | Price on a $100 cost |
|---|---|---|
| 5% | 5.3% | $105.26 |
| 10% | 11.1% | $111.11 |
| 15% | 17.6% | $117.65 |
| 20% | 25% | $125.00 |
| 25% | 33.3% | $133.33 |
| 30% | 42.9% | $142.86 |
| 35% | 53.8% | $153.85 |
| 40% | 66.7% | $166.67 |
| 45% | 81.8% | $181.82 |
| 50% | 100% | $200.00 |
| 60% | 150% | $250.00 |
| 70% | 233.3% | $333.33 |
Selling with ads? Your margin sets your break-even ROAS – check it with the marketing metrics calculator.
Not sure what your products cost? Work it out with the COGS calculator.
Frequently asked questions
How do I calculate profit margin?
Gross margin = (selling price − cost) ÷ selling price × 100. Example: an item that costs $40 and sells for $60 has a margin of $20 ÷ $60 × 100 = 33.3%.
How do I calculate markup?
Markup = (selling price − cost) ÷ cost × 100. The same $40 item selling for $60 has a markup of $20 ÷ $40 × 100 = 50%.
What is the difference between margin and markup?
Both use the same profit, but margin divides it by the selling price and markup divides it by the cost. That is why markup is always the bigger number: a 50% markup is a 33.3% margin, and a 100% markup is a 50% margin.
How do I set a price for a target margin?
Price = cost ÷ (1 − target margin). For a 30% margin on a $70 cost: $70 ÷ 0.70 = $100. Adding 30% to cost ($91) would only give a 23% margin.
What is the difference between gross and net profit margin?
Gross margin only subtracts the direct cost of the product (cost of goods sold). Net margin also subtracts overheads such as rent, salaries, marketing and tax, so it is always lower.
What is a good profit margin?
It depends heavily on the industry. Software and services often run high gross margins, while groceries and retail run thin ones. Compare your margin with businesses like yours, and make sure it covers your overheads with room for profit.
More tools for founders: ROI calculator · startup runway calculator · all free tools.