storefront

Markup & Margin Calculator

The markup calculator adds a markup percentage to your cost to find the selling price, and shows both the markup amount and the resulting profit margin percentage.

Last updated 2026-08-14

Embed on your site

Embed this calculator on your site:

<iframe src="https://calculopedia.darzh.xyz/embed/markup-margin-calculator/" width="100%" height="700" style="border:0;border-radius:12px" loading="lazy"></iframe>

quizExample

How this calculator works, with real numbers (no JavaScript needed):

Inputs

Cost price
500
Markup
20

Results

Selling price
₹600
Markup amount (profit)
₹100
Profit margin
16.7%

functionsThe formula

Selling price = cost × (1 + markup ÷ 100). Margin % = (selling − cost) ÷ selling × 100.

Every business adds a markup to what it pays for goods to arrive at a selling price. The markup and the resulting margin sound similar but are two different ways to measure profit — and confusing them is a classic pricing mistake.

The formulas

Selling price = cost × (1 + markup ÷ 100)
Markup amount = selling price − cost
Margin % = markup amount ÷ selling price × 100

Worked example

Cost ₹500, markup 20%:

Selling price = 500 × 1.20 = ₹600
Markup amount = ₹100
Margin % = 100 ÷ 600 × 100 ≈ 16.7%

So a 20% markup on cost produces a 16.7% margin on the selling price — the two numbers are not the same.

Markup vs margin, the difference

  • Markup is the profit relative to cost: "I add 20% on top of what I paid."
  • Margin is the profit relative to the selling price: "20% of every rupee I charge is profit."

Because margin is a share of the price, it's always smaller than the equivalent markup. A 100% markup gives a 50% margin; a 25% markup gives a 20% margin. Retailers commonly say "we run at a 25% margin" — that means the selling price is cost ÷ 0.75.

Everyday uses

  • Retail and e-commerce — pricing products profitably
  • Freelancers and agencies — adding a margin to resold services
  • Restaurants — food-cost pricing (often a 60–70% markup on ingredients)
  • Check your quotes — what margin is a supplier really earning?

helpFrequently asked questions

question_markHow do I calculate selling price from cost and markup?

Selling price = cost × (1 + markup ÷ 100). For a ₹500 cost with 20% markup: 500 × 1.20 = ₹600.

question_markWhat is the difference between markup and margin?

Markup is profit as a percentage of cost; margin is profit as a percentage of selling price. For a 20% markup, the margin is about 16.7%.

question_markHow do I convert markup to margin?

Margin % = markup % ÷ (100 + markup %) × 100. A 25% markup equals 25 ÷ 125 × 100 = 20% margin.

view_quiltYou might also need