Sales tax rates vary significantly depending on the location of the purchase: ranging from 0% in some states to over 10% when local taxes (municipal and county) are added to the state tax. This sales tax calculator supports both calculation methods: you can add tax to a price to get the total amount, or perform a reverse calculation based on the total amount shown on a receipt to find the initial pre-tax price. Enter your local tax rate below and switch modes as needed.
How this sales tax calculator works
This tool covers two common scenarios, each requiring a slightly different formula:
- Adding tax to a price: Tax amount = Price × (Tax rate ÷ 100); Total amount = Price + Tax amount
- Calculating tax from a total amount: Pre-tax price = Total amount ÷ (1 + Tax rate ÷ 100); Tax amount = Total amount − Pre-tax price
The second formula often causes confusion, as dividing by (1 + tax rate) is less intuitive than simply subtracting a percentage. However, subtracting the percentage directly from the total amount yields a slightly incorrect result, because the tax was originally calculated based on the pre-tax amount (which is lower) rather than the total amount.
Example of using the sales tax calculator: adding the tax
Here is a complete calculation example for a $100 purchase with a combined tax rate of 8.25% (a rate combining state and local taxes, common in some areas of Texas):
- Tax amount: $100 × 0.0825 = $8.25
- Total amount: $100 + $8.25 = $108.25
Example of using the sales tax calculator: deducting the tax
Now consider the reverse scenario: suppose a receipt shows a total amount of $108.25 and you want to know the pre-tax price (maintaining the 8.25% rate):
- Pre-tax price: $108.25 ÷ 1.0825 = $100.00
- Tax amount: $108.25 − $100.00 = $8.25
This confirms that the two calculations are exact inverses of each other; this is useful for verifying a receipt, determining the pre-tax price for budget planning, or understanding how a business calculated the tax.
Calculating Sales Tax by State
In the United States, sales tax is set at the state level. Since most states also allow counties and cities to apply a local surcharge, the total price of a $100 purchase can vary from one city to another. As of this writing:
- Five states do not levy a state-level sales tax: Alaska, Delaware, Montana, New Hampshire, and Oregon (although Alaska allows local sales taxes in certain areas).
- California has the highest state-level rate at 7.25%, excluding any potential local surcharges.
- The combined rate (state tax plus local tax) can exceed 10% in some cities, particularly in certain parts of Louisiana, Tennessee, and Alabama.
Because rates are set locally rather than uniformly nationwide, there is no single rate that applies to the entire country. To get an accurate result, always use the combined rate in effect in your area rather than your state’s base rate. The USA.gov website provides a directory of tax authorities for all states to help you determine your exact local rate.
Sales Tax vs. Other Types of Taxes
Sales tax applies to the purchase of most goods and some services. It differs from income tax (which is deducted directly from wages) and property tax (calculated annually based on the property’s value). Depending on the state, certain goods are exempt from this tax; for example, food products, prescription medications, and clothing are often exempt or subject to a reduced rate. Consequently, the actual rate applied can vary—even within the same city—depending on the item purchased. If you wish to perform percentage calculations other than sales tax, our percentage calculator is suitable for all common calculations—whether for discounts, increases, or percentage changes—just as this tool is specifically designed for tax calculations.
How is sales tax calculated?
Multiply the price by the tax rate expressed as a decimal (rate ÷ 100) and add that amount to the initial price to get the total. This sales tax calculator performs the calculation instantly.
How do I determine the pre-tax price from the total amount?
Divide the total by 1 plus the tax rate expressed as a decimal (for example, divide by 1.0825 for an 8.25% rate). This method allows you to mathematically “back out” the tax, rather than simply deducting the percentage.
Why can’t I just subtract the tax percentage from the total amount to get the pre-tax price?
Because the tax was calculated based on the pre-tax amount (which is lower) rather than the total; subtracting the percentage directly from the total reduces the figure too much, resulting in a value lower than the actual pre-tax price.
Which U.S. states do not charge sales tax?
Alaska, Delaware, Montana, New Hampshire, and Oregon do not charge state-level sales tax, although Alaska allows for local taxes in certain areas.
Is the sales tax the same in every city within a state?
No. Most states allow counties and cities to add their own local tax to the state rate; consequently, the overall rate can vary significantly, even within the same state.