How to Calculate Sales Tax (With Free Calculator)
Learn how to calculate sales tax with a simple formula, worked examples, a free calculator, and 2026 state rates for online and in-store sellers.
Sales tax feels complicated, but the math behind it is genuinely simple. The hard part is knowing which rate applies, when you have to collect it, and how to handle it once money changes hands. This guide walks through the exact formula, gives you a free calculator, and shows real examples so you can charge the right amount every time.
How Do I Calculate Sales Tax?
To calculate sales tax, multiply the price of an item by the sales tax rate expressed as a decimal. Then add that amount to the original price to get the total.
The sales tax formula:
Sales tax = Price × (Sales tax rate ÷ 100)
Total price = Price + Sales tax
Here's a worked example. Say you sell a product for $50 and your combined sales tax rate is 8%:
- Convert the rate to a decimal: 8 ÷ 100 = 0.08
- Multiply the price by the decimal: $50 × 0.08 = $4.00
- Add it to the price: $50 + $4.00 = $54.00
The customer pays $54.00, and you set aside the $4.00 to remit to the state. That's the whole calculation.
Free Sales Tax Calculator
Use this quick reference to skip the math. Pick your rate and multiply the pre-tax price:
| Sales tax rate | Multiply price by | $100 becomes |
|---|---|---|
| 4% | 0.04 | $104.00 |
| 6% | 0.06 | $106.00 |
| 7.25% | 0.0725 | $107.25 |
| 8% | 0.08 | $108.00 |
| 8.5% | 0.085 | $108.50 |
| 9.5% | 0.095 | $109.50 |
| 10.25% | 0.1025 | $110.25 |
For example, a $250 item at a 7.25% rate: $250 × 0.0725 = $18.13 tax, for a total of $268.13.
What Sales Tax Rate Should You Use?
This is where most business owners get tripped up. The rate you charge is usually a combined rate stacked from three levels of government:
- State rate - set by the state
- County rate - added by the county
- City or local rate - added by the municipality or special district
Los Angeles is a good illustration: 7.25% (California state) + 1% (LA County) + 2% (City of LA) = a 10.25% combined rate. A buyer in a different California county might pay a completely different number.
According to the Tax Foundation, California has the highest state-level rate at 7.25%, while Colorado has the lowest non-zero state rate at 2.9%. Five states - Alaska, Delaware, Montana, New Hampshire, and Oregon - charge no statewide sales tax at all (though some Alaska localities do). On combined average rates, Louisiana tops the list at roughly 10.13%.
The practical takeaway: don't guess. Look up the exact rate for the buyer's shipping or delivery address, because sales tax in the US is generally destination-based for online sales - you charge the rate where the customer receives the product, not where you're located.
Do You Even Have to Collect Sales Tax?
You only collect sales tax in states where you have nexus - a legal connection that obligates you to register, collect, and remit. There are two main types:
- Physical nexus - an office, warehouse, employee, or inventory in the state.
- Economic nexus - enough sales into a state to cross its threshold, even with no physical presence.
Economic nexus exists because of the 2018 Supreme Court case South Dakota v. Wayfair, Inc., which let states require remote sellers to collect tax based on sales volume. South Dakota's upheld threshold was more than $100,000 in sales or 200 transactions per year - and many states now use a similar (though not identical) bar. If you sell online across state lines, this is the rule that decides where you owe.
If you're still setting up shop, sort out your legal structure and registrations first. Our guides on how to register a business and getting an EIN number cover the foundation you'll need before you can register for a sales tax permit.
How to Do Reverse Sales Tax (Find the Pre-Tax Price)
Sometimes you have a total that already includes tax and need to work backward - say, to record clean revenue in your books. To find the original price, divide the total by 1 plus the tax rate as a decimal:
Pre-tax price = Total ÷ (1 + tax rate)
If a receipt shows $54.00 at an 8% rate:
- $54.00 ÷ 1.08 = $50.00 (the pre-tax price)
- $54.00 − $50.00 = $4.00 (the tax portion)
A common mistake is subtracting 8% from the total instead of dividing - that gives the wrong answer. Always divide.
Sales Tax vs. Other Business Taxes
Sales tax is a pass-through tax: you collect it from customers and hand it to the state. It isn't your money and it isn't an expense - it's a liability you're holding temporarily. That's different from taxes tied to your own operations, like payroll tax, which come out of running your business and paying your team.
Because sales tax flows straight through your books, it should never inflate your revenue or distort your margins. If you're tracking profitability, keep it separate - our guide on how to calculate profit margin explains why mixing collected tax into revenue makes your numbers look better than they are.
Getting the Mechanics Right at Checkout
Calculating the number is one thing; collecting it cleanly is another. A few practices save headaches later:
- Automate the rate lookup. Modern point-of-sale and e-commerce platforms apply the correct destination rate automatically. If you accept credit card payments through a processor, sales tax settings are usually built in - configure them once rather than calculating by hand on every order.
- Separate the tax on receipts. Always show sales tax as its own line item on the receipt you hand over so customers (and auditors) can see exactly what was charged.
- Set the money aside. Move collected tax into a dedicated account so it's ready at filing time. Spending it and scrambling later is how businesses fall behind.
- Track your filing deadlines. States assign monthly, quarterly, or annual schedules based on your volume. Missing them triggers penalties.
Common Sales Tax Mistakes to Avoid
- Using your own city's rate for every sale. For shipped goods, the buyer's location usually governs the rate.
- Charging tax on exempt items. Groceries, prescriptions, and certain services are exempt or reduced in many states.
- Forgetting resale certificates. If you buy inventory to resell, you generally shouldn't pay sales tax on it - a resale certificate handles that.
- Ignoring economic nexus. Crossing a threshold in a new state creates an obligation whether or not you notice.
Conclusion
Calculating sales tax comes down to one line of math: multiply the price by the rate as a decimal, then add it on. The real work is applying the correct combined rate for the buyer's location and only collecting where you have nexus. Nail those two things, keep the collected tax separate from your revenue, and remit on time - and sales tax becomes a routine step rather than a source of stress.
Ready to tighten up the rest of your financial operations? Explore our guides on payments, taxes, and margins to keep more of what you earn and stay compliant as you grow.
Sources: