CalcTrace

Discount Calculator

Find the price after a percentage or dollar discount and how much you save, stack up to three discounts in the order they are applied, work back from a sale price to the original, or turn a “buy X, get Y free” offer into a percentage. Tax can be added after the discount.

Last updated .

What do you want to work out?

Calculation

Discounts are applied from top to bottom. Each one is taken off the price left by the one before it.

Leave this at 0 if the price already includes tax or no tax applies.

Result

Price after discount

–

–Original price
–You save
–Total discount
–Price after discount

Share of the full price

    StepChangePrice
    Show the working

      Discount formulas

      A percentage discount removes a fraction of the price, so what you pay is the rest of it.

      Sale price = P × (1 − d ÷ 100)

      Saving = P × d ÷ 100

      P is the original price and d is the discount in per cent. A fixed discount of A dollars is simply P − A, and as a percentage it is worth A ÷ P × 100.

      When several percentage discounts are stacked, each one applies to the price left by the one before, so the multipliers are multiplied together:

      Sale price = P × (1 − d₁ ÷ 100) × (1 − d₂ ÷ 100) × …

      Combined discount (%) = (1 − (1 − d₁ ÷ 100) × (1 − d₂ ÷ 100) × …) × 100

      To go back from a sale price S to the price before a discount of d per cent, divide by the same multiplier:

      Original price = S ÷ (1 − d ÷ 100)

      For a multi-buy offer where you buy X items and get Y more at z per cent off (z is 100 when they are free):

      Effective discount (%) = Y × z ÷ (X + Y)

      Worked examples

      1. One discount. A jacket is $80 with 25% off. $80 × (1 − 0.25) = $80 × 0.75 = $60. The saving is $80 − $60 = $20.
      2. Two stacked discounts. A $200 item is 20% off, and a further 10% comes off at the checkout. $200 × 0.8 = $160, then $160 × 0.9 = $144. The saving is $56, which is 28% of $200.
      3. Original price. A price tag says $80 after 20% off. $80 ÷ 0.8 = $100, so $20 was taken off.
      4. Buy 2, get 1 free at $12 each. You take 3 items and pay for 2: $24, or $8 each. The discount is 1 × 100 ÷ (2 + 1) = 33.33%.
      5. Discount, then tax. $200 less 20% is $160. Adding 10% tax gives $160 × 1.1 = $176, of which $16 is tax.

      Why 20% then 10% is not 30%

      The second discount is not taken from the original price. In the example above the 10% is 10% of $160, which is $16, not 10% of $200, which would be $20. The $4 difference is the 10% discount that you no longer get on the $40 already removed. In multipliers, 0.8 × 0.9 = 0.72, so you pay 72% and the combined discount is 28%.

      The shortfall from the simple sum is always the two percentages multiplied together and divided by 100: 20 × 10 ÷ 100 = 2 percentage points here. It grows quickly with bigger discounts. Two stacked 50% discounts come to 75% off, not 100%: half the price goes, then half of the remaining half.

      The order of percentage discounts makes no difference, because multiplication can be done in any order: 10% then 20% on $200 also gives $144. Order does matter once a fixed amount is involved. On $200, taking $20 off and then 20% gives $180 × 0.8 = $144. Taking 20% off and then $20 gives $160 − $20 = $140. The fixed amount is worth its full $20 when it is applied last; applied first, the percentage discount that follows shrinks it by 20%, a loss of $4.

      Getting back to the original price

      A common slip is to add the discount percentage back on. $80 plus 20% is $96, not $100. The 20% was measured against the higher, original price, so adding 20% of the lower price cannot restore it. To undo a 20% discount the sale price has to rise by 25%, because 1 ÷ 0.8 = 1.25. Dividing by the multiplier avoids the problem altogether.

      Reading multi-buy offers

      “Buy 2, get 1 free” and “3 for the price of 2” are the same offer, and both are 33.33% off, provided you take the items in threes. “Buy one, get one free” is 50% off. “Buy one, get the second half price” is 1 × 50 ÷ 2 = 25% off, the same as a plain quarter off both.

      The percentage only holds for complete groups. With buy 2, get 1 free at $12, taking 4 items means paying for 3: $36 for 4 items is 25% off, and taking 2 earns no discount at all. The table in the calculator shows the discount at each quantity so that the steps are visible.

      Practical points

      Percentage discounts and tax can go in either order

      For a percentage discount it makes no difference whether tax is added before or after: $200 × 0.8 × 1.1 and $200 × 1.1 × 0.8 are both $176. A fixed amount is different. $20 off a $200 before-tax price gives $180 × 1.1 = $198, while $20 off the $220 tax-inclusive price gives $200. Sellers differ on which they do, and the calculator applies the discount first.

      Rounding

      The calculator keeps full precision through each step and rounds only what it displays. A till that rounds to the cent after each discount can end up a cent away.

      What is left out

      No tax rate is built in, because rates and the goods they apply to differ from place to place; enter the rate that applies to your purchase. Minimum spends, per-customer limits, loyalty points and delivery charges are not modelled. A discount is measured against the price the seller quotes as the original, which is not necessarily the price the item usually sells for.