Discount Calculator
Apply discounts and tax to find savings and the final checkout price.
Apply discounts and tax to find savings and the final checkout price. Enter your numbers and get an instant result.
Enter an original price, a discount percentage and a sales-tax percentage, and this page reports the money saved, the tax charged and the final price to pay.
The order matters and the page fixes it: the discount comes off the original price first, and tax is charged on the reduced subtotal. An eight percent tax on a hundred-dollar item at twenty percent off is 6.40, not 8.00.
All three figures are to two decimal places and recalculate as you type. There is no stacking of two discounts, no coupon field and no currency conversion.
The arithmetic in order
Savings are the original price times the discount percentage divided by 100. The discounted subtotal is the original minus those savings; it is calculated but not shown as its own tile.
Tax is the discounted subtotal times the tax percentage divided by 100. The final price is the subtotal plus the tax, which is the number most people are looking for.
A tax percentage of zero is allowed and simply leaves the final price equal to the subtotal. A negative price, discount or tax blanks the result instead of reporting an error.
- Savings: price * discount / 100
- Subtotal: price - savings
- Tax: subtotal * tax / 100
- Final: subtotal + tax
The mistakes this order prevents
Charging tax before the discount overstates the total. The page's order is the one shops use, which is why the tax tile is smaller than the naive calculation.
Two successive discounts are not one added discount. Twenty percent off and then ten percent off leaves 72 percent of the price, not 70, because the second applies to the already-reduced figure. Run the second discount as a new calculation on the final price.
How to use the price fields
Enter the Original Price, the Discount percentage and the Sales Tax percentage. The page fixes the order: discount off the original first, tax on the reduced subtotal.
Read Savings, Tax Amount and Final Price to two decimals as you type. There is no second discount, no coupon field and no currency conversion.
What to Expect
Best for
- Working out what a sale price plus tax actually costs
- Checking a discount against the original ticket price
- Separating the tax element of a discounted purchase
Not ideal for
- Two or more stacked discounts, which need two runs
- VAT-inclusive pricing where the tax is already inside the figure
- A basket of items at different rates
What this tool keeps
- Tax applied after the discount, which is the correct order
- Two decimal places on the savings, the tax and the final price
- A zero tax rate, which is accepted rather than treated as missing
What may need cleanup
- A price that already includes tax, where the tax figure here would double-count it
- A second discount, which must be applied to the final price in a new run
- The currency symbol, which is a dollar sign regardless of locale
Common errors
- Adding two discounts together instead of applying them in sequence
- Entering a VAT-inclusive price and then adding the tax again
- Reading the savings as including the tax, when the tax is added afterwards
Example use cases
- A hundred-dollar item at twenty percent off with eight percent tax
- Checking a shop's stated final price
- Splitting the tax element out of a discounted invoice
Sample input
An original price of 100, a 20 percent discount and 8 percent tax.
Sample output
20.00 saved, 6.40 of tax and a final price of 86.40.
Who this is for
- Shoppers checking a sale price
- Small businesses quoting a discounted total
- Anyone separating tax from a discounted figure
Frequently asked questions
In what order are the discount and tax applied?
The discount comes first and tax is charged on the discounted price, which is the correct order for a sale.
Can I stack two discounts in one run?
No. A second discount must be applied to the final price in a new run.
Why is the tax figure wrong for a VAT-inclusive price?
If the price already includes tax, this calculation would double-count it; enter a zero tax rate or remove the tax first.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.