How to Calculate and Add Sales Tax to a Price
The basic method: multiply the price by the tax rate, then add the result
To add tax to a price, multiply the original price by the tax rate as a decimal, then add that amount to the original price. If an item costs $50 and the tax rate is 8%, you multiply $50 by 0.08 to get $4, then add $4 to $50 for a total of $54.
The formula is: Final Price = Original Price + (Original Price × Tax Rate). You can also write it as: Final Price = Original Price × (1 + Tax Rate). Both methods give the same answer.
Tax rates vary by location and product type. A 6% rate in one state may be 7% or higher in another, and some items like groceries or prescription medications are taxed at a lower rate or not taxed at all in many places. You need to know the correct rate for your location and the specific item you are buying.
Key Takeaways
- Multiply the original price by the tax rate as a decimal (8% becomes 0.08), then add the result to the original price.
- Tax rates differ by state, county, and sometimes by city, so the rate for your location may not match another state's rate.
- Some items are taxed at a reduced rate or not taxed at all, depending on what the item is and where you live.
- When you see a price tag in a store, it usually does not include tax, so the amount you pay at checkout will be higher.
- Online purchases may or may not include tax depending on the seller's location and your state's rules.
Converting a percentage to a decimal for the calculation
To use the tax rate in a calculation, you must convert the percentage to a decimal. Move the decimal point two places to the left. An 8% tax rate becomes 0.08. A 5.5% tax rate becomes 0.055. A 10% tax rate becomes 0.10.
Once you have the decimal, multiply it by the original price. If the original price is $100 and the tax rate is 6% (0.06), multiply $100 × 0.06 = $6. Then add $6 to $100 to get $106 as the final price.
Why tax rates vary by location and product
Sales tax is set by state governments, and many states allow counties or cities to add their own tax on top of the state rate. This means the total tax you pay depends on where you are buying the item. A purchase in one county might be taxed at 7%, while the same purchase in a neighboring county could be taxed at 8% or higher.
Some products are also taxed differently than others. Groceries and prescription medications are often taxed at a lower rate or not taxed at all. Clothing may be untaxed in some states but taxed in others. Restaurant meals are usually taxed at the full rate. You can find your state's tax rates and rules on your state's Department of Revenue website.
How to find the tax rate for your location
Your state's Department of Revenue website lists the state tax rate and explains which products are taxed at a lower rate or not taxed. If your county or city adds tax on top of the state rate, that information is also on the state website or on your county assessor's website.
You can also ask a cashier at a store in your area what the total tax rate is, or look at a receipt from a recent purchase. Divide the tax amount shown on the receipt by the original price (before tax) to find the rate. If a $50 item had $4 in tax, the rate is $4 ÷ $50 = 0.08, or 8%.
Calculating tax on multiple items
When you buy more than one item, add up all the original prices first, then multiply the total by the tax rate. If you buy a $20 shirt, a $15 pair of pants, and a $10 hat, your subtotal is $45. At an 8% tax rate, multiply $45 × 0.08 = $3.60 in tax. Your final total is $45 + $3.60 = $48.60.
Some stores calculate tax on each item separately and then add the tax amounts together, but the result is the same. Taxing the $20 shirt at 8% gives $1.60, the $15 pants gives $1.20, and the $10 hat gives $0.80. Adding those together: $1.60 + $1.20 + $0.80 = $3.60, which matches the total-first method.
Why store prices usually do not include tax
Price tags in stores show the price before tax because tax rates change by location. A store with locations in multiple states cannot put one price on a product when customers in different places pay different amounts of tax. Instead, stores show the pre-tax price and add the correct tax at checkout based on where the store is located.
Online retailers handle this differently. Some add tax at checkout based on your shipping address. Others do not add tax at all, depending on where the company is based and state tax laws. Always check whether tax is included in the displayed price before you buy.
Rounding and cents when calculating tax
When you multiply a price by a tax rate, the result often includes fractions of a cent. A $33.33 item at 7.5% tax is $33.33 × 0.075 = $2.49975. Stores round this to the nearest cent, so you pay $2.50 in tax. Most stores round up when the fraction is 0.5 cents or higher, and round down when it is lower.
When you calculate tax yourself on paper or with a calculator, round to the nearest cent at the end. If your calculation gives $2.49975, round to $2.50. The final price would be $33.33 + $2.50 = $35.83.
Frequently Asked Questions
How do I calculate tax if the rate is something like 5.5%?
Convert 5.5% to a decimal by moving the decimal point two places left: 0.055. Multiply the original price by 0.055, then add the result to the original price. A $100 item at 5.5% tax is $100 × 0.055 = $5.50 in tax, for a total of $105.50.
Do I need to add tax to every item I buy?
No. Some items are not taxed at all, and others are taxed at a lower rate than the standard rate. Groceries and prescription medications are often untaxed or taxed at a reduced rate. Check your state's Department of Revenue website to see which items in your state are taxed and at what rate.
What if I am buying something online from another state?
Whether you pay tax depends on the seller's location and your state's rules. Some online retailers add tax based on your shipping address. Others do not add tax if they are not based in your state. Check the website before you complete your purchase to see if tax is included in the final price.
Can the tax rate change during the year?
Yes. States and counties can change their tax rates, though this does not happen often. Changes usually take effect on a specific date announced in advance. Check your state's Department of Revenue website if you think the rate may have changed.
Why does my receipt show a different tax amount than my calculation?
Rounding differences are the most common reason. If you buy multiple items, the store may calculate tax on each item separately and round each one, which can give a slightly different total than if you add all prices first and then calculate tax once. The difference is usually just a few cents.
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.