Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

Discount Calculator with Stacked Discounts

Sale price, savings and the true total of stacked discounts.

Use via API

Apply one or more percentage discounts in order (each to the already reduced price): final price, total saving and the equivalent single discount. Send JSON, get JSON back.

POST https://pithlab.com/api/v1/tools/discount-calculator

curl https://pithlab.com/api/v1/tools/discount-calculator \
  -H "Authorization: Bearer $PITHLAB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"price":80,"discounts":"25, 10"}'

Fields and responseOpenAPI documentGet an API key

About the Discount Calculator

Find the sale price and how much you save after a percentage discount, including stacked discounts like 25% off then an extra 10% off.

How to use the Discount Calculator

  1. Enter the original price.
  2. Enter the discount. Add a second or third discount if they are applied one after another.
  3. See the final price, your savings and the single equivalent discount.

Examples

30% off 59.99

Input

59.99, 30%

Output

59.99 with 30% off = 41.99 (you save 18.00)
25% off, then an extra 10% off 80

Input

80, 25%, 10%

Output

80.00 with 25% then 10% off = 54.00 (you save 26.00, 32.5% in total)

Frequently asked questions

Is 25% off plus 10% off the same as 35% off?

No. The second discount applies to the already reduced price. 80 less 25% is 60, and 60 less 10% is 54, a total saving of 32.5%, not 35%.

Does the order of stacked discounts matter?

Not for percentage discounts: 10% then 25% gives the same final price as 25% then 10%. Order does matter when one of the discounts is a fixed amount off.

How do I work out a discount by hand?

Multiply the price by 1 minus the discount. For 30% off 59.99: 59.99 × 0.70 = 41.99.