Discount Calculator
Calculate savings, final sale prices, and effective discounts for stacked promotions, flat coupons, sales tax, or Buy X Get Y deals.
You save $20.00 (20% off the total value).
How is this calculated?
S = P ร (1 - d/100)S = P ร (1 - d1/100) ร (1 - d2/100)S = max(0, P - F)S = G ร (XยทP + YยทPยท(1 - Z/100)) + RยทPP = S / (1 - d/100)- Stacked discounts are applied sequentially (compounded) matching store coupon guidelines.
- Promo items in multi-buy (Buy X Get Y) are identical in retail price.
- Sales tax is calculated on the net discounted subtotal at checkout.
- Does not account for loyalty points, store credit, or specific manufacturer mail-in rebates.
- Reverse discount is mathematically undefined when stated discount rate is 100% or greater.
About the Discount Calculator
A discount is a price reduction offered on a product or service, widely used in retail and commercial sales campaigns to accelerate inventory turnover, attract customers, and clear seasonal stock. In consumer mathematics, calculating discounts involves converting percentage discounts into decimal multipliers and applying them to original prices. To prevent accounting errors, it is vital to distinguish between a single primary discount and stacked (or double) discounts. Stacked discounts (e.g., "an additional 20% off already discounted clearance items") are applied sequentially, meaning each subsequent discount is calculated based on the declining subtotal rather than the initial original price. After establishing the final discounted sale price, sales tax must be computed on that net sale subtotal. By mastering these formulas, consumers can verify markdown accuracy, compute their total savings, and make sound budgeting decisions during retail shopping cycles.
Mathematical Formula & Logic
Step-by-Step Example
Calculate the sale price, total savings, sales tax, and final price for a $200 jacket with a primary discount of 25%, an additional stackable discount of 10%, and a sales tax of 8%: 1. Compute price after primary discount: $200 ร (1 - 0.25) = $200 ร 0.75 = $150 2. Compute price after stacked discount: $150 ร (1 - 0.10) = $150 ร 0.90 = $135 3. Calculate total savings: $200 - $135 = $65 4. Compute effective discount: ($65 / $200) ร 100 = 32.5% (note: this is less than the additive sum of 25% + 10% = 35%) 5. Calculate sales tax: $135 ร 8% = $135 ร 0.08 = $10.80 6. Calculate final price: $135 + $10.80 = $145.80 7. The final price to be paid is $145.80, with a total savings of $65 (an effective 32.5% discount).
Reference Data & Values
| primary | stacked | effective off | sale price |
|---|---|---|---|
| 20% | 10% | 28.0% OFF | $144.00 |
| 30% | 15% | 40.5% OFF | $119.00 |
| 40% | 20% | 52.0% OFF | $96.00 |
| 50% | 25% | 62.5% OFF | $75.00 |