Markup vs Margin Calculator

Ask a sales rep, a marketer, and a finance manager for the margin on a product, and you can get three different answers from the same price and cost. The confusion almost always comes down to markup versus margin. Both describe profit as a percentage, but they divide by different numbers.
The difference is not academic. Price a product with a 50% markup when the plan called for a 50% margin, and you have priced a third below target on every unit sold.
The Difference Between Markup and Margin
Markup is profit divided by cost. Margin is profit divided by price. A product that costs $60 and sells for $100 earns $40 in gross profit, a 66.7% markup and a 40% margin. Cost here is your COGS per unit.
Converting between them is straightforward: margin equals markup divided by (1 plus markup), and markup equals margin divided by (1 minus margin). To hit a target margin from a known cost, divide the cost by (1 minus the target margin).
Calculate Markup and Margin
Enter any two of cost, price, markup, or margin and the calculator fills in the rest, including gross profit per unit.
Markup and Margin Calculator v1.0.2Last Update: Nov 16, 2026
Quick Reference
- 25% markup: Equals a 20% margin.
- 50% markup: Equals a 33.3% margin.
- 100% markup: Equals a 50% margin. Doubling the cost is often called keystone pricing.
- Target margin pricing: Price equals cost divided by (1 minus target margin). A $60 cost at a 40% target margin needs a $100 price.
Margin also drives your marketing math. Break-even ROAS is 1 divided by gross margin, and the volume a discount must generate depends on the margin left after it, so getting this number right flows into every campaign decision.
Frequently Asked Questions
What is the difference between markup and margin?
Markup is gross profit divided by cost. Margin is gross profit divided by selling price. The same sale always shows a higher markup percentage than margin percentage.
How do I convert markup to margin?
Divide markup by 1 plus markup. A 50% markup equals 0.5 divided by 1.5, or a 33.3% margin.
How do I price a product for a target margin?
Divide the unit cost by 1 minus the target margin. A $60 cost at a 40% margin needs a $100 price.







