The receipt said $1,440.00 on a $2,000 jacket. The sign said 20% off, the coupon said another 10%. A shopper did the sum in their head and expected $1,400. The register disagreed by $40. That gap is why a multiple discount calculator exists: stacked discounts multiply, they do not add.

Side by side

Discounts Looks like Actually On $100
20% then 10%30%28%$72.00
30% then 20%50%44%$56.00
50% then 50%100%75%$25.00
10% + 10% + 10%30%27.1%$72.90
25% then 15%40%36.25%$63.75

Every row is the same mistake: the second discount lands on a smaller number.

The formula in four lines

function finalPrice(price, discounts) {
  return discounts.reduce((p, d) => p * (1 - d / 100), price);
}

function effectiveDiscount(price, discounts) {
  const final = finalPrice(price, discounts);
  return (1 - final / price) * 100;
}

finalPrice(2000, [20, 10]);        // 1440
effectiveDiscount(2000, [20, 10]); // 28.000000000000004

The 28.000000000000004 is a floating-point reminder to round to cents. The snippet is here so you can see there is no hidden table — it is one reduce.

Three traps

  • Order does not matter. 20% then 10% equals 10% then 20%.
  • Two 50% discounts are 75% off, not free. 0.5 × 0.5 = 0.25 left to pay.
  • Reverse needs division. 1440 ÷ (0.8 × 0.9) = $2,000.

Which one should you use?

If a tag shows one percentage and checkout adds a coupon, you need the multiple discount calculator. Run the numbers in the Discount Calculator, check the deal is profitable in the Profit Calculator, and whether the campaign pays back in the ROI Calculator.

The unique angle: a stacked discount is a multiplication of what is left, so the only honest single number is the effective rate you actually pay — 28%, not the 30% on the sign.

View all developer tools →

Author's note: All tool links are self-hosted, pure client-side, no account, no ads, no tracking.