Sale discount

Apply a percentage discount once, then multiply the reduced price by the number of items. The sample uses a $80 item with a 25% discount.

Sample result: The sample saves $20 per item, reduces the price to $60, and totals $180 for 3 items, before shipping or tax.

Click any calculation line below to edit it. Results update beside each expression.

Open discount calculation

How it works

  1. Change originalPrice and discount to match the offer.
  2. Set quantity to the number of items in the basket.
  3. Use orderTotal as the discounted subtotal before shipping or tax.

Keep taxes and delivery as separate named lines when you need the full checkout total.

Next: find a break-even point