Freehora › Margin calculator
Margin and markup calculator
Enter a cost and a selling price to get your profit, margin and markup – or find the price you need for a target margin.
Results
Profit margin
Markup
Profit
Price for the target margin
Selling price for a cost of 100 by target margin
Margin is calculated on the selling price, the standard definition in accounting.
| Target margin | Price for the target margin |
|---|
| 10 % | 111.11 |
| 20 % | 125 |
| 30 % | 142.86 |
| 40 % | 166.67 |
| 50 % | 200 |
| 60 % | 250 |
How to use the margin calculator
- Enter your cost: purchase price, or total cost of making the product or delivering the service.
- Enter your selling price to see the profit, margin and markup.
- Optionally set a target margin to see which price you’d need on the same cost.
How it’s calculated
Profit = price − cost
Margin = profit ÷ price and markup = profit ÷ cost.
Price for a target margin = cost ÷ (1 − target margin).
Example: a product bought for 60 and sold for 100 makes 40 of profit – a 40% margin and a 66.67% markup. To earn a 30% margin on the same product, it must sell for 60 ÷ 0.7 = 85.71.
The most common mistake
Many people add the target percentage to the cost. But a 30% markup is not a 30% margin: 60 + 30% = 78, and the margin is then only 18 ÷ 78 = 23.08%. Always divide by (1 − margin) when you think in margin.
Tips
- Include all direct costs (shipping, packaging, platform fees) in the cost, or your margin will look better than it is.
- For services, set your rate from your income goal first with the freelance hourly rate calculator.
Also useful for your business: VAT calculator.
Frequently asked questions
What's the difference between margin and markup?
Margin is profit divided by the selling price; markup is profit divided by the cost. Buying at 60 and selling at 100 gives a 40% margin but a 66.67% markup.
How do I find the price for a 30% margin?
Divide the cost by (1 − 0.30). With a cost of 60: 60 ÷ 0.7 = 85.71. Adding 30% to the cost (78) would only give a 23.08% margin.
What is a good profit margin?
It depends on the industry: services often need high margins to cover unbilled time, while resellers work with lower ones. Compare with your own costs rather than a general rule.
Should I use prices with or without VAT?
Use prices without VAT for both cost and selling price, since VAT is collected for the state and isn't part of your profit.
More calculators