What it does
The sales tax calculator adds sales tax to a price or takes it out of one, from a state rate and a local rate:
- Add tax: from a price before tax, the total with tax and the tax, for example 107.00 and 7.00 for 100 at 6% state and 1% local.
- Remove tax: from a total with tax, the price before tax and the tax in it, for example 100.00 and 7.00 for 107.
- State and local parts: the tax split into what the state rate and the local rate each account for, with the combined rate.
The result updates as you type.
How to use it
- Pick Add tax for a price before tax, or Remove tax for a total that already includes it.
- Type the amount.
- Type the state tax rate and the local tax rate as percentages. Local is county and city together.
- Select Copy result to put the figures on your clipboard.
The calculator remembers your choice and numbers on this device, so they’re there the next time you open the page.
How it’s calculated
With the amount A, the state rate s and the local rate l in percent, Add tax works out:
Tax = A × (s + l) ÷ 100
For 100 at 6% and 1%, Tax = 100 × (6 + 1) ÷ 100 = 7.00, and the total with tax is 107.00. Remove tax works out the price before tax, and the tax is the rest:
Before tax = A × 100 ÷ (100 + s + l)
For 107 at 6% and 1%, Before tax = 107 × 100 ÷ (100 + 6 + 1) = 100.00, and the tax is 7.00.
Sales tax rates differ by state, county and city, and the starting rates are examples, not any place’s rate. One rate applies to the whole amount; some items are exempt or taxed differently. Tax is rounded half up to the cent, and some states round differently. State tax is the tax’s share at the state rate, rounded half up to the cent, and local tax is the rest, so the two add up to the tax. Each figure is worked out exactly and rounded once, so taking the tax out of a total this calculator added it to gives back the amount you started with.
Good to know
- The amount can be from 0.01 to 1,000,000,000,000, and is rounded to whole cents.
- The state rate and the local rate can each be from 0% to 20%, in steps of 0.01. At 0% and 0%, the tax is 0.00.
- A bill with items taxed at different rates needs one sum per rate.
- No currency is assumed: the amounts are in whatever currency you type.
Privacy
Everything is calculated in your browser, on your device. Nothing you type is uploaded. Only your choice and numbers are kept, in this browser’s storage, so the page can show them again.