Solved.tools: Free Online Calculators & Tools

We use cookies for analytics and advertising. Learn more about our cookie policy

Sales Tax Calculator

Last updated: 27 June 2026

Reviewed by Gavin Meiring, Lead research and primary author ยท Doctoral Candidate (Corporate Governance) ยท Research and drafting assisted by AI

Was this helpful?


Sales Tax Calculator

A sales tax calculator works out the tax amount and final price on a purchase based on the applicable tax rate. It is used by consumers checking prices, businesses calculating charges for invoices, and anyone working across different tax jurisdictions where rates vary by location or product type.

How to Use the Sales Tax Calculator

  1. Enter the pre-tax price of the item or service.
  2. Enter the applicable sales tax rate as a percentage.
  3. Choose whether to add tax to the price or extract tax from a tax-inclusive total.
  4. Click calculate to see the tax amount and the final price.
  5. For multiple items, calculate each separately or enter a subtotal and apply the rate to the combined amount.

The Formula

To add sales tax to a pre-tax price:

Tax Amount = Pre-tax Price x (Tax Rate / 100) Final Price = Pre-tax Price + Tax Amount

To extract tax from a tax-inclusive price (reverse calculation):

Pre-tax Price = Inclusive Price / (1 + Tax Rate / 100) Tax Amount = Inclusive Price - Pre-tax Price

Real-World Example

A product costs $120 before tax. The sales tax rate is 8.5%.

  • Tax amount: $120 x 0.085 = $10.20
  • Final price: $120 + $10.20 = $130.20

Reverse calculation: the price tag shows $130.20 inclusive. What is the pre-tax price?

  • Pre-tax price: $130.20 / 1.085 = $120.00
  • Tax amount: $130.20 - $120.00 = $10.20

The reverse formula is particularly useful in retail when you need to reconcile tax returns from a total of tax-inclusive sales.

Sales Tax Around the World

Sales tax varies significantly by country and jurisdiction. In the United States, sales tax is set at state and often local level, ranging from 0% in some states (Oregon, Montana) to over 10% in parts of California and Tennessee when local taxes are combined. In the UK, the equivalent tax is VAT (Value Added Tax), currently set at 20% for standard-rated goods and services, with reduced rates for certain items. In the EU, VAT rates differ by country and product category. Australia uses a Goods and Services Tax (GST) of 10%. When selling internationally or operating across US states, always confirm the applicable rate for the specific location and product category, as miscalculating tax can create compliance problems.

Rates on a $120 Purchase

RateTaxTotalPre-tax price if the total were $130.20
0%$0.00$120.00$130.20
4%$4.80$124.80$125.19
5%$6.00$126.00$124.00
6%$7.20$127.20$122.83
7.25%$8.70$128.70$121.40
8.5%$10.20$130.20$120.00
10%$12.00$132.00$118.36

The last column divides $130.20 by one plus the rate, which is the same operation as extracting the tax from a receipt. It also shows why multiplying a tax-inclusive figure by the rate fails: at 8.5% that mistake returns $11.07 where the correct tax is $10.20.

Adding, Extracting and Rounding

To add tax, multiply the pre-tax price by the rate and add it to the price. To take tax out of an inclusive figure, divide by one plus the rate. Subtracting the rate from the total is the error to avoid, and it grows with the rate.

Round the tax to the nearest cent at the line or invoice level, matching what the retailer does, and round only after the multiplication. Rounding the rate or the base first introduces a difference that shows up on a reconciliation.

Rates are set at more than one level in the United States, and no single rate describes a real basket. State, county, city and special district rates stack on top of one another, some categories such as groceries or prescription medicine are exempt or carry a reduced rate, and rates change at the start of a tax year and sometimes in the middle of one. Use the calculator where you know the combined rate for the delivery address, and confirm that rate from the state's published tables before you rely on a total. A business collecting tax should work from those tables rather than from this tool.

Frequently Asked Questions

Is sales tax the same as VAT? Sales tax and VAT are both consumption taxes but work differently. US sales tax is collected only at the final point of sale from the consumer. VAT is collected at every stage of the supply chain, with each business claiming back the VAT it paid on inputs. The end cost to the consumer is similar, but VAT creates a paper trail at each stage that makes it easier to audit.

Do all products attract the same sales tax rate? No. Many jurisdictions apply reduced or zero rates to specific categories such as food, children's clothing, medicine, or agricultural goods. In the UK, basic foods, books, and children's clothes are zero-rated for VAT, while energy and some health products carry a reduced 5% rate. Always check the applicable rate for your product category.

Do I need to charge sales tax if I sell online? In the US, following the 2018 South Dakota v. Wayfair Supreme Court decision, online sellers may be required to collect sales tax in states where they have economic nexus, defined by sales volume or transaction count. Most states now have nexus thresholds. In the UK and EU, VAT rules for digital services apply based on where the customer is located, not where the seller is based.

How do I calculate the tax-exclusive price from a tax-inclusive total? Divide the inclusive price by (1 + the tax rate as a decimal). For a 20% VAT-inclusive price of ยฃ60: ยฃ60 / 1.20 = ยฃ50 pre-VAT. The tax is ยฃ60 - ยฃ50 = ยฃ10. This is known as the VAT fraction method and is standard practice in UK bookkeeping.

Reconciling a day of tax-inclusive takings

Retailers do not record pre-tax prices. A till records what the customer paid, and the tax has to be pulled back out afterwards. The reverse formula above does that work, and a day of takings is the place it earns its keep.

Take a day of sales of 4,318.50 with tax included at 20%. The pre-tax total is 4,318.50 divided by 1.20, which is 3,598.75. The tax is 4,318.50 minus 3,598.75, which is 719.75. The arithmetic in full, so it can be checked:

StepWorkingAmount
Tax-inclusive takingsthe figure from the till4,318.50
Divide by 1 plus the rate4,318.50 divided by 1.203,598.75
Tax4,318.50 minus 3,598.75719.75
Check3,598.75 x 0.20719.75

At 20% there is a shortcut, and it is the one UK bookkeepers use. One divided by 1.20 is one sixth, so the tax on any tax-inclusive figure is that figure divided by six. Sixty pounds inclusive carries ten pounds of tax, because 60 divided by 6 is 10 and 60 minus 10 is 50. The shortcut works only for a 20% rate. It does not extend to 8.5%, and using one sixth on a US receipt understates the tax by around a third.

The same day reconciled the wrong way, by multiplying the takings by the rate, gives 4,318.50 times 0.20, which is 863.70. That overstates the tax by 143.95 against the correct 719.75. The error is not cosmetic on a tax return.

Rounding at the line and at the invoice

Rounding is a real decision, not a detail. Round at the line and the invoice total is the sum of rounded amounts. Round once at the invoice and each line carries a fraction. The two agree most of the time, and the disagreement is worth seeing.

Ten lines of 9.99 at a combined rate of 8.5%:

MethodWorkingTax
Round each line, then add0.84915 rounded to 0.85 on each of ten lines8.50
Round once on the invoice99.90 x 0.085 = 8.4915, rounded8.49

The gap is a cent on a hundred dollars, and it grows with the number of lines and with small amounts. Three lines of 0.04 at 20% show the same effect where the amounts are tiny: rounding each line gives 0.01 three times, which is 0.03, while rounding once on the total of 0.12 gives 0.02.

Neither method is wrong. The mistake is mixing them, or switching between them part way through a ledger. Pick one, apply it to every invoice in the period, and reconcile against the same method. Where a tax authority publishes a rounding rule, that rule decides the matter, and several jurisdictions require rounding at the line.

Where a combined US rate comes from

No single rate describes a US address. State, county, city and special district rates stack, and the combined figure at the checkout is the sum of the layers that apply at the delivery address. A rate published for a state capital is not the rate for a rural county in the same state.

The base also matters as much as the rate. Many states exempt or reduce specific categories, and the categories differ from state to state. Groceries, prescription medicine, clothing and prepared food are the common ones, and prepared food frequently carries a different rate from the same ingredients bought in a shop. A clothing exemption often applies below a price per item, which makes the rate depend on the price of the garment.

Rates also move at the start of a tax year and sometimes in the middle of one, and one state can contain dozens of distinct combined rates. For a business that collects tax, the practical sequence is to take the delivery address, resolve the combined rate for that address from the state's published tables, and apply the rate to the taxable lines only. This calculator takes a rate you supply. It cannot resolve an address, and it does not know which lines are exempt, so the rate you enter has to come from the published tables for the place and the product.

Also try these free tools: