How Do You Add Sales Tax? Formula and Rates

To add sales tax to a price, multiply the item’s cost by the tax rate expressed as a decimal, then add that amount to the original price. If something costs $50 and the sales tax rate is 6%, the tax comes to $3, making your total $53. That core formula works whether you’re ringing up a single purchase, building an invoice, or setting up an online store.

The Basic Formula

Every sales tax calculation follows three steps:

  • Convert the tax rate to a decimal. Divide the percentage by 100. A 7.25% rate becomes 0.0725.
  • Multiply the price by that decimal. A $120 item at 7.25% means $120 × 0.0725 = $8.70 in tax.
  • Add the tax to the original price. $120 + $8.70 = $128.70 total.

If you want the total in one step, multiply the price by 1 plus the decimal rate. Using the same example: $120 × 1.0725 = $128.70.

When a sale includes multiple items, you can either calculate tax on each item individually or add up all taxable items first and apply the rate to the subtotal. Both approaches give the same result. Most point-of-sale systems and e-commerce platforms total the taxable items, then apply the rate once.

Which Tax Rate to Use

The tricky part is not the math. It’s knowing which rate applies. Sales tax rates combine state, county, and sometimes city or special district levies, so the total rate can vary from one address to another within the same state. Five states have no sales tax at all.

Most states use destination-based sourcing, meaning you charge the rate where the buyer receives the item, not where your business is located. If you ship a product to a customer across the state, you use the rate at their delivery address. A smaller number of states use origin-based sourcing, where the rate is based on the seller’s location. For interstate sales (selling into a different state), the rule is nearly always destination-based regardless of your home state’s general approach.

To find the combined rate for a specific address, check your state’s department of revenue website. Many states offer free rate-lookup tools where you enter a ZIP code or street address and get the exact combined rate.

Adding Sales Tax on an Invoice

In most states, sellers are legally required to show the sales tax as a separate line item on receipts and invoices. You generally cannot just absorb the tax into the listed price without breaking it out. A properly formatted invoice typically looks like this:

  • Line items with individual prices
  • Subtotal of all taxable goods or services
  • Sales tax as its own line, showing the rate and the dollar amount
  • Total combining subtotal and tax

Some items on the same invoice may be taxable while others are not. Groceries, prescription medications, and certain clothing items are exempt in many states. When you have a mix, apply the tax rate only to the taxable subtotal.

When a Sale Is Tax-Exempt

Certain buyers do not owe sales tax, but you need documentation to prove it. Resellers purchasing inventory for resale, nonprofit organizations, government agencies, manufacturers buying raw materials for production, and agricultural producers buying farming supplies all commonly qualify for exemptions.

To honor an exemption, collect a completed exemption certificate from the buyer before or at the time of the sale. A valid certificate includes the purchaser’s name and address, their taxpayer identification number, a description of what they’re buying, the reason for the exemption, and a signature. Keep these certificates on file. If you’re ever audited and can’t produce a valid certificate for a tax-free sale, you could be held liable for the uncollected tax.

Sales Tax for Online and Out-of-State Sellers

If you sell online or ship products across state lines, you may be required to collect sales tax in states where you have “nexus,” which is a legal connection to that state. Nexus used to require a physical presence like a warehouse or office, but most states now also recognize economic nexus, triggered when your sales into the state cross a dollar or transaction threshold.

The most common threshold is $100,000 in annual sales into the state. A handful of states set higher bars, with thresholds reaching $250,000 or $500,000. Some states also trigger nexus at 200 or more separate transactions regardless of dollar volume. Once you cross the threshold, you need to register with that state, collect the correct rate on each sale, and remit the tax on the state’s filing schedule.

E-commerce platforms like Shopify, Amazon, and Square handle much of this automatically. They calculate the rate based on the buyer’s address, add it at checkout, and in some cases remit it on your behalf. If you use one of these platforms, verify that the tax settings are configured correctly for every state where you have nexus. If you sell through your own website or in person, sales tax automation software can plug into your checkout process and apply the right rate by address.

Handling Rounding

Tax calculations often produce amounts with fractions of a cent. Most states follow standard rounding: if the third decimal place is 5 or higher, round up; otherwise, round down. On a $14.99 item at 8.375%, the raw tax is $1.25491…, which rounds to $1.25. A few states have specific bracket tables that dictate the exact tax for each price range. Your state’s tax authority will specify which method to use, and most modern register systems handle it automatically.

Filing and Remitting Collected Tax

Sales tax you collect does not belong to your business. It belongs to the state, and you’re responsible for turning it over on time. States assign a filing frequency (monthly, quarterly, or annually) based on your sales volume. Higher-volume sellers file more often.

Each filing period, you report the total taxable sales, the tax collected, and any exemptions or deductions. Many states offer a small discount (often around 1% to 3% of the tax collected) for filing and paying on time as compensation for the administrative work of collecting. Late filings trigger penalties and interest that add up quickly.

Register for a sales tax permit with each state where you have nexus before you start collecting. Collecting sales tax without a valid permit is illegal in most states, even if you intend to remit it.