Seo tools

Sales Tax Calculator: Add or Extract Tax From Any Price

S

SEO Stack Tools Editorial Team

07/13/2026 9:00 AM

3 min read
0 views

Sales tax seems simple until you're handed a receipt where the tax rate isn't obvious, or you're pricing a product and need to know what the pre-tax price should be to hit a specific final total. This guide covers both directions of the calculation — adding tax to a price, and extracting tax from a total that already includes it — plus why rates vary so much by location.

Adding Sales Tax to a Price

Tax Amount = Price × (Tax Rate ÷ 100)
Total Price = Price + Tax Amount

Example: a $150 purchase with 8% sales tax — Tax Amount = $150 × 0.08 = $12. Total Price = $150 + $12 = $162.

Extracting Tax From a Tax-Inclusive Total

This is the calculation most people get wrong — you cannot just multiply the total by the tax rate to find the tax portion, because the total already includes tax. Instead:

Pre-Tax Price = Total Price ÷ (1 + Tax Rate ÷ 100)
Tax Amount = Total Price − Pre-Tax Price

Example: a receipt shows $108 total, tax rate is 8%. Pre-Tax Price = $108 ÷ 1.08 = $100. Tax Amount = $108 − $100 = $8 (not $108 × 0.08 = $8.64, which is the common mistake).

Why Sales Tax Rates Vary So Much

Unlike VAT systems used in many other countries, U.S. sales tax is set at the state level, and often stacked with county and city taxes on top — meaning the effective rate can vary block by block. Some states charge no sales tax at all (Alaska, Delaware, Montana, New Hampshire, Oregon), while combined state + local rates in others exceed 9-10%. Certain categories — groceries, prescription medication, clothing in some states — are frequently exempt or taxed at a reduced rate. Always check your specific state and local rate rather than assuming a national average.

Scenario Typical Rate Range
No state sales tax 0%
Low-tax states ~4-6%
High combined state + local ~9-10%+

How to Use the Sales Tax Calculator

  1. Open the Sales Tax Calculator
  2. Enter the price and your local tax rate to add tax, or enter the tax-inclusive total to extract the tax amount
  3. View the tax amount and final total instantly

Frequently Asked Questions

How do I find my local sales tax rate?

Check your state's department of revenue website, or look at a recent receipt from a local purchase — most receipts itemize the tax rate applied. Combined state + county + city rates can differ even between neighboring zip codes.

Is sales tax calculated before or after a discount?

In almost all jurisdictions, sales tax is calculated on the discounted price, not the original price. Apply any discount first with a Discount Calculator, then calculate tax on the result.

Why did my receipt's tax amount not match a simple percentage calculation?

This usually happens when the total shown already includes tax and you multiply it by the rate directly, which overstates the tax portion. Use the tax-extraction formula (dividing by 1 + rate) instead of multiplying the tax-inclusive total.

Related Guides

100+ Free SEO Tools — No Signup Needed

Keyword research, backlink checker, plagiarism detector, meta tags & more. All free, all instant.

Explore All Tools