Sales tax and VAT: how to add tax to a price and back it out
Adding tax to a price, or backing it out of a total, looks simple but depends on how the tax is defined. Most sales taxes and VAT/GST are added on top of the pre-tax amount. A few taxes are defined inclusive, as a percentage of the final price that already contains them.
Tax added on top (sales tax, most VAT)
Price = pre-tax amount × (1 + rate) and pre-tax amount = price ÷ (1 + rate). With an 8% combined sales tax, $100 becomes $108. To back the tax out of $108, divide by 1.08; multiplying by 0.92 gives $99.36 and takes out too much tax.
Inclusive tax
Price = pre-tax amount ÷ (1 − rate) and pre-tax amount = price × (1 − rate). An 18% inclusive tax is the same burden as 21.95% added on top.
| Pre-tax amount $100 | Price | Tax |
|---|---|---|
| 6% state + 2% local sales tax | $108.00 | $8.00 (7.41% of the price) |
| 20% VAT | $120.00 | $20.00 (16.67% of the price) |
| 18% inclusive tax | $121.95 | $21.95 (18% of the price) |
Stacked taxes
In the U.S., state, county and city sales taxes add up to one combined rate applied to the same base. This calculator accepts up to three taxes and lets you set each one as on top or inclusive.
Be careful
Rates depend on where the buyer is, the product and exemptions, and they change. This page has no official rate tables: check your state or local tax agency, or ask an accountant.