Stacked Discount Calculator
Apply percent-off steps and fixed coupons in order and see what each deducts, the true final price, the single equivalent discount, and how far off the naive sum would be.
About this tool
The most expensive mistake in discount shopping is adding percentages. 20% off followed by another 10% off feels like 30% off, but the second discount applies to what the first one left behind: 100 becomes 80, and 10% of 80 is 8, not 10. The real combined discount is 28%, and on a 20% + 10% + 5% stack the gap is worth 3.40 on every 100 — 68.40 actual against a 65.00 gut feeling.
Fixed-amount coupons break the other assumption, that order never matters. With percent-only stacks it truly does not — multiplication commutes, 20% then 10% is the same as 10% then 20%. But the moment a coupon enters, sequence changes the answer: on 100, taking 10 off first and then applying 20% off leaves 72, while 20% off first followed by 10 off leaves 70. That is why the step table above settles each step in your order and shows the running price, so you can match the checkout’s math line for line.
The equivalent-single-discount figure is the honest summary of the whole stack: one percentage that does the same damage. And the work-backwards box answers the question people actually walk into a sale with — not “what does this cost” but “what is the most expensive thing my budget can cover once these discounts are applied”.
Why stacked discounts do not add up
Each percentage is taken from what the previous one left behind, so the second discount lands on a smaller base. The two steps multiply rather than add: 20 percent then 10 percent leaves 72 from 100, not 70, and the missing amount is exactly the overlap the discounts share.
Written out, the two-step result is 100 times 0.80 times 0.90, which is 72. Adding the percentages would give 30 off, which is the same calculation with one term — the product of the two rates, 0.08 of the price — quietly left out. That term is not a rounding artefact; it is the slice of the base both discounts were trying to claim.
The gap widens with every step and with every price. Twenty, ten and five percent in sequence leave 68.40 of 100, an effective 31.6 percent, while the sum of the rates says 35. On a bigger basket the same shopping costs proportionally more than the mental arithmetic promised.
The result panel prints both: the real final price, and the figure the shortcut would have produced. Seeing them side by side is the quickest way to stop trusting the shortcut, because the shortcut is never the higher of the two.
Why the budget solver replays the steps to check itself
Working backwards builds the original price as a single linear equation and solves it, then runs the steps forwards again to confirm the answer lands exactly on the target. If the replay disagrees, the tool reports no solution rather than a number it cannot reproduce.
Every stack can be written as one line: the price times a factor, minus an accumulated amount. Percentages scale both the factor and the accumulated amount, while fixed amounts add to it. The original price is then a single division — target plus accumulated amount, over the factor.
That equation assumes the arithmetic stays linear, and one feature breaks the assumption: a fixed coupon is capped at whatever remains, and the price never falls below zero. Capping is not linear, so a closed-form answer derived as though it were can be wrong in precisely the cases where a coupon eats the whole bill.
Rather than argue that the case cannot arise, the tool re-runs the steps on the answer it just computed and checks the landing point. A mismatch means the closed form was outside its valid range, and the honest report is that no original price reaches that target — with these steps, none does.
Why the calculator never reorders your discounts
Steps are applied in the order you enter them, and no reordering is attempted. A merchant applies its own rules in a fixed sequence, and the only way to check a receipt is to replay that sequence rather than one the tool considers better.
Reordering looks like a free improvement, and for a percentage-only stack it would genuinely change nothing, because multiplication commutes. As soon as a fixed coupon is involved, order changes the price — and a tool that silently sorted the steps would produce a number matching no receipt in existence.
The temptation is real, since one order favours the buyer. A coupon applied before a percentage acts on a larger base and takes more off; the same coupon afterwards loses part of its value to the smaller remainder. That difference is a fact worth seeing, not a bug to be optimised away.
So the table shows every row as it happened: the value before, what this step deducted, and what remains. If a checkout used a different order, the two sample stacks sit side by side in the examples precisely so the two answers can be compared.
What "second one half price" and "buy 2 get 1 free" really cost
"Second one half price" is 25% off the pair; "buy 2 get 1 free" is about 33.3% off; "buy 3 get 1 free" is 25% off. One division covers all of them: items paid ÷ items taken.
These offers are hard to compare because they describe how you pay, while a price comparison needs an equivalent single discount. The bridge is one division: put the total item count on the bottom and the equivalent paid count on top. Second one half price — two items, 1.5 paid — gives 0.75. Buy 2 get 1 free — three items, 2 paid — gives 2 ÷ 3 ≈ 0.667. Buy 3 get 1 free gives 3 ÷ 4 = 0.75. Buy 5 get 2 free gives 5 ÷ 7 ≈ 0.714.
Once converted, the number drops straight into this tool: enter "item count × unit price" as the original price, then the rate above as a single discount step, and the result is what you actually hand over — which is the only basis on which different offers can be ranked. Note that "buy N get M free" varies a lot with N and M: buy 2 get 1 free (33% off) beats buy 3 get 1 free (25% off), even though the two phrases look nearly identical.
One more thing that gets mixed up: a fixed amount off a threshold — "spend 300, get 50 off" — is a flat deduction, not a percentage. Its position relative to a percentage discount changes the answer (the previous section covers this), so enter it as its own step rather than converting it to 83% and multiplying — a threshold deduction fires once, while a percentage applies to every item.
Frequently asked questions
Why isn’t 20% + 10% the same as 30% off?
Because the second discount is taken from a smaller base. 20% off 100 leaves 80; the extra 10% comes off 80, which is 8 — total 28 off, not 30. Stores often advertise such stacks as “extra 10% on top of 20% off”, which is accurate but easy to mishear as a flat 30%. The gap grows with each step and with the price.
Does the order of discounts matter?
Not when every step is a percentage — multiplication is commutative, so any order gives the same final price. Order matters as soon as a fixed-amount coupon is involved: applying the coupon first lets the percentage act on a smaller remainder, which is better for you. On 100 with 20% off and 10 off, coupon-first leaves 70 and percent-first leaves 72.
What is an “equivalent single discount”?
One percentage that, applied alone to the original price, gives the same final price as the whole stack. A 20% + 10% stack is equivalent to a flat 28% off. It is the right number for comparing one store’s complicated promotion against another store’s simple one.
What if a coupon is bigger than the price?
The fixed step is capped at what remains — the price never goes below zero. In real shops a coupon like that simply zeroes out the bill (and rarely, the remainder). If you are using the work-backwards box and get “no solution”, a coupon is likely eating the entire price somewhere in the middle, which breaks the straightforward arithmetic.
Does this include tax, shipping or loyalty points?
No — it models exactly the steps you enter, in the order you enter them. If tax is added after discounts in your jurisdiction, add the discounted total and the tax rate separately. Loyalty points and store credit behave like a fixed step at the very end if you want to model them.
Does anything I enter get sent anywhere?
No. Every calculation is plain arithmetic in the page. There is no server, no request and no logging, and the tool keeps working with the network switched off.
Related tools
How many years does your savings rate buy you? Or what rate does a chosen deadline demand? Real, inflation-adjusted terms, with the 4% rule built in. Nothing you type leaves your browser.
Work out what regular investing adds up to — initial sum, monthly or yearly contributions, a chosen rate basis, and inflation-adjusted buying power, year by year. Nothing you type leaves your browser.
Work out how many sheets of plywood, MDF or board a cut list needs. Lays the parts out on each sheet, applies the blade kerf, and reports the yield and the offcuts.
Courses with credits and grades — letter or percent — become a weighted 4.0-scale GPA, with per-course breakdown and cumulative GPA. Nothing you type leaves your browser.