Discount Calculator
Type the price and the percent off to see what you pay and what you save. Three more rows cover stacked discounts, tax, and the original price.
https://flxcode.com/discount-calculator/
Price after a discount Example
25% off 64.99 leaves 48.74.
Shown to the cent. The sum itself is exact, so nothing is rounded before the last step.
- 64.99 × (1 − 25 ÷ 100) = 48.7425
- You save 16.2475, shown as 16.25.
Two discounts in a row Example
The price is optional. Leave it empty to see only the total percent off.
20% then 10% is 28% off in total.
- (1 − 20 ÷ 100) × (1 − 10 ÷ 100) = 0.72
- Total off: (1 − 0.72) × 100 = 28%
- Adding the two would give 30%. The second one only takes a share of what is left.
- 80 × 0.72 = 57.6, so you pay 57.60 and save 22.40.
Tax after the discount Example
25% off, then 8.25% tax, comes to 52.76.
The order here is discount first, tax second. Some shops and some places apply tax to the full price instead, and the total is then different. Check your receipt.
- 64.99 × (1 − 25 ÷ 100) = 48.7425
- You save 16.2475, shown as 16.25.
- Tax on the discounted price: 48.7425 × 8.25 ÷ 100 = 4.021256
- Total to pay: 48.7425 + 4.021256 = 52.763756
Find the original price Example
Before 20% off, the price was 80.00.
Adding 20% back to 64 would give the wrong answer. The discount was taken from the bigger number.
- 64 ÷ (1 − 20 ÷ 100) = 64 ÷ 0.8 = 80
- Check: 80 less 20% is 64.
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.
Problem or idea? Email us
Which row do I use?
| The sign says | Use the row |
|---|---|
| 30% off a price tag | Price after a discount |
| Take an extra 10% off sale prices | Two discounts in a row |
| I need the total at the till, with tax | Tax after the discount |
| This cost 64 and it was 20% off. What was the tag? | Find the original price |
Worked examples
| Situation | Row | What you type | Answer |
|---|---|---|---|
| A jacket at 64.99 with 25% off | Price after a discount | 64.99, 25 | 48.74 |
| A 120 pair of shoes at 30% off | Price after a discount | 120, 30 | 84.00 |
| A 45.50 book at 15% off | Price after a discount | 45.5, 15 | 38.68 |
| 20% off, then an extra 10% off | Two discounts in a row | 20, 10 | 28% off |
| 40% off, then 25% off the sale price | Two discounts in a row | 40, 25 | 55% off |
| 64.99 at 25% off, then 8.25% tax | Tax after the discount | 64.99, 25, 8.25 | 52.76 |
| I paid 64 and the sign said 20% off | Find the original price | 64, 20 | 80.00 |
| I paid 51 and the sign said 15% off | Find the original price | 51, 15 | 60.00 |
Prices show to the cent, so 48.7425 appears as 48.74. The sum underneath is not rounded.
The formulas
price after = price × (1 − off ÷ 100)saving = price − price aftertwo discounts = 1 − (1 − first ÷ 100) × (1 − second ÷ 100)with tax = price after × (1 + tax ÷ 100)original = price paid ÷ (1 − off ÷ 100)
Stacked discounts
A coupon on top of a sale looks like one big discount, but the two do not add. Each one takes a share of what is left. The more you stack, the further the total falls below the sum of the parts.
For example 40% then 25% is not 65% off. You keep 60%, then 75% of that, so you keep 45% and the total discount is 55%.
What it does not do
- It does not know your shop's rules. Some stores cap coupons, exclude sale items or round each line, and this tool does none of that.
- It works on one price at a time. For a basket, add up the prices first.
- A discount can be 0 to 100%. Above that, or below 0, gives an error and not a number.
Numbers this uses
- 100: a percent is one part in a hundred.
- Rounding: shown to 2 decimals, half up. The working lines show up to 6 decimals.
- Size: up to 40 digits per number. A comma or a space as a thousands separator is fine.
Other percent sums, such as a share of a total or the change between two values, are on the percentage calculator and the percentage change page.
FAQ
Why is 20% off plus 10% off not 30% off?
The second discount is taken from the already lower price, not from the original. You pay 80% of the price, then 90% of that, which is 72%. So the total is 28% off. The second row shows both numbers and the price if you type one.
Does the order of two discounts change the price?
No. 0.8 × 0.9 and 0.9 × 0.8 are the same number, so 10% then 20% is also 28% off. What changes the answer is whether a discount comes off the sale price or off the original, and shops state that in the fine print.
Is sales tax added before or after the discount?
In most shops tax is added to the discounted price, and that is what the third row does: 64.99 less 25% is 48.7425, plus 8.25% tax on that is 52.76. Some places and some coupons work on the full price, so the total can differ. Your receipt decides.
How do I find the original price from the sale price?
Divide what you paid by 1 minus the discount. If 64 is the price after 20% off, the original was 64 ÷ 0.8 = 80. Adding 20% to 64 gives 76.80, which is wrong, because the 20% was taken from the bigger number.
Does it round the price?
Only on screen. The sums are exact, and the result is shown to the cent, rounded half up. A saving of 16.2475 is shown as 16.25. Shops may round at a different step, so a receipt can be a cent away.
Which currency does it use?
None. The numbers are plain, so a price in dollars, euros or zloty works the same. The two decimals are a display choice, not a currency rule.
More from FLXCode
- Percentage CalculatorFive percentage sums on one screen, live as you type. Shows the formula with your numbers.
- Percentage Change CalculatorPercent increase or decrease from an old value to a new one, plus reverse and percentage points.
- Percentage Difference CalculatorPercentage difference between two numbers, with a switch to percentage change and a percent error row.
- Decimal to Fraction CalculatorTurn a decimal into a simplified fraction, repeating decimals included, and round inches to the nearest 1/16.