Sales Tax Calculator – Add or Reverse Sales Tax
Add US sales tax to a price or reverse a tax-included price. Enter the price per item, quantity, and applicable state and local tax rates.
Add or Reverse US Sales Tax
Sales Tax Formula
Where:
- \(P\) — price per item before tax in Add tax mode, or price paid per item in Reverse mode ($).
- \(q\) — quantity of items.
- \(r_s\), \(r_c\), \(r_{\mathrm{city}}\), and \(r_d\) — state, county, city, and special district tax rates (%).
- \(r\) — combined sales tax rate (%); \(A\) — entered price multiplied by quantity ($).
- \(B\) — order price before tax; \(T\) — order sales tax; \(S\) — total order price ($).
- \(\operatorname{round}_2\) — round to two decimal places.
Add tax mode calculates tax on the rounded order price before tax. Reverse mode starts with the rounded tax-included order total, then separates that total into a before-tax price and tax.
Sales Tax – Calculation Example
Example: In Add tax mode, buy one item priced at $100.00 before tax. The state rate is 6.25%, county rate is 1%, city rate is 0.5%, and special district rate is 0.25%.
\[ r=6.25\%+1\%+0.5\%+0.25\%=8\% \]
\[ B=1\times\$100.00=\$100.00,\qquad T=\$100.00\times0.08=\$8.00 \]
\[ S=\$100.00+\$8.00=\$108.00 \]
Result: the order price before tax is $100.00, sales tax is $8.00, and the total price is $108.00.
How to use the calculator
- Choose Calculation mode. Select Add tax to start with a price before tax, or Reverse (tax included) to start with an amount already paid.
- Enter Price before tax, per item in Add tax mode. In Reverse mode, enter Price paid, per item instead. The calculator shows the field relevant to your selection.
- Enter Quantity as a whole number from 1 to 1,000,000.
- Enter the applicable State tax rate, County tax rate, City tax rate, and Special district tax rate as percentages. Leave an unused rate blank or enter 0.
- Read Price before tax (order), Sales tax (order), Total price (order), and Combined sales tax rate in the results.
Understanding the sales tax breakdown
US sales tax is commonly expressed as a percentage of a taxable sale. Depending on the location, state and local rates may apply together. This calculator adds the four rates you enter to obtain one combined rate; it does not identify your location or supply current rates. For the example above, the combined 8% rate means $8.00 of tax on a $100.00 taxable order price.
In Add tax mode, the result shows how much to add to the before-tax order price. In Reverse mode, it estimates how much of a tax-included payment represents the original price and how much represents tax. With the default Reverse-mode price of $108.00 per item, quantity 1, and the default rates totaling 8%, the results are $100.00 before tax and $8.00 tax.
The amounts are for the whole order, not for one item. For example, entering a $100.00 before-tax price and quantity 3 produces a $300.00 before-tax order price before tax is calculated. If you need to analyze a different type of consumption tax, the Value Added Tax (VAT) calculator handles VAT calculations; VAT and US sales tax are not interchangeable tax systems.
Assumptions and practical limits
Enter rates that apply to the particular transaction and taxable item. Rates and taxability can vary by jurisdiction, product, customer, and transaction. Exemptions, discounts, shipping charges, and marketplace collection rules are not determined here. Check the applicable rules or your receipt rather than treating a calculated amount as an official tax determination.
The calculator applies the combined rate to the order amount and rounds monetary results to cents. A seller that rounds tax separately for each item or tax component may produce a slightly different total. Reverse mode also assumes the entire entered payment includes tax at the rate you supplied; it cannot distinguish taxable charges from nontaxable charges bundled into one price.
Each rate must be between 0% and 100%, and the combined rate cannot exceed 100%. The entered price must be non-negative, and the order amount cannot exceed $1 trillion. For a broader view of purchasing expenses beyond sales tax, use the Total Inventory Cost calculator.
Frequently Asked Questions
How can I estimate sales tax by hand?
Convert the combined rate to a decimal, multiply it by the taxable price, then add the result to the price. For a $40 purchase at 7.5%, the tax is \(40\times0.075=\$3.00\), so the total is $43.00. For a quick mental estimate, 7.5% is 5% plus 2.5%. Round the final tax to cents.
What is a normal sales tax rate in the US?
There is no single normal rate: the applicable rate depends on the transaction’s jurisdiction and, sometimes, what is being sold. A rate that looks typical for one city may be wrong just across a boundary. Check the relevant state or local tax authority for current rates and rules rather than using an average to price a sale.
Do I enter 8 or 0.08 for an 8% sales tax rate?
Enter 8 in a field labeled %, not 0.08. The calculator treats 8 as 8% and converts it to the decimal 0.08 for multiplication. Likewise, enter 0.5 for a half-percent rate. Entering 0.08 would mean 0.08%, which is one-hundredth of the rate you intended.
Why can't I subtract 8% from a tax-included price to remove 8% sales tax?
Because the 8% was calculated on the smaller, before-tax price—not on the amount paid. If you paid $54 at an 8% rate, divide by 1.08 to get $50 before tax; the tax is $4. Subtracting 8% of $54 would remove $4.32 and give the wrong before-tax price.
Is sales tax calculated before or after a discount, and is shipping taxable?
It depends on the applicable rules and the type of charge. A seller-funded discount may reduce the taxable price, while a manufacturer coupon may be treated differently. Shipping can also be taxable in some circumstances and exempt in others. Check the jurisdiction’s rules and enter the taxable amount—not automatically the full checkout subtotal.
Why is the calculator's tax one cent different from my receipt?
The seller may round tax for each item or tax component instead of once for the order. For example, three 5-cent items taxed at 5% produce 0 cents if each item’s tax is rounded separately, but 1 cent if tax on the 15-cent order is rounded once. Discounts and differing item taxability can also change the receipt.
If a seller charges no sales tax, is the purchase tax-free?
Not necessarily. Depending on your state and the purchase, you may owe use tax even if the seller did not collect sales tax. Use tax generally applies to taxable purchases used in a state when the required sales tax was not collected. Check your state tax authority’s guidance; this calculator does not determine whether use tax is owed.