Profit Margin Calculator
Quick answer
Profit margin = (Price − Cost) / Price × 100. Markup = (Price − Cost) / Cost × 100. An item bought for 100 and sold for 150 has a 50% markup but a 33.3% margin.
Result
—
How to use the profit margin calculator
Formula
- Profit: Price − Cost
- Margin: Profit / Price × 100, markup: Profit / Cost × 100
- Price for a target margin: Cost / (1 − Margin / 100)
Worked example
Cost 240, target margin 40%: price = 240 / 0.60 = 400; markup 66.7%.
Good to know
Confusing margin with markup is a common pricing mistake: adding 40% to cost gives a 28.6% margin, not 40%. To hit a target margin, divide cost by (1 − margin).
Profit Margin Calculator: frequently asked questions
Margin vs markup?
Margin is based on price, markup on cost; markup is always the larger number.
Can margin reach 100%?
Only if cost is zero; markup, however, can exceed 100%.