Add tax to a price or extract the tax hidden inside a total, with the pre-tax price and full total shown step by step.
Sales Tax Calculator
Add sales tax to a price — or pull the tax back out of a tax-inclusive total — with the pre-tax price and total shown.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Sales Tax Result
Calculated locally in your browser
—
Name
—
Calculation mode
—
Amount
—
Sales tax rate
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
Sales tax is the pre-tax price multiplied by the combined state and local rate: $100 at 8.25% adds $8.25 tax for a $108.25 total. To find the tax inside a tax-inclusive total, divide the total by one plus the rate first; $108 at 8% contains exactly $8 of tax on a $100 price.
- Tax = pre-tax price x combined rate
- Extract tax from a total: pre-tax = total / (1 + rate)
- Texas combined maximum is 8.25%; New Jersey is 6.625%
Example combined sales tax rates (state + typical local, editable in the tool)
Reference values for this calculator.
| Place | Combined rate | Tax on $100 |
|---|---|---|
| Texas (state 6.25% + local up to 2%) | 8.25% | $8.25 |
| New Jersey (statewide) | 6.625% | $6.63 |
| New York City (state + city + MTA) | 8.875% | $8.88 |
| Chicago, IL | 10.25% | $10.25 |
| Oregon (no sales tax) | 0% | $0.00 |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Enhancement over the old flat-percentage kernel: an extract mode that correctly backs the tax out of a tax-inclusive total by dividing by (1 + rate) — the step a flat percentage gets wrong — plus the combined-rate guidance sellers actually need.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
Texas purchase, tax added
Calculation mode add, Amount 100 $, Sales tax rate 8.25 %
| Calculation | Steps |
|---|---|
| Sales tax = $100 x 8.25% = $8.25 Total to pay = $100 + $8.25 = $108.25 | $8.25 sales tax. On a $100 purchase at 8.25%, the tax is $8.25 and the total due is $108.25. |
Result
Example 2
Laptop in New Jersey
Calculation mode add, Amount 899 $, Sales tax rate 6.625 %
| Calculation | Steps |
|---|---|
| Sales tax = $899 x 6.625% = $59.56 Total to pay = $899 + $59.56 = $958.56 | $59.56 sales tax. On a $899 purchase at 6.625%, the tax is $59.56 and the total due is $958.56. |
Result
Example 3
Backing tax out of a receipt total
Calculation mode extract, Amount 216 $, Sales tax rate 8 %
| Calculation | Steps |
|---|---|
| Pre-tax amount = $216 / (1 + 8%) = $200 Sales tax inside the total = $216 - $200 = $16 Check: $200 x 8% = $16 tax, total $216 | $16 sales tax. Of the $216 tax-inclusive total, $200 is the pre-tax price and $16 is tax at 8%. |
Result
How to use this calculator
Step 1
Choose add mode if you know the price before tax, or extract mode if you only know the tax-inclusive total.
Step 2
Enter the amount in dollars.
Step 3
Enter your combined state + local sales tax rate as a percentage.
Step 4
Press Calculate to see the tax amount, the pre-tax price and the full total.
Frequently asked questions
How do I calculate sales tax from a total that already includes it?
Divide the total by (1 + rate). A $108 total at 8% gives a $100 pre-tax price, so the tax inside it is $8 — not $8.64, which is the common mistake of taking 8% of the total. Use extract mode.
What rate should I enter?
The combined rate where the sale is delivered: state rate plus county and city rates. Texas is 6.25% state plus up to 2% local (8.25% max); New Jersey is a flat 6.625% in most areas. Rates change, so the field is editable.
Is sales tax the same as VAT?
No. US sales tax is charged once, to the final buyer, on the full price. VAT is charged at every stage of production with credits for tax already paid. The arithmetic here is for US-style sales tax.
Why does my receipt tax look slightly different?
Retailers round the tax to the nearest cent, and some items (groceries, clothing, medicines) are exempt or taxed at reduced rates in some states, so a mixed basket will not match a single-rate calculation exactly.
Which state has no sales tax?
Oregon, Montana, New Hampshire, Delaware and Alaska have no statewide sales tax, though some Alaska localities levy one. Everywhere else the combined rate depends on the exact delivery address.
About this calculator
A sales tax calculator works out the tax on a purchase in either direction: forwards, adding tax to a pre-tax price to get the total due, and backwards, extracting how much of a tax-inclusive total is tax and how much is the underlying price.
Sales tax is charged on the pre-tax price, so the forward calculation is a single multiplication: price times rate. The backwards calculation is where people go wrong — taking 8% of a $108 total gives $8.64, but the real tax inside that total is $8, because the total is the price plus 8% of the price, and recovering the price means dividing by 1.08 first.
The rate you pay is rarely just the state rate. Most states let counties, cities and special districts add their own percentage, which is why the same item costs more in Chicago (10.25% combined) than in most of Texas (8.25%) and nothing extra in Oregon. Sellers generally charge the rate of the delivery address, not the shop address.
Because rates differ street by street and change over time, this calculator takes the combined rate as an editable input rather than hard-coding a state table that would silently go stale.
Use it when quoting a customer, checking a receipt, budgeting a big purchase, or reconciling sales records where you recorded tax-inclusive takings and need the tax portion for a return.
How to calculate it yourself
Step 1
Find your combined rate: state rate plus county, city and district rates for the delivery address.
Step 2
Forward: multiply the pre-tax price by the rate to get the tax, then add it to the price for the total.
Step 3
Backward: divide the tax-inclusive total by (1 + rate) to get the pre-tax price.
Step 4
Subtract the pre-tax price from the total to get the tax contained in it.
Real-life examples
Market trader splitting card takings
A market trader in Texas takes $1,080 by card in a day, all recorded tax-inclusive at the 8.25% combined rate, and needs the tax figure for her records.
Pre-tax amount = $1,080 / (1 + 8.25%) = $997.69 Sales tax inside the total = $1,080 - $997.69 = $82.31 Check: $997.69 x 8.25% = $82.31 tax, total $1,080
$82.31 sales tax. Of the $1,080 tax-inclusive total, $997.69 is the pre-tax price and $82.31 is tax at 8.25%.
Budgeting a sofa in Chicago
A buyer in Chicago is choosing a sofa priced at $1,299 before tax. Chicago’s combined rate is 10.25%, and she wants the true out-the-door cost before deciding.
Sales tax = $1,299 x 10.25% = $133.15 Total to pay = $1,299 + $133.15 = $1,432.15
$133.15 sales tax. On a $1,299 purchase at 10.25%, the tax is $133.15 and the total due is $1,432.15.
Ideas & use cases
- Receipt check: run extract mode on any tax-inclusive total to confirm the shop applied the rate to the right base.
- Quote like a local: sellers quoting out of state can add the buyer’s combined rate so the invoice total matches what the customer expects.
- Return prep: extract the tax from a day of tax-inclusive card takings to split takings into net sales and tax collected.
Limitations & sources
- Single combined rate on a single amount. It does not apply per-item exemptions (groceries, clothing), bracket/rounding tables some states require, or marketplace-facilitator rules, and it is not a VAT calculator.
Sources: Texas Comptroller sales tax rate guidance (6.25% state + up to 2% local); New Jersey Division of Taxation 6.625% rate; standard point-of-sale tax arithmetic as on calculator.net sales tax calculator
