# How do you calculate sales tax?

Verified: 2026-11-20
Canonical: https://answerkb.com/how-to/money/how-do-you-calculate-sales-tax/

To calculate sales tax, convert the tax rate to a decimal and multiply it by the pre-tax price; the total is the pre-tax price plus the tax.

## Explanation

Sales tax is a percent of the taxable price. Divide the rate by 100, then multiply by the pre-tax price. Example: a 7% sales tax on a $40 item is 0.07 × 40 = $2.80, so the total is $40 + $2.80 = $42.80. You can also compute the total in one step as price × (1 + rate): 40 × 1.07 = $42.80. Sales-tax rates vary by state and locality in the United States, and some items are exempt, so use the rate that applies to that purchase. To recover the pre-tax price from a tax-inclusive total, divide the total by (1 + rate): $42.80 ÷ 1.07 = $40.

## Steps

1. **Convert the tax rate to a decimal.** Divide the percent by 100. 7% becomes 0.07.
2. **Multiply by the pre-tax price.** 0.07 × $40 = $2.80 of tax.
3. **Add the tax, or multiply the price by 1 plus the rate.** The total is $40 + $2.80 = $42.80, which is the same as $40 × 1.07.

## Common queries

- How do I calculate sales tax?
- How to calculate sales tax?
- How can I calculate sales tax?
- How can you calculate sales tax?
- What's the way to calculate sales tax?
- What is the process to calculate sales tax?

## Related

### Easier
- [How do you convert a percent to a decimal?](https://answerkb.com/how-to/money/how-do-you-convert-a-percent-to-a-decimal/)
- [How do you find a percentage of a number?](https://answerkb.com/education/7/math/how-do-you-find-a-percentage-of-a-number/)

### Harder
- [How do you calculate a discount?](https://answerkb.com/how-to/money/how-do-you-calculate-a-discount/)

### Siblings
- [How do you calculate a tip?](https://answerkb.com/how-to/money/how-do-you-calculate-a-tip/)
- [How do you calculate a discount?](https://answerkb.com/how-to/money/how-do-you-calculate-a-discount/)
