Sales Tax Calculator
This Sales Tax Calculator estimates the U.S.-style retail tax added to a purchase at checkout. Enter the price before tax and the combined sales tax rate for the place where the sale is sourced, and the result includes the tax amount, subtotal, rate, and total with tax. It is designed for receipt math, shopping comparisons, quotes, invoices, and household budgets where the tax is a single percentage added to a pre-tax selling price.
Sales tax is different from VAT and GST. In many U.S. states, a retailer collects sales tax from the final customer at the point of sale and sends it to the tax authority. VAT and GST systems usually apply throughout the supply chain and businesses may claim credits for tax paid on inputs. That difference matters: this page is for a point-of-sale percentage on a taxable retail price, not a multi-stage value-added tax return.
What the inputs mean
Price before tax is the taxable selling price before checkout tax is added. If a valid store discount changes the taxable selling price, use the discounted amount. Sales tax rate is the combined rate shown as a percent, such as 8.25 for 8.25%. The combined rate may include state, county, city, transit, tourism, and other district taxes. A state rate by itself can understate the actual bill in cities or counties with local add-ons.
The calculator does not look up your rate and does not decide whether an item is taxable. Clothing, groceries, medicines, digital goods, services, shipping, prepared food, and holiday exemptions can be treated differently by jurisdiction. For a legal or filing decision, use the tax agency for the state or locality where the transaction is sourced.
Formula used by the calculator
The calculator’s calculate() function converts the percent rate to a decimal,
multiplies by the pre-tax price, and adds that tax to the subtotal:
If you need to reverse a tax-included total by hand, use division rather than subtraction:
The on-page form uses only the first two formulas. Its displayed values are rounded as currency, so a receipt may differ by a cent when a retailer rounds line items separately or applies tax by item category.
Checking the primary result
Suppose an order has a $125.00 taxable subtotal and the combined local rate is 8.25%. The calculator turns 8.25 into 0.0825, then multiplies:
Rounded to currency, the tax is $10.31. The final checkout total is:
Rounded to currency, the calculator reports $135.31 as the total with tax, shows
$10.31 for tax, 8.25% for the rate, and $125.00 for the subtotal.
That matches the calculate() logic exactly: no exemptions, bracket rules,
reverse calculation, or discount lookup is added behind the scenes.
How sales tax fits into the tax system
Sales tax is a consumption tax. Instead of taxing income when it is earned, it taxes certain purchases when they are made. U.S. sales tax rules are mostly state and local, which is why two stores in different cities can apply different rates to the same product. Some states have no statewide sales tax, some local governments add their own tax, and some products are exempt or taxed at special rates.
For consumers, sales tax affects the cash needed at checkout and the true cost of a purchase. For sellers, it can create registration, collection, reporting, and remittance duties. A business may need to collect tax in a state because it has physical presence, economic nexus, marketplace obligations, or other connections. This calculator intentionally avoids those compliance questions and focuses on arithmetic after you already know the taxable price and rate.
Sales tax also differs from use tax. A buyer may owe use tax when taxable goods are purchased without sales tax, such as some out-of-state purchases. State rules vary, and this page does not estimate use tax due on a return. It simply helps you understand the point-of-sale percentage added to a known taxable subtotal.
Practical tips for better estimates
- Use the delivery destination rate for shipped goods when the seller sources tax to the destination.
- Use the taxable selling price after discounts only when the local rule treats the discount as reducing the tax base.
- Check whether shipping, handling, installation, or service charges are taxable in the state involved.
- For a large purchase, verify the rate with the state or local tax agency rather than relying on an old receipt or search result.
- Compare pre-tax deals with the percent off calculator, evaluate package pricing with the price per unit calculator, and plan the final spending impact with the budget calculator.
Accuracy and tax-advice note
This calculator is for informational planning only and is not tax, legal, or accounting advice. Rates, exemptions, holidays, local boundaries, sourcing rules, and product definitions can change. Consumers should check current official rates before relying on an estimate for a major purchase. Businesses should consult state guidance, a sales tax system, or a qualified tax professional before making collection or filing decisions.
Sources
- USA.gov, State taxes — overview and links to state tax agencies.
- California Department of Tax and Fee Administration, Sales and use tax programs — official explanation of state sales and use tax administration.
- Washington Department of Revenue, Sales and use tax rates — example of official state rate guidance and local rate lookup.