
Profit Margin Calculator
Gross margin, markup and the price you need for a target margin.
How it works
Gross profit is price minus cost. Margin is profit as a share of the price; markup is profit as a share of the cost.
To reach a target margin, the price must be cost ÷ (1 − margin). That is why a 50% margin needs a 100% markup.
Use the cost of the product itself: materials, wholesale price or direct labor. Overhead such as rent is covered by net margin, which this calculator doesn't include.
Example
An item that costs $60 and sells for $100 has $40 of gross profit: a 40% margin and a 66.7% markup.
To earn a 50% margin on the same item, you would need to charge $120.
Frequently asked questions
What is the difference between margin and markup?
Both use the same profit. Margin divides it by the price, markup by the cost. A 40% margin and a 66.7% markup describe the same sale.
What is a good profit margin?
It depends heavily on the industry. Compare with businesses like yours rather than with a single number.
Is anything I enter stored?
No. The calculator runs in your browser and does not send your numbers anywhere.
Formula and figures last checked Oct 6, 2026.

