Whether you are pricing a product, checking a receipt, or filing an expense report, sales tax is one of those numbers you end up calculating over and over. This tool makes it a two-second job. Enter an amount and a tax rate, and it shows you the pre-tax price, the tax amount, and the final total. It runs entirely in your browser, so nothing you type is sent to a server, and it is free with no signup required.
The calculator works in two directions. The first mode, Add tax to price, takes a net price and a rate and tells you what the customer actually pays. The second mode, Extract tax from total, works backwards: you give it a tax-inclusive total and the rate that was applied, and it separates the total into the net price and the tax portion. That second direction is the one people get wrong most often, because the math is not intuitive.
Because you type the rate yourself, the tool works for any jurisdiction: US state and local sales tax, VAT, GST, or any other consumption tax expressed as a percentage. It does not need to know where you live, and it never guesses a rate for you.
What Is Sales Tax?
Sales tax is a percentage charge that governments add to the sale of goods and services. In the United States, rates are set at the state, county, and city level, so the total rate you pay at checkout can stack several layers together. For example, the combined rate in one city might be 6% state tax plus 1% county tax plus 2% city tax, for an effective 9% on most purchases.
Outside the US, most countries use a value-added tax (VAT) or goods and services tax (GST) instead. The arithmetic is the same at the point of sale: a percentage is added to a net price to produce a gross total. What differs is how the tax is collected along the supply chain, which does not affect the consumer-facing calculation this tool performs.
One detail worth knowing: in the US, sales tax is quoted as an add-on, so a $100 price plus 8% tax becomes $108. In many VAT countries, prices are quoted tax-inclusive, so a $108 price at 8% already contains $8 of tax. That is exactly why the extract mode exists: to pull the tax back out of a total that already includes it.
How to Use This Calculator (Step by Step)
The tool has two modes, and you pick the one that matches your question.
Mode 1: Add tax to price
- Select the Add tax to price mode.
- Enter the net (pre-tax) amount. Example: 100.
- Enter the tax rate as a percentage. Example: 8.
- Read the results: tax amount, and the total. For 100 at 8%, the tax is 8.00 and the total is 108.00.
Mode 2: Extract tax from total
- Select the Extract tax from total mode.
- Enter the tax-inclusive total. Example: 108.
- Enter the tax rate that was applied. Example: 8.
- Read the results: the net price and the tax portion. For a 108 total at 8%, the net price is 100.00 and the tax is 8.00.
The results update as you type, so you can sweep through several rates quickly. Everything is computed locally on your device, which makes it safe to use with real invoice numbers.
How It Works: The Formulas
Mode 1 is straightforward multiplication:
tax = net price ร rate / 100, and total = net price + tax. Equivalently, total = net price ร (1 + rate / 100). For a net price of 250 at 6.5%, the tax is 250 ร 0.065 = 16.25 and the total is 266.25.
Mode 2 is where people slip up. You cannot multiply the total by the rate, because the tax was applied to the smaller net figure, not to the total. The correct formula is:
net price = total / (1 + rate / 100), and tax = total โ net price.
Worked example: a receipt totals 214 at 7%. The net price is 214 / 1.07 = 200.00, and the tax is 14.00. If you had incorrectly computed 214 ร 0.07 = 14.98, you would overstate the tax by about 7%, which is exactly the rate. A useful sanity check: the extracted tax should always equal net price ร rate / 100.
Worked Examples at Common Rates
The table below shows mode 1 results for a 100.00 net price at several typical combined rates:
| Rate | Tax on 100.00 | Total |
|---|---|---|
| 4% | 4.00 | 104.00 |
| 5% | 5.00 | 105.00 |
| 6% | 6.00 | 106.00 |
| 7% | 7.00 | 107.00 |
| 8.25% | 8.25 | 108.25 |
| 9.5% | 9.50 | 109.50 |
And here is mode 2 in reverse: given a tax-inclusive total of 500.00, the net price differs by rate:
| Rate | Net from 500.00 | Tax portion |
|---|---|---|
| 5% | 476.19 | 23.81 |
| 7% | 467.29 | 32.71 |
| 8.25% | 461.89 | 38.11 |
| 10% | 454.55 | 45.45 |
Notice that the tax portion at 10% (45.45) is not 10% of 500 (which would be 50). That gap is the whole reason the extract mode exists.
Common Use Cases
- Small business pricing. You sell a service for 1,200 net and your local combined rate is 8.75%. Mode 1 tells you the invoice total is 1,305.00 before you send it.
- Reading receipts and invoices. A total of 89.10 at 5% contains 84.86 net and 4.24 tax. Mode 2 separates it instantly.
- Expense reports. Many reimbursement systems want the pre-tax amount and the tax broken out separately, not just the total.
- Comparing online checkout prices. If one store shows 79.99 plus tax and another shows 84.50 all-in, you can extract or add tax to compare them at the same rate.
- Bookkeeping checks. Verify that the tax line on a supplier invoice actually matches the stated rate applied to the net amount.
Tips and Best Practices
- Use the combined rate, not the state rate. If your city adds 2% on top of a 6% state rate, enter 8. Entering only the state portion understates the tax.
- Watch for exempt items. Groceries, prescription drugs, and clothing are exempt or reduced-rate in many jurisdictions. The tool calculates whatever rate you give it; knowing which rate applies is on you.
- Round the way your jurisdiction rounds. Most US retailers round the tax to the nearest cent per transaction. The tool shows full precision so you can decide where rounding happens.
- Check rate changes annually. Local rates change more often than you might expect. If a receipt looks off by a fraction of a percent, an outdated rate is the usual suspect.
- Distinguish discounts from tax. Most jurisdictions apply tax to the discounted price, so apply the discount first, then calculate tax on the reduced amount.
Limitations and Honest Caveats
This calculator does pure percentage math. It does not look up rates for you, so it will not know that your county raised its rate last month, and it cannot handle jurisdiction-specific quirks such as tax caps (some US localities cap the tax on a vehicle purchase at a dollar maximum), tiered rates, or items taxed at multiple rates on one invoice. It also does not handle rounding rules like "round half up to the nearest cent per line item," which some tax authorities mandate. For filing purposes, always reconcile against your jurisdiction's official guidance; for quick arithmetic, pricing checks, and receipt analysis, the two modes here cover the great majority of everyday questions.
Sales Tax vs. VAT: Which Mode Should You Use?
Use Add tax to price when you know the net price and want the checkout total, which is the typical US sales-tax situation. Use Extract tax from total when you know the final amount and need the components, which is the typical VAT/GST situation where prices are quoted tax-inclusive. If you are auditing a stack of receipts from a VAT country, the extract mode is the one you will use almost exclusively. If you are quoting a customer in the US, you will live in add mode. Both modes run live as you type, on desktop or mobile, and since the calculation happens entirely in your browser, your figures never leave your device.