Sales Tax Calculator

Add sales tax to a price, or find the tax inside a price that already includes it. You enter the rate; the calculator does the arithmetic and can start an invoice with the result.

Amount and rate
The amount is

Enter the combined rate that applies to your sale: state plus any county, city or district rate. Rates change, so check the current one with the tax authority where the sale is taxed.

Result

Price before tax
$0.00
Sales tax
$0.00
Total with tax
$0.00

The formulas

Adding tax to a price before tax:

  • Tax = price × rate ÷ 100
  • Total = price + tax

For example, $250.00 at 7% is $17.50 of tax and $267.50 in total.

Taking tax out of a price that includes it:

  • Price before tax = total ÷ (1 + rate ÷ 100)
  • Tax = total − price before tax

For example, $267.50 including 7% tax is $250.00 before tax and $17.50 of tax. Dividing, not subtracting 7%, is the step people most often get wrong: 7% of $267.50 is $18.73, which is too much.

Results are rounded to the cent. When a tax-inclusive total is split, rounding can occasionally leave the generator’s tax a cent different from the figure here; the invoice’s own arithmetic is the one to keep.

Finding your rate

This calculator has no rates built in, deliberately. In the US, sales tax is set by states and often added to by counties, cities and special districts, so two addresses a few miles apart can have different combined rates; rates also change, and what is taxable differs from state to state. Elsewhere, VAT and GST rates depend on the country and the product.

To find the rate for a sale:

  • Use your state’s department of revenue (or your country’s tax authority), which publishes current rates and lookup tools.
  • Use the rate for the place the sale is taxed. For goods shipped to a customer, that is often the delivery address; for services and in-person sales, the rules differ.
  • Check whether what you sell is taxable at all. Many states tax goods but not most services; some tax both.

If you are not sure whether you need to collect sales tax, ask an accountant before you invoice. This page explains arithmetic, not tax law.

On an invoice

When you create an invoice from this page, the generator opens with one line at the price before tax and your rate in the tax field, labeled Sales tax. On the invoice, the tax appears as its own line beneath the subtotal, which is how most clients and accountants expect to see it. For discounts, shipping and deposits as well, use the invoice tax calculator.

Questions

How do I calculate sales tax backwards from a total?

Divide the total by one plus the rate as a decimal. For 8.25%, divide by 1.0825: $541.25 ÷ 1.0825 = $500.00 before tax, and $41.25 of tax.

Is sales tax charged on the price before or after a discount?

Normally after. A discount reduces the price of the sale, and the tax is charged on what the customer actually pays. The invoice tax calculator applies discounts before tax for this reason.

Does this work for VAT or GST?

Yes. The arithmetic is the same; enter the VAT or GST rate. Prices in many countries are quoted including VAT, so the “tax included” mode is the one to use for them.

Why won’t you tell me the rate?

Because a wrong rate on an invoice is worse than none. Rates depend on exact locations and products and change over time; your tax authority is the reliable source.

Templates

Start from a template.

All templates

Free · No account · No watermark

Put the numbers on an invoice.

The generator does the same arithmetic as this tool, line by line, and gives you a PDF to send.