Profit Margin Calculator
Two numbers everyone quotes and few people calculate the same way.
Results are shown in the currency you pick below.
Margin and markup are different numbers, and mixing them up is one of the most expensive small mistakes in pricing. Margin is profit as a share of the price; markup is profit as a share of the cost. A 50% markup is a 33% margin.
This calculator shows both at once so the same figures cannot be read two ways.
How the maths works
- Gross profit
- Revenue − cost
- Margin
- Profit ÷ revenue × 100
- Markup
- Profit ÷ cost × 100
Worked example
Worked example. A product that sells for $120 and costs $78 to deliver.
| Revenue (price per unit) | 120 |
|---|---|
| Cost per unit | 78 |
Gross profit: $42.00
| Profit margin | 35.0% |
|---|---|
| Markup on cost | 53.8% |
| Cost as a share of revenue | 65.0% |
| Revenue | $120 |
Common questions
Gross margin or net margin?
Gross margin subtracts the direct cost of delivering the product. Net margin also subtracts overheads such as rent, salaries and software. This calculator gives gross margin.
What is a good margin?
It depends on the category. Physical retail often runs 20–40%, services 40–70%, and software 70%+. Compare against your own costs, not against a headline number.
Does shipping count as cost?
Yes, if you pay it. Include packaging, payment fees and returns in cost if you want the margin figure to survive contact with your bank account.