# Discount Calculator

Work out a final price, a discount percent, or the original price from a discount and a final price.

- Category: Math (math)
- URL: https://ilham.dev/tools/discount-calculator/
- Documentation: https://ilham.dev/tools/discount-calculator/index.md
- Keywords: discount, sale, percent, price, original, reverse, diskon, potongan, harga, calculator

## Example questions

- How do I find the discount I was given?
- Why does it need a price and a final price for the reverse?
- Can the discount be over 100%?
- How does the stacked mode work?

## Properties

- Runs in the browser
- No login required
- No data uploaded


## About

Four everyday discount questions in one place: the final price after a discount, the discount percent between two prices, the original price when you only know what you paid, and several discounts stacking one after another. Switch the mode and the fields relabel themselves, then the result shows the price, the discount and the amount saved.


## Questions

### How do I find the discount I was given?

Pick the second mode, enter the full price and the price you actually paid, and the page divides the difference by the full price. That is the percentage off, not the percentage of the original that you paid.

### Why does it need a price and a final price for the reverse?

A percentage on its own is not enough. Two prices give the ratio between them, which is all the discount percent is; with only one price there is nothing to compare against.

### Can the discount be over 100%?

The final price can fall to zero but not below it, so a discount of 100% or more has no original price. The page says so rather than returning a negative result.

### How does the stacked mode work?

Enter one discount per line and the page applies them in order, each on the price the previous one left behind. Two 20% discounts are 36% off together, because the second 20% comes off the reduced price, not the original.

