How to use the discount calculator
Enter the item's price before the discount, then the discount percentage. For 20% off, enter 20 rather than 0.20. Enter the sales tax rate that applies to your scenario, or enter 0 to compare prices before tax. The result updates when an entry changes. Calculate repeats the same calculation, and Reset restores the example.
The savings amount is the discount alone. The sale price is the amount left after that discount. Estimated tax is calculated on the sale price, and the large result adds the sale price and tax. Compare the seller's complete checkout total separately when shipping, fees or other adjustments apply.
Discount and sales tax formulas
Discount = original price × discount rate ÷ 100
Sale price = original price - rounded discount
Tax = sale price × tax rate ÷ 100
Estimated total = sale price + rounded tax
The entered price is parsed into whole cents. The discount calculation uses the entered percentage at its full allowed precision, then rounds once to cents with half cents rounded up. The sale price subtracts that rounded discount. Tax uses the rounded sale price and follows the same cent-rounding rule. The displayed money amounts therefore reconcile.
Rates from 0% to 100% are supported, with up to four decimal places. The original price permits two decimal places. A negative price, a blank field, currency symbols, commas, scientific notation, too many decimal places or an amount outside the limits produces a field error and clears the calculated results.
Worked example: 20% off $199.99
The unrounded discount is $199.99 × 20 ÷ 100 = $39.998. Rounded to cents, the savings are $40.00. Subtracting that amount leaves a $159.99 sale price. With a 6% tax rate, the unrounded tax is $9.5994, which rounds to $9.60. The estimated final cost is $159.99 + $9.60 = $169.59.
For a simpler comparison, 25% off a $100 item saves $25 and leaves $75 before tax. With no tax entered, the final cost is also $75. At the cent boundary, a 10% discount on $0.05 is half a cent; this model rounds the discount up to $0.01 and leaves a $0.04 sale price.
Check the purchase assumptions
OpenStax describes a discount as a percentage of the original price and sales tax as a percentage of the purchase price. This calculator combines those percentage models in the stated order. It does not identify your location, look up a tax rate or decide whether an item, coupon or fee is taxable. Enter a rate appropriate to the scenario and review the seller's calculation.
Use one item or one amount to which the same discount and tax assumptions apply. An order with different tax rates, exempt items or item-by-item rounding may need separate calculations. Rebates received later, cash-back rewards, coupon restrictions and delivery costs can also change the amount you ultimately pay or retain.
Successive percentage discounts require care. A second discount applies to a reduced amount, so adding the two percentages can overstate the savings. Check the offer's terms before converting multiple discounts into a single rate.
Plan the rest of the purchase
Use the budget calculator to compare the purchase with the money available after household spending and savings. A lower sale price can help, but a discount does not establish whether a purchase fits your budget.
For a bill where you want to add a gratuity and divide the total among people, use the tip calculator. That tool uses the bill amount you enter as its tipping base and explains how any leftover cents are split.
Your entries are calculated in this browser. This calculator does not save them or submit them to a calculator service. Keep your own notes if you want to compare several offers.