How the discount calculator works
A discount is a percentage taken off a price. Every calculation here comes down to one idea: turn the percentage into a decimal, then multiply. The tool has three modes (percent off, finding the original price, and stacking two discounts), plus an optional sales tax field.
Percent off: sale price and savings
This is the everyday case. You know the original price and the discount, and you want the sale price and how much you save:
- Amount saved = original price × (discount % ÷ 100)
- Sale price = original price − amount saved
Take an $80 jacket at 25% off. The saving is 80 × 25/100 = $20.00, so the sale price is 80 − 20 = $60.00. A quick shortcut: paying “25% off” is the same as paying 75% of the price, so 80 × 0.75 = $60.00 gets you there in one step.
Reversing it: finding the original price
Sometimes you have the sale price and the discount, and you want to know the original (for example, to check how good a deal really was). Because the sale price is the original times the remaining fraction, you divide to reverse it:
- Original price = sale price ÷ (1 − discount % ÷ 100)
If you paid $60.00 after a 25% discount, the original was 60 ÷ (1 − 0.25) = 60 ÷ 0.75 = $80.00. This works for any discount below 100%. A 100% discount makes the item free, and dividing by zero has no answer, so the calculator asks for a discount under 100% in that mode.
Why two stacked discounts compound instead of add
Store promotions often layer offers, like “20% off, plus an extra 10% at checkout.” It is tempting to add them to 30%, but discounts do not add. The second discount applies to the already-reduced price, so it compounds:
- Final price = original × (1 − first % ÷ 100) × (1 − second % ÷ 100)
Start with a $100 order. After 20% off it is 100 × 0.80 = $80.00. The extra 10% then comes off that $80, not the original $100: 80 × 0.90 = $72.00. You saved $28.00, which is an effective 28% discount, not 30%. The gap grows as the percentages get larger, which is why “stacked” coupons rarely reach the sum of their labels.
Adding sales tax
Discounts are applied before tax, and tax is charged on the price you actually pay. So work out the sale price first, then add tax on top:
- Total with tax = sale price × (1 + tax % ÷ 100)
A $60.00 sale price with 8% sales tax comes to 60 × 1.08 = $64.80. The calculator shows both the pre-tax sale price and the post-tax total so you can see the tax portion clearly. Leave the tax field at 0 to skip it.
A note on accuracy
These figures are estimates for planning and comparing deals. Real receipts can differ because of rounding at the register, tax rules that vary by location and item, and promotions that exclude certain products. Check the store’s terms before assuming a stacked coupon or a specific tax rate applies.