Discount Calculator

Work out a sale price and how much you'll save from an original price and discount percentage, or reverse-engineer the original price from a sale price, instantly, in your browser.

runs locally on your browser. Your data never leaves your device.

Mode

Final Price

$56.00

You save $24.00 off $80.00

$24.00Amount Saved
$56.00Final Price

Common Use Cases

Check exactly what you'll pay and save before buying something advertised as a percentage off
Reverse-engineer an item's original price from a sale tag to see if a deal is really as good as it looks
Compare two competing sale prices with different discount percentages to see which is the better deal
Double-check a store's advertised savings or a coupon's discount before checking out

About Discount Calculator

Figuring out what a sale actually costs, or how big a discount really is, takes a bit of mental math that's easy to get backwards when you're standing in a checkout line or comparing deals online. This calculator handles both directions of that problem: enter an original price and a discount percentage to see the final price and exactly how much you're saving, or flip it around and enter a sale price and discount percentage to work out what the item cost before the markdown.

Forward mode answers "what will I actually pay?" It takes the original price and discount percentage and computes the amount saved as (original price × discount %) ÷ 100, then subtracts that from the original price to get the final price. This is the calculation behind reading a "30% off $80" tag and knowing on the spot that you'd pay $56 and save $24.

Reverse mode answers a less obvious but equally common question: "this item is on sale for $56 at 30% off: what did it cost originally?" You can't just divide the sale price by the discount percentage the way forward mode might suggest; the correct formula is original price = sale price ÷ (1 − discount % ÷ 100). This comes up when comparing a discounted price against a full-price competitor, or checking whether an advertised "original price" on a sale tag is actually accurate.

Both modes update their results live as you type, with no "Calculate" button to press, and a 100% discount in reverse mode (which would require dividing by zero) is flagged with a clear inline message instead of showing "Infinity" or a broken result. Every calculation runs as plain JavaScript directly in your browser, so nothing you type is ever sent to a server, logged, or stored anywhere.

Frequently Asked Questions

How is the final sale price calculated?
The amount saved is the original price multiplied by the discount percentage, divided by 100: (original price × discount %) ÷ 100. Subtracting that from the original price gives the final price. For example, 30% off $80 saves $24, for a final price of $56.
How do I work out the original price from a sale price?
Divide the sale price by (1 minus the discount percentage as a decimal): original price = sale price ÷ (1 − discount % ÷ 100). For example, a $56 sale price at 30% off means the original price was 56 ÷ (1 − 0.30) = 56 ÷ 0.70 = $80. This is not the same as just adding the discount percentage back onto the sale price.
Why does reverse mode show an error for a 100% discount?
At 100% off, the reverse-mode formula divides by (1 − 1) = 0, which is undefined: a free item's sale price can't be used to reconstruct an original price this way. The tool shows an inline message asking for a discount below 100% instead of displaying "Infinity" or a nonsensical number.
Can I use this for a discount over 100%, or a negative discount?
Discount percentages are capped between 0% and 100% in both modes, since a real discount can't remove more than the full price of an item (or add to it). If you need to calculate a price increase or markup instead, the Percentage Calculator's "X% of Y" mode can help with that math directly.
Is my price data sent to a server?
No. Every calculation happens with plain JavaScript directly in your browser. Nothing you type is ever uploaded, logged, or stored anywhere.