Original Price
The item's list price before any discounts
Discounts
One discount, or two stacked discounts
The main sale or coupon discount
e.g., 'take an extra 20% off' applied to the sale price
Applied to the already-discounted price
Sales Tax
Applied to the discounted price
Set to 0 to ignore tax
Step-by-Step Math
Exactly how the final price is computed
- 1. Apply 25% off: $80.00 × 0.75 = $60.00 (you save $20.00)
- 2. Apply extra 20% off: $60.00 × 0.80 = $48.00 (you save $12.00 more)
- 3. Pre-tax price: $48.00 — total savings $32.00 (40.00% off)
Your Results
Results are also pinned to the bottom of your screen.Discount Summary
Final Price
$48.00
No sales tax entered
Total Savings
$32.00
40.00% effective off
Quick Answer
To calculate percent off, multiply the price by (1 − percent/100): 25% off $80 is $80 × 0.75 = $60. Stacked discounts apply sequentially — 25% off plus an extra 20% off is $80 × 0.75 × 0.80 = $48, an effective 40% off, not 45%. Sales tax applies to the discounted price: $48 with 8% tax costs $51.84.
Key Facts
- Discounted price = Original × (1 − first%/100) × (1 − second%/100)
- Stacked discounts multiply keep-rates; they never simply add (25% + 20% = 40% effective, not 45%)
- Effective combined percent off = 1 − (1 − d1)(1 − d2), expressed as a percentage
- Sales tax is charged on the discounted price, not the original price
- Total savings = Original price − final pre-tax price (tax is not savings)
- Order does not matter: 25% then 20% gives the same final price as 20% then 25%
Frequently Asked Questions
How do you calculate percent off a price?
Convert the percent to a decimal and multiply the price by the remaining fraction: 25% off $80 is $80 × (1 − 0.25) = $60. Savings are simply the original price minus that result — $20 here. For 10% off, move the decimal one place and subtract it ($80 → $8 off → $72).
How do stacked (double) discounts work?
Each discount applies to the price after the previous one. 25% off $80 gives $60; an extra 20% off takes 20% of $60 ($12), landing at $48. The effective discount is 1 − 0.75 × 0.80 = 40%, not 45%, because the second discount hits a smaller base. Stacking is commutative — the order gives the same result.
Is sales tax applied before or after the discount?
After the discount. Stores charge tax on the actual amount you pay. A $80 item at 25% off with 8% tax is taxed on $60: $60 × 1.08 = $64.80. Manufacturer coupons can be treated differently in some states (treated as payment, so tax applies pre-coupon), but store and promotional discounts almost always reduce the taxable price.
Which is the better deal: 40% off or 25% off plus an extra 20% off?
They tie at exactly those numbers: 0.75 × 0.80 = 0.60 keep-rate, an effective 40% off either way. But in general a flat X% off beats stacking two discounts that sum to X: 30% + 20% stacks to 1 − 0.70 × 0.80 = 44% effective, versus a flat 50%. When you see "take an extra % off," calculate the effective rate before assuming it stacks additively.
How do I calculate the original price from a sale price?
Divide the sale price by the keep-rate. If you paid $60 after a 25% discount, the original was $60 ÷ 0.75 = $80. For stacked discounts, divide by the product of keep-rates: $48 ÷ (0.75 × 0.80) = $80. This is handy for checking whether a "was/now" deal is genuine.
How this works
Formulas follow standard definitions from the NIST Digital Library of Mathematical Functions and classical textbook derivations. Calculations run entirely in your browser. Where a closed-form solution exists, it is used; where an iterative or numerical method is required, the implementation is named on the page.
Sources
- [1]NIST Digital Library of Mathematical FunctionsAcademicdlmf.nist.govAccessed Apr 21, 2026

Full-stack software engineer specializing in embedded systems, web architecture, and AI/ML. Founder of Practical Web Tools. Built the gesture-controlled drone IP acquired by KD Interactive (Aura Drone, sold on Amazon).