A practical guide

How to Calculate a Discount, Sale Price, and Optional Tax

Calculate percentage savings and sale price, understand stacked discounts, and compare offers using a checked example.

Use the calculator

To calculate a percentage discount, multiply the original price by 1 − discount percentage ÷ 100. That gives the sale price before tax. Subtract it from the original price to find savings. If tax applies to the discounted price, multiply the sale price by 1 + tax percentage ÷ 100.

The discount calculator shows all three amounts: pre-tax sale price, pre-tax savings, and total after the tax rate you enter. It assumes one percentage discount and tax applied afterward. It does not determine the correct tax treatment for a purchase.

Enter the percentage in the right format

Enter 20 for a 20% discount, not 0.20. The calculator performs the division by 100 itself. A percentage is a share of the starting amount: 20% of a $100 price means $20 removed and $80 remaining.

Use the price of the item or group of items that actually qualifies for the discount. If a promotion excludes one product in your cart, including it in the discounted original price will overstate savings. Check the offer's conditions separately.

This version formats monetary results as US dollars. It does not perform currency conversion, calculate shipping, or account for a fixed-value coupon unless you include those adjustments in a separate calculation.

The three calculations

Let P be original price, d the discount percentage, and t the tax percentage. Then sale price = P × (1 − d/100), savings = P − sale price, and total after tax = sale price × (1 + t/100).

OpenStax's discount explanation supports calculating savings as a percentage of original price and subtracting that amount. Our optional tax step is shown explicitly so you can distinguish the advertised sale price from the estimated checkout total.

At zero discount, sale price equals original price. At a 100% discount, the modeled sale price is zero. A discount above 100% is rejected by this tool because it would create a negative item price under this model.

Worked example: 25% off with entered tax

Suppose an item costs $160, the discount is 25%, and you enter a hypothetical 6% tax rate. This example demonstrates arithmetic; it is not a statement about which tax rate applies.

  1. Discount amount: $160 × 0.25 = $40.
  2. Sale price: $160 − $40 = $120.
  3. Entered tax calculation: $120 × 0.06 = $7.20.
  4. Total after tax: $120 + $7.20 = $127.20.

The calculator's savings field shows $40 before tax. Do not compare the original pre-tax $160 directly with the after-tax $127.20 and call the difference the discount; those figures use different bases.

Two discounts are usually not added together

If a retailer applies a second percentage reduction to an already reduced price, calculate the reductions in sequence. For example, 20% off $100 leaves $80, then an additional 10% off $80 removes $8. The final price is $72 before tax, an overall 28% reduction from $100.

For successive percentage discounts d1 and d2, the remaining price is P × (1 − d1/100) × (1 − d2/100). The combined percentage is 100 × [1 − (1 − d1/100)(1 − d2/100)]. The current tool accepts one discount percentage, so use the combined percentage or calculate each stage separately without adding tax twice.

A fixed-dollar coupon introduces another order question. Removing $10 before a 20% discount is different from removing it afterward. Neither sequence should be assumed when the promotion's terms do not explain the order.

Compare offers on the same basis

For each offer, compare the same quantity of product and the full amount you expect to pay. A larger discount percentage on a higher starting price can still produce a more expensive purchase. A $150 item at 30% off costs $105, while a $120 item at 20% off costs $96, before tax or other charges.

Keep unrounded values through the calculation. Checkout systems may round tax and discounts per item or across the order, so a cent-level difference can occur. Use the seller's final checkout amount for payment rather than treating an estimate as a guaranteed invoice.

Frequently asked questions

How do I find the discount percentage from two prices?

Divide original price minus sale price by original price, then multiply by 100. For $80 reduced to $60, the result is 25%. The original price must be greater than zero.

Does the tax field find my local tax automatically?

No. It applies the percentage you enter to the discounted price. Verify the applicable rate and treatment for your purchase separately.

Does “buy one, get one free” mean every item is 50% off?

Two identical eligible items at the same price produce an effective 50% reduction on that pair. Different prices, exclusions, or buying only one item can change the result.

Sources and further reading