Skip to content
toolsbox

Sales Tax Calculator

Add sales tax to a price or pull it back out of a tax-inclusive total, with per-item and quantity totals.

  • Free
  • No sign-up
  • Runs in your browser

What is a sales tax calculator?

A sales tax calculator works out how much tax applies to a purchase and what the final price will be. Enter a price, a quantity and your tax rate, and it returns the pre-tax subtotal, the tax amount, the total and the price per item including tax.

It is useful for shoppers checking a receipt, freelancers and small businesses writing invoices, and anyone who has a tax-inclusive total and needs to know how much of it was actually tax, for example when filing expenses or reconciling sales.

This one handles both directions. Most quick calculators only add tax, but the reverse calculation trips people up because you can't just subtract the percentage. Switch the mode to tax-inclusive and it divides out the tax correctly. Everything runs in your browser, so nothing you enter is sent anywhere.

How to use the sales tax calculator

  1. 1

    Enter the price per item

    Type the price exactly as it appears on the tag, quote or receipt.

  2. 2

    Set the quantity

    If you are buying several of the same item, enter how many. Leave it at 1 for a single purchase or a full receipt total.

  3. 3

    Enter your sales tax rate

    Use the combined rate for the location of sale (state plus county, city and any special district), as a whole number such as 8.875.

  4. 4

    Choose the price type

    Pick "Before tax" to add tax on top, or "Tax-inclusive" if the price you entered already contains tax and you want to separate it out.

  5. 5

    Read the results

    The total including tax is highlighted, with the subtotal, tax amount and per-item price shown underneath.

When to use this calculator

Checking a receipt at checkout

Confirm the register charged the right tax, especially when buying several items or shopping in a different city.

Writing invoices and quotes

Freelancers and small businesses can quote a net price and show the client exactly how much tax will be added.

Separating tax for expenses

Turn a tax-inclusive receipt into its net and tax parts for bookkeeping or expense reports.

Budgeting for big purchases

See the real out-the-door cost of furniture, electronics or equipment before you commit.

Pricing products tax-inclusive

If you want a shelf price like $54.50 to include tax, use reverse mode to find the net price you should record.

Worked example

You are buying 3 items priced at $120 each in New York City, where the combined sales tax rate is 8.875%. The price tag is before tax, so the mode is set to "Before tax."

The pre-tax subtotal is price × quantity = 120 × 3 = $360.00. The tax is subtotal × rate ÷ 100 = 360 × 8.875 ÷ 100 = $31.95. The total is subtotal + tax = 360 + 31.95 = $391.95.

Divided across the 3 items, each one effectively costs $130.65 including tax. If you had instead received a receipt for $391.95 and wanted the tax back out, switching to tax-inclusive mode and entering 391.95 with a quantity of 1 would return the same $31.95 tax.

Frequently asked questions

How do I calculate sales tax?

Multiply the pre-tax price by the tax rate as a decimal. For $80 at 7%, the tax is 80 × 0.07 = $5.60, and the total is $85.60. You can also multiply directly by 1.07 to get the total.

How do I remove sales tax from a total?

Divide the total by 1 plus the rate as a decimal. For a $107 total at 7%, the pre-tax price is 107 ÷ 1.07 = $100, so the tax was $7. Subtracting 7% of $107 gives $7.49, which is wrong, because the tax was charged on $100, not $107.

Which tax rate should I use?

Use the combined rate for where the sale happens. In the US that is usually the state rate plus any county, city or special district rates. Check your state or local revenue department for the current figure, since rates change.

Why is my receipt off by a cent?

Stores often round tax per line item rather than on the whole subtotal, and some round fractions of a cent differently. This calculator applies one rate to the full subtotal, so small rounding differences are normal.

Does this work for VAT or GST?

Yes. The math for adding or removing a single percentage tax is the same, so you can enter a VAT or GST rate. Just note that VAT systems usually quote prices tax-inclusive, so reverse mode is the one you will use most.

What if some items in my cart are tax-exempt?

Calculate only the taxable items here. Many places exempt or reduce tax on things like groceries or prescriptions, so add the exempt items to the total separately at a 0% rate.