Sales Tax Calculator
Add sales tax to a price or take it out of a tax-inclusive price, with quantity, combined state and local rates, and the tax shown separately.
Reviewed 23 November 2026 · Free · No account needed
How to use
- Choose Add tax to a price, or Remove tax from a price.
- Enter the price of one item and the quantity.
- Type your sales tax rate, pick a common rate, or turn on Add up several rates for state, county and city.
- Read the price before tax, the tax and the total, then copy the result.
Example
Input: 49.99 at 8.25% sales tax
Output: Tax 4.12, total 54.11
How it works
The price is converted to whole cents so no floating point error creeps in. When adding tax, the tax is the line price times the rate. When removing tax, the price before tax is the total divided by one plus the rate. Every rounding step rounds half a cent up.
Adding: tax = price × quantity × rate ÷ 100, and total = price × quantity + tax. Removing: price before tax = total ÷ (1 + rate ÷ 100), and tax = total − price before tax.
49.99 at 8.25%: 4,999 cents × 8.25 ÷ 100 = 412.4 cents, which rounds to 412, so the tax is 4.12 and the total is 54.11. Going back: 54.11 ÷ 1.0825 = 49.99.
Limits and edge cases
- The rate is whatever you type. The tool does not look up the rate for a place, and rates change.
- Tax is worked out on the whole line (price times quantity) and rounded to the nearest cent. A shop may round per item or per receipt, so a till can differ by a cent.
- Prices up to 1 billion and quantities up to 1 million are accepted. Rates must be between 0 and 100 percent.
- Exempt items, tax holidays and different rates on different items need separate calculations.
- A rate of 0 gives no tax, and the total equals the price.
- Half a cent rounds up: 1.05 at 10% is 0.105 of tax, which becomes 0.11.
- Removing tax and adding it back can differ by one cent because of rounding.
- Combined rates are added together, which is how most state and local sales taxes work. If a rate is charged on top of another tax, enter the effective rate yourself.
Privacy
Everything is calculated in this browser tab. The prices and rates you enter are never sent to a server or stored.
About this page
Written and reviewed by Toolnexo on 23 November 2026. The limits above describe the published tool, not an idealised version of it. If a result looks wrong or the page is unclear, email [email protected] with the tool URL and what you entered. Corrections are published here.
Guides that use Sales Tax Calculator
Related tools
Questions about Sales Tax Calculator
How do I calculate sales tax on a price?
Multiply the price by the rate and divide by 100, then add the result to the price. At 8.25% a 49.99 item adds 4.12 of tax, so the total is 54.11. Choose Add tax to a price, enter the price and the rate, and the tool does the arithmetic.
How do I remove sales tax from a total?
Divide the total by 1 plus the rate written as a decimal. For 54.11 at 8.25% divide by 1.0825 to get 49.99, so the tax was 4.12. Choose Remove tax from a price and enter the tax-inclusive price.
Can I add state and local tax together?
Yes. Turn on Add up several rates and enter the state, county and city rates. The tool adds them into one combined rate, for example 6.25 plus 2 gives 8.25 percent.
Why is my receipt a cent different?
Shops may round the tax on each item, on each line or on the whole receipt, and some handle half cents differently. This calculator rounds the tax on each line to the nearest cent, with half a cent rounding up.
Is this the same as VAT or GST?
The arithmetic is the same: a percentage added to a price, or already inside it. For VAT and GST wording and rates, the GST and VAT calculator on this site is set up for those terms.