Key takeaways
- Total = Amount + (Amount × Rate ÷ 100).
- Tax alone is Amount × Rate ÷ 100 — calculate it before adding to the amount.
- Sales tax, GST, and VAT are different names for the same kind of calculation.
- To go backward from a tax-included total, divide by (1 + rate ÷ 100).
In this guide
What is sales tax?
Most countries add a consumption tax to purchases, called sales tax, GST, or VAT depending on where you are. It's calculated as a percentage of the price before tax, then added on top to give the total you actually pay.
Why does calculating sales tax matter?
Tax rates and rules vary a lot, even within the same country, so a receipt total can catch you by surprise if you only budgeted for the sticker price. Knowing the formula lets you estimate the real cost in advance.
An $850 laptop with 18% GST costs $1,003 at checkout — the tax alone adds $153, about 18 cents for every dollar on the price tag.
The formula
| Symbol | What it means | Example |
|---|---|---|
| Amount | Price before tax | $850 |
| Rate | Tax rate as a percentage | 18 |
| Tax | Extra amount charged | $153 |
| Total | Amount plus Tax, what you pay | $1,003 |
How to calculate sales tax step by step
- 1Note the price before tax. This is your starting amount.
- 2Multiply the price by the tax rate. Keep the rate as a whole number for this step.
- 3Divide that result by 100. This gives the tax amount.
- 4Add the tax amount to the original price. The result is your total.
Enter your own amount and local tax rate in the calculator below.
Try it yourself
Pre-filled with the example — change any value.
Common mistakes to avoid
- Applying tax twice. If a price is already shown as "tax included," don't add tax again on top of it.
- Assuming one universal rate. Sales tax, GST, and VAT rates vary a lot between countries and even between product categories in the same country — always check the local rate.
- Rounding the tax before adding it. Calculate the exact tax first, then round only the final total.
Tips and tricks
- For quick mental estimates, round the rate to a nearby easy number (like 20% instead of 18%) and adjust slightly.
- Also applying a discount? The discount calculator shows how price reductions work with the same percentage idea, usually applied before tax.
- Calculating a tip instead? The tip calculator uses the exact same percentage-of-an-amount formula.
Where you'll use it in real life
- Retail checkouts: almost every purchase receipt shows tax calculated this way.
- Online shopping: many stores show the pre-tax price and add tax at checkout based on your location.
- Invoices and business billing: GST and VAT are itemized separately from the amount charged for goods or services.
- Budgeting for a big purchase: knowing the total in advance avoids surprises at the register.
Quick summary
Sales tax is found with Total = Amount + (Amount × Rate ÷ 100) — multiply the price by the rate, divide by 100 for the tax, then add it back to the price. Rates vary by country and category, so always check the one that applies to you. Use the calculator above for the full breakdown.
Worked example
You're buying a laptop priced at $850 before tax, and your local sales tax (or GST) rate is 18%.
- 01Tax = Amount × Rate / 100
- 02Tax = $850 × 18 / 100 = $153
- 03Total = $850 + $153
- 04Total = $1,003
These numbers are pre-filled in the calculator above.
Frequently asked questions
How do I calculate the tax amount separately from the total?
Multiply the pre-tax amount by the tax rate, then divide by 100. That gives you just the tax; add it to the original amount to get the total.
What's the difference between sales tax, GST, and VAT?
They are different names for a consumption tax added to purchases, used in different countries — sales tax in the US, GST in India and several other countries, VAT in Europe and elsewhere. The math to calculate each is the same formula, just with a different local rate.
How do I find the pre-tax price if I only know the total?
Divide the total by (1 + rate ÷ 100). For a $1,180 total with an 18% tax rate, that's 1180 ÷ 1.18 = $1,000.
Is sales tax the same everywhere in a country?
Not always. Many places have different rates for different goods or services, and some regions add local taxes on top of a national rate, so it's worth checking the exact rate that applies to your purchase.


