Formulas
With profit = price − cost:
| Measure | Formula | $60 cost, $100 price |
|---|---|---|
| Profit | price − cost | $40 |
| Margin | profit ÷ price | 40% |
| Markup | profit ÷ cost | 66.7% |
| Price for a target margin | cost ÷ (1 − margin) | 60 ÷ 0.6 = $100 |
| Price for a target markup | cost × (1 + markup) | 60 × 1.667 = $100 |
Margin vs markup
The same sale can be described two ways, and mixing them up is one of the most common pricing errors. If you want a 40% margin on an item that costs $25:
- Correct: $25 ÷ (1 − 0.40) = $41.67 → $16.67 profit, 40% of the price.
- Wrong: $25 + 40% = $35 → $10 profit, only a 28.6% margin.
Margin to markup conversion table
| Margin | Markup |
|---|---|
| 10% | 11.1% |
| 20% | 25% |
| 25% | 33.3% |
| 30% | 42.9% |
| 40% | 66.7% |
| 50% | 100% |
| 60% | 150% |
| 75% | 300% |
Retailers often talk about a “keystone” markup — doubling the wholesale price. That’s a 100% markup and a 50% margin.
Using margin for freelance and service pricing
Margin works for services too. Your “cost” might be a subcontractor’s fee, materials passed through to a client, or the cost of your own time at your minimum hourly rate. If a project takes 20 hours and your minimum is $80 an hour, your cost is $1,600; quoting $2,000 gives a 20% margin above that floor.
Our freelance hourly rate calculator helps you find that minimum, and the VAT calculator adds tax on top of the final price.
Pricing tips
- Know your full cost. Include shipping, payment fees, packaging, platform commissions and returns.
- Price for margin, not markup when you need a specific share of revenue to cover overheads.
- Check discounts against margin. A 20% discount on a 40% margin item halves your profit per sale.
- Compare with your market. Margin tells you what you need; competitors and customers tell you what you can charge.
Limitations
The calculator works on a single item or job. It doesn’t include taxes, volume discounts, or overhead allocation — add those to the cost if you want a net figure.
Last updated: