calculateCalculopedia
search
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.

verified_userReviewed by the Calculopedia editorial teamLast 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 needs the same number every day: at what price should I sell to cover cost and stay in business? Markup and margin are the two tools for answering it, and confusing the pair is the single most common pricing error in small business — one that quietly erodes profit without ever making a visible 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%

A 20% markup on cost produces only a 16.7% margin on the selling price — a smaller-looking number that nonetheless represents the same profit.

The difference, once and for all

  • Markup is profit relative to the price you paid: "I add 20% on top of cost."
  • Margin is profit relative to the price the customer pays: "20% of every rupee received stays as profit."

Because margin is a share of the larger number (the selling price), it is always smaller than an equal markup. The anchor pairs:

Markup Resulting margin
25% 20%
50% 33.3%
100% 50%

A retailer who says "we run on a 25% margin" is not marking up 25% — a 25% margin means the selling price is cost ÷ 0.75.

Margin-first ("backward") pricing

Many businesses decide the margin they want, then work backward:

Selling price = cost ÷ (1 − margin ÷ 100)

An item costing ₹750 with a target 40% margin prices at ₹750 ÷ 0.60 = ₹1,250. Pricing this way defends the bottom line rather than leaving it to whatever markup feels conventional. This is the standard way restaurants, distributors and service firms set prices.

Where the two get used

  • Retail and e-commerce — keystone pricing (100% markup) is an old retail standard; online sellers usually target a margin instead.
  • Restaurants — food-cost pricing budgets ingredient cost near a third of the plate price, i.e. a 50% margin on food.
  • Freelancers and agencies — resold services are commonly marked up 15–25% over the subcontracted cost.
  • Wholesalers — distribution margins (10–30%) are far thinner than retail and are quoted and tracked margin-first.

What discounting does to margin

Discounts come straight out of margin, not out of thin air. On the ₹600 price from a ₹500 cost, a 10% discount gives up ₹60 of the ₹100 profit — 60% of the margin gone. A 25% discount erases it entirely. To set a list price that still earns a target margin after an announced discount, work backwards:

Post-discount price = cost ÷ (1 − target margin)
List price = post-discount price ÷ (1 − discount)

For cost ₹500 with a target 33% margin and a planned 25% discount: post-discount price = 500 ÷ 0.667 ≈ ₹750, so the list price must be 750 ÷ 0.75 = ₹1,000. Sale seasons run on exactly this reverse arithmetic.

Common mistakes

  • Quoting the same number for both — "we make 20% margin" after a 20% markup is wrong; the margin is 16.7%.
  • Building a spreadsheet with markup where margin was intended, or vice versa — the errors silently compound row by row.
  • Forgetting fixed costs: margin covers product cost but not rent, salaries or overhead, so a "healthy" margin can still lose money.
  • Comparing two competitors' margins without confirming both define the denominator the same way.

Useful cross-checks

A 25% markup from ₹500 cost gives ₹625 price and exactly 20% margin. A 50% markup gives 33.3% margin. A 100% markup ("keystone") gives exactly 50% margin. If your own arithmetic lands anywhere else, one of the inputs — or your definition of the base — is being misread. The calculator shows selling price, markup amount and margin together precisely so all three numbers can be checked against one another.

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