Sales Tax Calculator
Add sales tax to a price, or extract it from a total.
All calculations happen locally in your browser — nothing is uploaded, stored or tracked.
Enter the amount
Pre-tax price or tax-inclusive total.
Set the tax rate
Your local rate, e.g. 8.25%.
Read the breakdown
Tax amount and final or pre-tax total.
What Is a Sales Tax Calculator?
Sales tax (or VAT/GST outside the US) is added to the price of goods and services. This calculator works in both directions: adding tax to a pre-tax price, and extracting the tax from a tax-inclusive total — useful when you need the pre-tax amount for accounting.
You enter the tax rate yourself — rates vary by country, state and even product category, and this static site does not pretend to know your local rate.
The Formulas
The "tax included" mode is the reverse calculation: dividing by (1 + rate) recovers the pre-tax amount, and the difference is the tax.
Your data never leaves your device.
Every calculation on this site runs in your browser using vanilla JavaScript. Nothing is uploaded, stored or tracked.
- 100% local, client-side calculations
- No data stored on any server
- No tracking, no analytics, no ads scripts
- Works offline once loaded
Frequently Asked Questions
How do I calculate sales tax?
Multiply the pre-tax price by the rate: $100 at 8% adds $8, totalling $108.
How do I remove tax from a total?
Divide the total by (1 + rate/100). A $108 total at 8% gives a $100 pre-tax price.
What sales tax rate should I use?
Your local jurisdiction's rate — it varies by country, state and sometimes city. Enter it in the rate field.
What is the difference between sales tax and VAT?
Sales tax is added at the point of sale (US model); VAT is collected at each production stage (many other countries). For a consumer, the effect on the final price is the same.
Is tax charged on discounted prices?
Usually yes — tax applies to the discounted price you actually pay.