Discount & Profit Margin Calculator

Free discount calculator: get the sale price with up to three stacked discounts, compare profit margin vs markup and find the price for a target margin.

Calculator
—Price after discount
—You save
—Total discount

Everything happens in your browser. Nothing is uploaded.

Discounts, margin and markup in one place

Shoppers want to know what a sale price really costs. Sellers want to know whether that price still makes money. This calculator does both. The Discount tab takes an original price and up to three discounts applied one after another, and shows the final price, how much you save and the true total discount. The Profit margin & markup tab works from cost and selling price, or finds the price you need for a target margin or markup, or the most you can pay for stock at a given price and margin.

How to use it

  1. Pick Discount or Profit margin & markup at the top.
  2. For a discount, enter the Original price and the Discount (%). Add an Extra discount and a Third discount if the deal stacks, for example a sale price plus a coupon.
  3. For margins, choose What do you want to find?: margin and markup from cost and price, a selling price for a target margin or markup, or the cost from price and margin.
  4. Fill in the fields that appear.

The formulas

  • Final price = price × (1 − d₁) × (1 − d₂) × (1 − d₃). Stacked discounts are applied to the already reduced price, so they do not simply add up: 20% then 10% is 28% off, not 30%.
  • Margin = (price − cost) ÷ price. It tells you what share of each sale is profit.
  • Markup = (price − cost) ÷ cost. It tells you how much you added on top of what you paid.
  • Price for a target margin = cost ÷ (1 − margin). Price for a target markup = cost × (1 + markup). Cost from price and margin = price × (1 − margin).
  • A margin can never reach 100%, but a markup can be any size: a 50% margin equals a 100% markup.

Worked example

A jacket costs $80. The store takes 25% off, and you have a coupon for an extra 10%. First 80 × 0.75 = $60, then 60 × 0.90 = $54. You save $26, which is a total discount of 32.5%, not 35%. Now look at it from the seller’s side. If the shop bought the jacket for $30 and sells it for $50, the profit is $20. The margin is 20 ÷ 50 = 40%, and the markup is 20 ÷ 30 = 66.67%. To keep a 40% margin on a $30 cost, the price must be 30 ÷ 0.60 = $50.

Margin vs markup: the costly mix-up

Many small sellers add 40% to cost and think they have a 40% margin. They do not: a 40% markup gives a margin of only 28.6%. After fees, shipping and returns, that gap can turn a profit into a loss. Decide which number your pricing plan uses, and check both here before you set a price or accept a discount from a supplier. The calculator works in any currency and does not include sales tax or VAT.

Need to add or remove tax? Use the VAT Calculator. For any other percentage question, such as what percent one number is of another, try the Percentage Calculator.

Frequently asked questions

Why don’t two discounts add up?

The second discount is taken from the price after the first one, so it applies to a smaller amount. 25% and then 10% off is 32.5% in total.

What is the difference between margin and markup?

Margin divides profit by the selling price; markup divides it by the cost. The same $20 profit on a $30 item sold for $50 is a 40% margin and a 66.67% markup.

Can margin be more than 100%?

No. Margin is a share of the price, so it is always below 100%. Markup has no upper limit.

Does the order of discounts matter?

No. Multiplication gives the same result in any order, so 10% then 25% also ends at 32.5%.

Is anything saved?

No. Everything runs in your browser.