What it does
The discount calculator takes a percentage off a price, and a second percentage off the reduced price:
- Sale price: the price after the discount, for example 80.00 for 100 at 20% off.
- You save: the amount taken off, for example 20.00.
- Total discount: the discount from the original price as one percentage, for example 28% for 20% and then 10% off.
The result updates as you type.
How to use it
- Type the original price.
- Type the discount as a percentage.
- Type an extra discount if a second one comes off the reduced price. Leave it at 0 if not.
- Select Copy result to put the figures on your clipboard.
The calculator remembers your numbers on this device, so they’re there the next time you open the page.
How it’s calculated
With the price P, the discount d in percent and an extra discount e in percent:
Sale price = P × (1 − d ÷ 100) × (1 − e ÷ 100)
For 100 at 20%, Sale price = 100 × (1 − 20 ÷ 100) = 80.00. With an extra 10%, Sale price = 100 × (1 − 20 ÷ 100) × (1 − 10 ÷ 100) = 72.00, and you save 28.00. The second factor is left out when the extra discount is 0.
A second discount is taken off the already reduced price, so 20% then 10% is 28% off, not 30%. The sale price is worked out exactly and rounded half up to whole cents once; what you save is the original price less the sale price. Total discount is rounded to 4 decimal places, and it is worked out from the two percentages, not from the rounded amounts. Tax isn’t included.
Good to know
- The price can be from 0.01 to 1,000,000,000,000, and is rounded to whole cents.
- Each discount can be from 0% to 100%, in steps of 0.01. At 100%, the sale price is 0.00.
- Two discounts of 20% and 10% make 28% in total, and the order doesn’t change the price.
- No currency is assumed: the amounts are in whatever currency you type.
Privacy
Everything is calculated in your browser, on your device. Nothing you type is uploaded. Only your numbers are kept, in this browser’s storage, so the page can show them again.