Profit Margin Calculator
Find your profit margin and markup, or work out what to charge to hit a target margin. Margin and markup are both shown, so you never mix them up.
Margin vs. markup
Both compare profit to something else, which is why they're easy to mix up:
- Profit margin = profit ÷ selling price. It tells you what share of each sale you keep.
- Markup = profit ÷ cost. It tells you how much you added on top of what you paid.
The same sale always has a higher markup than margin. A 50% markup is a 33.33% margin, and a 100% markup (doubling the cost) is a 50% margin.
Worked example
You buy a product for $40 and sell it for $60. Your profit is $20, so your margin is $20 ÷ $60 = 33.33% and your markup is $20 ÷ $40 = 50%. Sell 150 of them and you'll make $3,000 profit on $9,000 of revenue.
Want a 40% margin instead? Divide the cost by (1 − 0.40): $40 ÷ 0.60 = $66.67.
How to set a price from a margin
A common mistake is adding the margin percent to the cost. Adding 40% to $40 gives $56, which is only a 28.57% margin. To hit a true 40% margin, use price = cost ÷ (1 − margin), or pick Price from margin above.
Markup to margin at a glance
- 25% markup = 20% margin
- 33.33% markup = 25% margin
- 50% markup = 33.33% margin
- 100% markup = 50% margin
- 200% markup = 66.67% margin
Frequently asked questions
What's a good profit margin?
It depends heavily on the industry. Grocery stores often run thin margins, while software and services can be much higher. Compare yourself with businesses like yours.
Is this gross or net margin?
This is gross margin for one product: price minus the direct cost of the item. Net margin also subtracts overhead like rent, payroll, and taxes.
Can the margin be negative?
Yes. If you sell for less than it costs you, both margin and markup are negative, meaning you lose money on each sale.