Calculator of Alexandria

Discount and sale price calculator

Work out a sale price and how much you save, including stacked discounts like "an extra 10% off sale prices".

For "an extra 10% off sale prices". Leave at 0 if there isn't one.

Sale price
You save
Total discount

Formula

S=x (1−d1)(1−d2)S = x\,(1 - d_1)(1 - d_2)
How it's derived

The formula

S=x (1−d1)(1−d2)S = x\,(1 - d_1)(1 - d_2)

SS is the sale price, xx the original price, and d1d_1, d2d_2 the discounts as decimals (25% is 0.25).

Where it comes from

Taking 25% off leaves 75% of the price, so a single discount multiplies the price by 1−d11 - d_1. A second discount like “an extra 10% off” applies to the already reduced price, not the original. So it multiplies again by 1−d21 - d_2.

That means stacked discounts don’t add. The total discount is

1−(1−d1)(1−d2)=d1+d2−d1d21 - (1 - d_1)(1 - d_2) = d_1 + d_2 - d_1 d_2

which is always a bit less than d1+d2d_1 + d_2. The d1d2d_1 d_2 term is the second discount’s share of money already taken off.

Worked example

An $80 item, 25% off, then an extra 10%:

S=80×0.75×0.90=54.00S = 80 \times 0.75 \times 0.90 = 54.00

You save $26, a total discount of 32.5%, not the 35% the signs suggest.

Watch out for

  • Order doesn’t matter. 25% then 10% gives the same price as 10% then 25%, because multiplication doesn’t care about order.
  • Dollar-off coupons do. “$10 off, then 20% off” gives a different price from “20% off, then $10 off”. Check which one the store applies first.

Last checked