Margin vs Markup: Formulas and Selling Price Examples
All seller guides

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%.

Open the Selling price

Screenshot of the MyTools profit margin calculator showing cost and selling price inputs with margin and markup results
Choose what you want to calculate. Enter cost and selling price to compare margin with markup, or set a target and calculate a possible selling price.

Reviewed 24 November 2026. Examples describe this tool’s behavior and arithmetic; physical printing and external services require your own checks.

CostSelling priceProfitMarginMarkup
₹80₹100₹2020%25%
₹100₹150₹5033.33%50%
₹200₹250₹5020%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.

Tools for this task