How to Calculate Discounts, Tax, and Final Price
Follow the correct order when estimating a purchase total.
Discounts and taxes are both percentages, but applying them to the wrong base changes the final amount. Rules for tax, shipping, and fees vary by location and transaction.
Calculate the discount first
Multiply the listed price by the discount rate expressed as a decimal, then subtract it. A price of 80 with a 15% discount is reduced by 12 to 68.
Confirm the taxable amount
Some rules apply tax after discounts; other cases have special treatment for fees or products. Check the relevant local rule instead of assuming every transaction works the same way.
Show the breakdown
Record original price, discount, taxable subtotal, tax rate, and final amount. Rounding rules can affect cents, so use official guidance for invoices or tax filings.
Before relying on the result, test a small example, keep an original copy when a file or value is transformed, and check the output in the application where you plan to use it. Browse the tools directory for a utility that matches your task, and use the other practical guides for related checks.
Editorial note: This guide provides general educational information. Follow the requirements of the software, service, or organization involved when a task has specific rules.