Margin vs Markup: Formulas and Selling Price Examples
Margin is profit divided by selling price. Markup is profit divided by cost. With ₹80 cost and ₹100 selling price, profit is ₹20, margin is 20% and markup is 25%.

Reviewed 24 November 2026. Examples describe this tool’s behavior and arithmetic; physical printing and external services require your own checks.
| Cost | Selling price | Profit | Margin | Markup |
|---|---|---|---|---|
| ₹80 | ₹100 | ₹20 | 20% | 25% |
| ₹100 | ₹150 | ₹50 | 33.33% | 50% |
| ₹200 | ₹250 | ₹50 | 20% | 25% |
Calculate margin and markup
Gross profit = selling price − cost. Margin (%) = gross profit ÷ selling price × 100. Markup (%) = gross profit ÷ cost × 100. These calculations use only the costs you include; gross profit is not automatically your take-home profit.
Set a selling price from a target
For a target margin, selling price = cost ÷ (1 − margin ÷ 100). For a target markup, selling price = cost × (1 + markup ÷ 100). At ₹80 cost, a 20% margin gives ₹100; a 20% markup gives ₹96. The same percentage produces different prices.
Convert margin to markup
Markup (%) = margin ÷ (100 − margin) × 100. Margin (%) = markup ÷ (100 + markup) × 100. A 50% markup corresponds to a 33.33% margin, rounded. A margin target must stay below 100% when cost is positive.
Include costs before choosing a price
Add relevant per-item product, packaging and shipping costs. Percentage-based commissions can depend on the final price and need a separate calculation. The calculator does not add platform fees or taxes automatically.
Is a 20% margin the same as a 20% markup?
No. At ₹80 cost, a 20% margin requires ₹100 selling price, while a 20% markup produces ₹96.