Skip to main content

HomeAll guides

How to Calculate and Add Tax to a Price

The basic method: multiply the price by the tax rate, then add the result

To add tax to a price, you multiply the original price by the tax rate as a decimal, then add that amount to the original price. If an item costs $100 and the tax rate is 8%, you multiply $100 by 0.08 to get $8, then add $8 to $100 to reach $108 total.

The formula is: Final Price = Original Price + (Original Price × Tax Rate). You can also use a shortcut: multiply the original price by 1 plus the tax rate. For the same example, $100 × 1.08 = $108. Both methods give the same answer.

Tax rates vary by location and type of purchase. Sales tax in the United States ranges from 0% (in states like Oregon and Montana) to over 10% in some cities and counties. Some items like groceries or prescription medications may be taxed at a lower rate or not taxed at all, depending on where you live.

Key Takeaways

  • Multiply the original price by the tax rate as a decimal, then add that result to the original price to find the final amount you pay.
  • A shortcut is to multiply the original price by 1 plus the tax rate (for example, 1.08 for an 8% tax).
  • Tax rates differ by state, county, and city, and some products are taxed at different rates than others.
  • When you see a price in a store, it usually does not include tax, so you need to add it yourself to know the true cost at checkout.

Why store prices don't include tax

Prices displayed on store shelves and online typically show the pre-tax amount because tax rates change based on where the sale happens. A store that operates in multiple states or cities cannot show one price tag that works everywhere. The tax you pay depends on the address where you buy the item, not where the store is located.

When you buy something online from a retailer in another state, the tax you owe may differ from what someone in your state pays for the same item. Some online retailers now collect tax in all states, but others only collect it in states where they have a physical location. This is why the final price at checkout can surprise you if you only looked at the listed price.

Working backward: finding the original price when you know the total

Sometimes you know the final price (including tax) but need to find the original price. This happens when you want to compare prices across different tax rates or understand what you actually paid for the item itself. The formula reverses: Original Price = Final Price ÷ (1 + Tax Rate).

If you paid $108 total and the tax rate is 8%, divide $108 by 1.08 to get $100. This tells you the item itself cost $100 and tax added $8. This calculation is useful when you're reviewing a receipt and want to see how much of your payment went to tax versus the actual product.

Tax on tax: compound rates in some locations

In a few places, tax is calculated on top of tax. This is rare in the United States but happens in some Canadian provinces and other countries. For example, if a location has a 5% provincial tax and a 5% federal tax, and both explore to the item price, you would first add the provincial tax, then add the federal tax to that new amount.

To calculate this, multiply the original price by 1.05 to add provincial tax, then multiply that result by 1.05 again to add federal tax. The formula becomes: Final Price = Original Price × 1.05 × 1.05, which equals Original Price × 1.1025. This means the total tax rate is 10.25%, not 10%. Always check your local tax rules to know whether taxes stack this way where you live.

Using a calculator or spreadsheet for multiple items

When you're adding tax to many items at once, a calculator or spreadsheet saves time and reduces errors. In a spreadsheet like Excel or Google Sheets, you can create a column for original prices, a column for the tax rate, and a formula that multiplies each price by (1 + tax rate) automatically.

For example, in cell C2, you would write =A2*(1+B2) where A2 is the original price and B2 is the tax rate as a decimal. Then copy that formula down for every row. This method works well for business expenses, budgeting, or comparing prices across different tax jurisdictions. You can also add a column that shows just the tax amount (Original Price × Tax Rate) so you can see how much tax you're paying on each item.

Tax on services and digital goods

Tax rules for services and digital products differ from physical items. Some services like haircuts or car repairs are taxed in most states, while others like professional information may not be. Digital goods like software, apps, and e-books are increasingly taxed, but the rules vary by state and are still changing.

When you buy a service or digital item, the seller should tell you whether tax applies before you complete the purchase. If you're unsure, check your receipt or the seller's tax policy. Some states tax digital goods at the full sales tax rate, others at a reduced rate, and some do not tax them at all.

Frequently Asked Questions

How do I know what tax rate to use?

Your tax rate depends on where you are when you make the purchase. Check your state's tax website or ask the seller. For online purchases, the tax rate is usually based on your shipping address. If you're buying in a store, it's the rate for that store's location.

Do I need to add tax to prices I see online?

Not always. Many online retailers show the final price including tax at checkout. However, some show the pre-tax price and add tax later. Always check whether tax is included before you assume the displayed price is what you'll pay.

What if the tax calculation gives me a fraction of a cent?

Stores round to the nearest cent. If your calculation gives $10.125, the final price is $10.13. Different states have different rounding rules, but most round up when the fraction is 0.5 cents or more and round down otherwise.

Can I deduct sales tax on my personal income tax return?

In most cases, no. Sales tax is not deductible on your federal income tax return. However, some states allow you to deduct state sales tax instead of state income tax if you choose. Check your state's tax rules or speak with a tax professional about your specific situation.

Why does my receipt show a different tax amount than my calculation?

Rounding differences, tax-exempt items, or a different tax rate than you expected could explain the difference. Some items in your purchase may be taxed at a lower rate or not taxed at all. Review your receipt to see which items were taxed and at what rate.

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.