DiffWeb

Profit margin calculator

Work out profit and margin from cost and selling price, set your price with a markup, or find the final price after one or two discounts.

Updated November 2026 · by the DiffWeb team

For calculation only. Worked out on your device.

Something not working? Tell us and we'll fix it.

More Business tools

See all

How to use

  1. Pick what you need Margin, Markup or Discount.
  2. Type the prices Cost, selling price, markup % or discount %.
  3. Read the result Profit, margin %, markup % or the price you pay.

Margin, markup and discount in one place

Three quick tools for shop owners, sellers and shoppers:

  • Margin: from cost and selling price, see your profit, margin % and markup %.
  • Markup: add a markup % to your cost to set the selling price.
  • Discount: find the final price and how much you save, even with two discounts.

The formulas

Profit = Selling price − Cost
Margin % = Profit ÷ Selling price × 100
Markup % = Profit ÷ Cost × 100

Buy for ₹400 and sell for ₹500: profit is ₹100, markup is 25% and margin is 20%. People mix these up, and pricing with the wrong one can cut your profit.

Markup and margin side by side

MarkupMargin
10%9.09%
20%16.67%
25%20%
33.33%25%
50%33.33%
100%50%

Two discounts are not added up

"20% + 10% off" is not 30% off. The second discount is taken from the already lower price: ₹1,000 less 20% is ₹800, less 10% is ₹720. That is 28% off in total.

Frequently asked questions

What is the difference between margin and markup?

Markup is profit as a percentage of cost. Margin is profit as a percentage of the selling price. Buy at ₹400 and sell at ₹500: markup is 25%, margin is 20%.

Are two discounts of 20% and 10% the same as 30%?

No. 20% then 10% is 28% off in total, because the second discount is on the already reduced price.

What is a good profit margin?

It depends on the trade. Grocery shops often work on 10% to 20%, while clothing and gifts can be 40% or more.

Does it include GST?

Use prices without GST for a true margin. Check tax with the GST calculator.

Scan a QR code

Point the camera at a DiffWeb QR code: a room invite, a secret, a time capsule or an inbox link.

Get the DiffWeb app