30% then 20% is 44%, not 50%
- Original price
- 5,000
- First discount (%)
- 30
- Then a further (%)
- 20
- And a further (%)
- 0
You pay2,800
arithmetic identity: 1 - 0.7x0.8
Open this example"30% off, then 20% off" is not 50% off. It is 44%. This shows the effective discount and the difference from simply adding them.
Also called: discount on discount calculator, two discounts combined.
You pay 2,800. The discounts total 50% if you add them up, but successively they come to 44%. The second is applied to an already-reduced price.
Each discount applies to whatever is left after the previous one, so the factors multiply rather than the percentages adding. Two 50% discounts leave 25% of the price, not zero, which is why no chain of percentage discounts can ever make something free.
final = price * (1-d1) * (1-d2) * (1-d3)Each of these is asserted on every build. If a change to the engine ever moved one of these answers, the build would fail before the page could print it.
You pay2,800
arithmetic identity: 1 - 0.7x0.8
Open this exampleYou pay250
boundary: percentages can never reach zero
Open this exampleYou pay5,000
degenerate case
Open this example