Easy Invoice Generator

How to Calculate Sales Tax on an Invoice

The math is simple once you know which rate applies and what's taxable. Here's the formula, a worked example and the mistakes to avoid.

Updated November 28, 2026

The formula

Sales tax = taxable amount × tax rate

Convert the rate to a decimal first: 8.25% becomes 0.0825. Then add the tax to the subtotal to get the invoice total.

Example: $1,000 of taxable goods at 8.25% → $1,000 × 0.0825 = $82.50 tax, for a total of $1,082.50.

Step by step

  1. Find the right rate. US sales tax is set by states, counties and cities, so the rate is usually the combined rate for the location. Check your state's department of revenue website for the rate that applies to each sale.
  2. Work out what's taxable. Physical goods are usually taxable. Services vary a lot by state: many don't tax most services, others tax a long list of them.
  3. Subtract discounts. A discount you give the customer normally reduces the taxable amount.
  4. Decide on shipping. Some states tax shipping and delivery charges, others don't, and the answer can depend on how you list them.
  5. Multiply and round. Multiply the taxable amount by the rate and round to the nearest cent.
  6. Show it on its own line. List the tax separately, with the rate, between the subtotal and the total.

A worked example

A furniture maker sells to a customer in a city with a combined rate of 7.5%:

LineAmount
2 dining chairs at $250$500.00
1 table at $1,200$1,200.00
Subtotal$1,700.00
Discount (10%)-$170.00
Tax (7.5% of $1,530.00)$114.75
Shipping (not taxed in this example)$80.00
Total$1,724.75

That's exactly how our invoice generator calculates it: tax is applied to the subtotal after the discount, and shipping is added after tax. If shipping is taxable where you sell, add it as a line item instead so it's included in the taxed subtotal.

Which rate do you use?

Most states use destination-based sourcing: you charge the rate where the customer receives the goods. A handful use origin-based sourcing for in-state sales, meaning the rate where your business is. For sales into other states, you generally only collect tax where you have nexus, such as a physical presence or enough sales to pass that state's economic threshold. Rules change, so confirm with the state or a tax professional.

When not to charge sales tax

  • The customer gives you a valid resale or exemption certificate. Keep a copy on file.
  • The item or service isn't taxable in that state.
  • You don't have nexus in the customer's state.
  • The sale is to certain exempt organizations, such as some nonprofits or government agencies, with documentation.

When you don't charge tax, set the rate to 0% so the tax line disappears from the invoice.

Common mistakes

  • Using only the state rate and forgetting county and city taxes.
  • Taxing before the discount, which overcharges the customer.
  • Hiding tax in the price. Show it on its own line so the customer, and your books, can see it.
  • Charging tax without a permit. You usually need a sales tax permit before collecting tax.
  • Forgetting to credit tax on returns. When you issue a credit note, credit the tax on the returned items too.

Sales tax on estimates and quotes

Include the expected tax on an estimate or quote as well, so the client sees the real total from the start. Enter the rate in the Sales tax % field and the tool does the math, the same way it will on the final invoice.

Frequently asked questions

Is sales tax calculated before or after a discount?

Usually after. A discount you give the customer reduces the price they pay, so tax is charged on the discounted amount. Manufacturer coupons can be treated differently in some states.

Do I charge sales tax on services?

It depends on the state and the service. Many states tax few services, while others tax a wide range. Check your state's department of revenue.

Is shipping taxable?

In some states, yes, and in others it isn't, especially when it's listed separately. If shipping is taxable for you, add it as a line item so it's included in the taxed subtotal.

How do I round sales tax?

Round the tax for the invoice to the nearest cent. Half a cent or more rounds up: $82.505 becomes $82.51.

Free Online Invoice Generator

Create professional invoices in minutes with our free online invoice generator. Customize your invoice, add your business logo, calculate taxes and download a PDF instantly. No registration, no watermark and no hidden fees.

Make an invoice with sales tax →