Skip to main content
Online

Sales Tax Calculator

Add tax to a pre-tax price, work back from a tax-inclusive total, or find the rate that was charged. Works the same way for sales tax, VAT and GST.

Your numbers

What do you know?

Result

Educational estimate, not financial advice. Lenders, banks and tax authorities can round, compound or charge fees differently, so check important figures against your official documents.

Complete guide

Sales tax and VAT guide: adding tax, removing it from a total and finding the rate

3 min read Reviewed By the GetCalcMaster team · Editorial policy

Sales tax in the United States and value-added tax (VAT) or goods and services tax (GST) elsewhere are all charged as a percentage of the pre-tax price. The arithmetic is the same everywhere: multiply to add tax, divide to take it out.

The most common mistake is removing tax by subtracting the percentage from the total. Because the tax was calculated on the smaller, pre-tax price, the right way is to divide by one plus the rate. This guide shows all three calculations with worked examples.

How to use this tool

  1. Choose what you know: the price before tax, the price including tax, or both prices.
  2. Enter the tax rate as a percentage, for example 8.25 for 8.25% or 20 for the UK standard VAT rate.
  3. Read the tax amount and the other price, and open the working to see the formula with your numbers.

Key formulas

Add tax
total = price × (1 + rate)
Rate as a decimal: 8.25% is 0.0825.
Tax amount
tax = price × rate
Always calculated on the pre-tax price.
Remove tax
price = total ÷ (1 + rate)
Divide; do not subtract the percentage.
Find the rate
rate = (total − price) ÷ price
Multiply by 100 for a percentage.

Worked examples

Example 1: Adding US sales tax

$100.00 at 8.25%.

  1. Tax = 100 × 0.0825 = $8.25.
  2. Total = 100 + 8.25 = $108.25.
Answer: $108.25.
Example 2: Removing 20% VAT

A receipt shows £120.00 including 20% VAT.

  1. Price before VAT = 120 ÷ 1.20 = £100.00.
  2. VAT = 120 − 100 = £20.00.
Answer: £100.00 before VAT. Taking 20% off £120 would give £96, which is wrong.
Example 3: Finding the rate on a receipt

An item costs $49.99 before tax and $54.11 after.

  1. Tax = 54.11 − 49.99 = $4.12.
  2. Rate = 4.12 ÷ 49.99 = 0.08242.
Answer: About 8.24%. A small gap from the published rate usually comes from rounding to the cent.
Example 4: Adding 18% GST

₹2,500 at 18% GST.

  1. GST = 2,500 × 0.18 = ₹450.
  2. Total = 2,500 + 450 = ₹2,950.
Answer: ₹2,950.

Why subtracting the percentage is wrong

Tax is a percentage of the pre-tax price, which is smaller than the total. If you take the same percentage off the larger total, you remove too much. With 20% VAT the tax is 20 ÷ 120 = 16.67% of the total, not 20%. Dividing by 1.20 recovers the pre-tax price exactly.

Sales tax, VAT and GST

US sales tax is set by states, counties and cities and is normally added at the till, so shelf prices exclude it. VAT and GST are collected at each stage of production and are usually included in the price consumers see. The formulas are identical; only the presentation differs.

  • In the US, use the combined rate: state plus county plus city.
  • Some goods carry reduced or zero rates, such as many groceries.
  • Businesses registered for VAT or GST can usually reclaim the tax on their purchases.

Discounts, coupons and shipping

Tax is normally charged on the price after a store discount, because the discount lowers the selling price. Manufacturer coupons are treated differently in many US states, where tax is charged on the price before the coupon. Shipping and delivery charges are taxable in some places and not in others. When a receipt looks wrong, check which of these rules applied.

Common mistakes to avoid

  • Subtracting the rate from a tax-inclusive price instead of dividing by (1 + rate).
  • Using only the state rate when county and city taxes also apply.
  • Rounding the rate before calculating. Round only the final amounts.
  • Typing 0.0825 when the field expects 8.25.

Frequently asked questions

How do I calculate sales tax?
Multiply the price by the rate as a decimal. $80 at 7% is 80 × 0.07 = $5.60 of tax, so $85.60 in total.
How do I remove tax from a total?
Divide the total by 1 plus the rate. $107 including 7% tax is 107 ÷ 1.07 = $100 before tax.
How do I find the tax rate from two prices?
Subtract the pre-tax price from the total and divide by the pre-tax price.
Does this work for VAT and GST?
Yes. VAT and GST use exactly the same percentage arithmetic; enter your country's rate.
Why is my receipt's tax a cent different?
Shops round tax to the cent, sometimes per item and sometimes on the whole bill, so totals can differ by a cent or two.

Related tools and guides

References

Educational content. Results are computed in your browser with standard double-precision arithmetic; double-check anything with legal, financial, medical, or safety consequences. Spotted an error? Tell us and we will correct it.