Skip to content
——/tools · free · no signup

Sales Tax Calculator

Enter an amount and your tax rate to get the tax and total — plus the pre-tax amount hidden inside a tax-inclusive price. Instant, no signup, your own rate.

Sales tax

Add it on — or back it out.

Enter an amount and a tax rate. See the tax and total when adding tax, plus the pre-tax amount hidden inside a tax-inclusive price.

→ With tax
Total with tax
$108.25
Tax amount
8.25% of $100
$8.25
If that amount included tax
pre-tax · $7.62 is tax
$92.38
Math: tax = amount × 8.25% · pre-tax = amount ÷ (1 + 8.25%)
——The formula

The total amount after tax is calculated as: Total = PreTaxAmount + TaxAmount. TaxAmount is found by multiplying the PreTaxAmount by the SalesTaxRate (expressed as a decimal): TaxAmount = PreTaxAmount × SalesTaxRate. Therefore, Total = PreTaxAmount × (1 + SalesTaxRate). To find the pre-tax amount when given a tax-inclusive total, rearrange: PreTaxAmount = Total / (1 + SalesTaxRate). For example, if a total of $107 includes a 7% tax, PreTaxAmount = 107 / 1.07 = $100. The tax itself is then Total - PreTaxAmount = $7. This formula is used because sales tax is a proportional levy on the base price, and the total is the base plus the tax. The calculator allows you to input either the pre-tax amount or the total, along with your rate, to compute the missing values. All variables are: PreTaxAmount (the price before tax), SalesTaxRate (the tax percentage divided by 100, e.g., 8.25% = 0.0825), TaxAmount (the dollar value of tax), and Total (the final amount paid).

——Worked examples

Retail Purchase with Known Pre-Tax Price

A customer buys a laptop for $800 pre-tax in a region with 6% sales tax. First, convert 6% to decimal: 0.06. Then, Tax = $800 × 0.06 = $48.00. Total = $800 + $48 = $848.00. So the customer pays $848.00 at checkout.

Restaurant Bill with Tax-Inclusive Total

A diner's bill totals $53.50 including 8.5% tax. To find the pre-tax amount: decimal rate = 0.085, so PreTax = $53.50 / 1.085 = $49.308... which rounds to $49.31. Tax = $53.50 - $49.31 = $4.19. The food cost before tax was $49.31, and the tax was $4.19.

Online Service with Custom Rate

A freelancer charges $250 for a service and applies a 3.5% local sales tax. Decimal rate = 0.035. Tax = $250 × 0.035 = $8.75. Total = $250 + $8.75 = $258.75. The client's invoice shows $258.75 due.

——How to read the result

A 'good' sales tax rate is not inherently good or bad—it depends on your location and the tax authority's rules. In the U.S., state sales tax rates range from 0% (e.g., Delaware, Oregon) to over 9% in some cities when combined with local taxes. Many countries have a Value Added Tax (VAT) that can be 20% or higher (e.g., UK, EU). For your calculator, the key is to use the correct rate for your jurisdiction. If you're a business, ensure you charge the right rate for the buyer's location, not yours. For personal use, the rate is usually the one where you make the purchase. Always check with your local tax authority for the exact rate, as it can vary by product type (e.g., groceries may be exempt) and jurisdiction. The pre-tax amount is the base for comparison, and the total is what you actually pay. There is no universal 'good' number—only what is legally required.

——Common mistakes

Common mistakes include: 1) Using the tax rate as a whole number instead of converting to a decimal (e.g., using 8 instead of 0.08), which grossly overstates the tax. 2) Confusing tax-inclusive and tax-exclusive amounts—if you enter a total thinking it's pre-tax, you'll get wrong results. 3) Forgetting to round to two decimal places, which can cause penny discrepancies in accounting. 4) Applying the wrong rate for the product or location, such as using a state rate when a city rate applies. 5) Not accounting for tax caps or exemptions (e.g., clothing under $110 in New York). Edge cases: zero tax rate (results are trivial), extremely high rates (like 100% would double the price), and negative amounts (which are invalid). Always double-check your inputs.

——Glossary
Pre-tax amount
The price of a good or service before any sales tax is added.
Sales tax rate
The percentage of the pre-tax amount charged as tax, often expressed as a decimal in calculations.
Tax-inclusive price
A total price that already includes the sales tax, requiring division to find the pre-tax amount.
Tax-exclusive price
A price that does not include sales tax, so tax is added on top to get the total.
Rounding
Adjusting a number to a specified decimal place, typically two for currency, to avoid fractional cents.
——FAQ

How do I convert a sales tax percentage to a decimal?

Divide the percentage by 100. For example, 8.25% becomes 0.0825.

What if I only know the total price including tax?

Enter the total and the tax rate; the calculator will divide the total by (1 + rate) to find the pre-tax amount and then compute the tax.

Why is my calculated tax different from the receipt?

Check if rounding was applied correctly or if the rate includes local surcharges. Some jurisdictions round per item, not the total.

Can I use this for VAT?

Yes, the same formula applies for VAT—just input the VAT rate as the tax rate.

What if the tax rate is 0%?

Then the pre-tax amount equals the total, and the tax is zero. The calculator will still work.

Does this calculator handle multiple tax rates?

No, this tool uses a single rate. For multiple rates, calculate each portion separately.

Is the result rounded automatically?

Yes, the calculator rounds tax and total to two decimal places, as is standard for currency.

What if I enter a negative number?

Negative amounts are invalid for sales tax calculations. Please enter positive numbers only.

From numbers to a business

Running the numbers on a product business? Every Business-in-a-Box ships the pricing + bookkeeping templates to keep the rest straight.

Reviews

We’re early. Real reviews only.

Apex Digital launched recently. Every purchase comes with a request for honest feedback through our help center. When real buyers write real reviews, they go here — with their permission, by name. Until then, this section stays empty. No fakes. No stock photos. No bullshit.

Used something from the catalog? Leave honest feedback →

While you’re here…