Menu Close

How to Calculate Sales Tax: Step-by-Step with Examples (2026)

How to Calculate Sales Tax

Knowing how to calculate sales tax correctly matters whether you are a consumer budgeting for a big purchase or a business owner setting prices. Before we get into the formulas, if you are still fuzzy on what sales tax is and how it works fundamentally, take five minutes to read that guide first — it makes the math here much easier to follow.

The Core Formula

Sales Tax Amount = Purchase Price × (Tax Rate ÷ 100). Then: Total Price = Purchase Price + Sales Tax Amount. That is the complete formula. The challenge is not the arithmetic — it is knowing the right combined rate to use. The combined rate includes your state base rate plus any county and city add-ons. For example, California’s state rate is 7.25% but combined rates in LA County reach 10.25%, while Texas caps its combined rate at 8.25% statewide.

Step 1 — Find Your Combined Rate

Use the calculator at the top of this page to look up any US city instantly. If you prefer to look it up manually, start with your state’s department of revenue website. Keep in mind that five states — Alaska, Delaware, Montana, New Hampshire, and Oregon — have no statewide rate, though some localities in Alaska do charge local tax.

Step 2 — Work Through a Full Example

You buy a laptop for $799 in Austin, Texas, where the combined rate is 8.25%. Tax = $799 × 0.0825 = $65.92. Total = $799 + $65.92 = $864.92. Now try the same purchase in New York City, where the combined rate is 8.875%. Tax = $799 × 0.08875 = $70.91. Total = $869.91. Same laptop, $5 more in tax just from location.

Calculating Backwards from the Total

If you know the final total and want to find the pre-tax amount: Pre-Tax Price = Total ÷ (1 + Tax Rate). So if you paid $540 total in a location with 8% tax: Pre-Tax = $540 ÷ 1.08 = $500. Tax paid = $40. This reverse calculation is essential for businesses reconciling receipts and is one area where many businesses make errors that come back to haunt them in audits.

Discounted Items and Coupons

Sales tax is generally applied to the discounted (sale) price, not the original price. So a $100 item marked 20% off is taxed at $80. Coupon rules vary by state — in some states, coupons reduce the taxable base; in others they do not. Florida has specific coupon rules worth knowing if you operate there.

Calculating Tax for Multiple Jurisdictions

If you run an e-commerce business shipping to multiple states, you calculate tax based on the buyer’s destination address (destination-based sourcing applies in most states). This means you need to know the correct combined rate for each delivery location. Before you can even do this calculation, you need to have established nexus in that state — otherwise you have no obligation to collect at all. Once you do have nexus, filing returns accurately relies entirely on getting these per-transaction calculations right.

Is Your Sales Tax Deductible?

If you itemize on your federal income tax return, the sales tax you pay throughout the year may be deductible. See our complete guide to the sales tax deduction and the $10,000 SALT cap to find out if you qualify and how to calculate the deduction accurately.

Leave a Reply

Your email address will not be published. Required fields are marked *