Sales Tax Calculator

Understand the number before you pay

Sales tax questions usually sound simple, but the answer depends on one detail people often gloss over: is the amount you have in front of you the price before tax or the total after tax? This calculator handles both directions. In Add Tax mode, you start with a pre-tax price and find the tax amount plus the final total at checkout. In Remove Tax mode, you start with a tax-inclusive total and work backward to the original pre-tax price. That reverse direction is useful when you are checking a receipt, separating reimbursable business expenses, or confirming that a marketplace or invoice applied the right percentage.

The arithmetic itself is short. Most mistakes happen earlier, when the amount field is interpreted the wrong way or the rate is entered in the wrong format. A tax rate of 8.25 means 8.25 percent typed exactly as 8.25, not 0.0825. The amount field changes meaning with the selected mode, so the same number can represent two different real-world situations. Once you match the inputs to the receipt or price tag correctly, the calculator gives a quick, dependable breakdown you can use for shopping, budgeting, bookkeeping, and basic receipt audits.

What each input means in plain language

The Amount field is the money figure you already know. If you are adding tax, Amount is the price before tax. If you are removing tax, Amount is the final total that already includes tax. That distinction matters because a tax-inclusive total is not reduced by simply subtracting the percentage. To undo tax correctly, the calculator divides by the tax multiplier instead.

The Tax Rate (%) field is the combined sales tax percentage that applies to the purchase. Enter the percent the way people usually say it out loud: 5, 7.25, 8.875, and so on. If a receipt is affected by state, county, and city sales tax at the same time, add those percentages together first when they all apply to the same taxable base. If some items are exempt or taxed at a different rate, calculate each taxable group separately rather than forcing the whole receipt into one line.

Calculation Mode tells the calculator which direction to solve. Add Tax answers the shopping question most people ask at the shelf: what will I actually pay? Remove Tax answers the bookkeeping question: if the final total is already known, how much was the underlying price and how much was tax? Think of the mode as the difference between building the receipt and reverse-engineering it.

  • Add Tax: start with the pre-tax selling price and compute the tax amount and total.
  • Remove Tax: start with the tax-inclusive total and back out the original price.
  • Currency: keep all money values in the same unit. The page formats results in US dollars, but the percentage math works the same in any currency.

A good habit is to pause for one second before calculating and restate the question in ordinary language. If you can say, I know the shelf price and I want the total, you are in Add Tax mode. If you can say, I only know the final total and I need the pre-tax amount, you are in Remove Tax mode. That tiny check prevents the most common input error on pages like this.

The sales tax formulas

When tax is added to a price, the tax amount equals the pre-tax price multiplied by the rate expressed as a decimal. The total is then the original price plus that tax amount. In practice, you can think of this as multiplying the price by one plus the rate. For example, an 8.25 percent tax rate becomes a multiplier of 1.0825.

Tax = Price ร— Rate 100 Total = Price ร— ( 1 + Rate 100 )

Removing tax goes the other direction. Because the total already contains the original price and the tax added on top of it, the correct inverse step is division by the same multiplier. That is why backing tax out of a total is not the same as subtracting the rate from the total.

PreTax = Total 1 + Rate 100

If you like to see the calculation in a more general way, the existing MathML below shows the broad structure that many calculators follow: inputs go into a function, and a weighted sum is a common special case. Sales tax is simpler than that generic model, but the same idea applies. The output is a repeatable function of the amount, the tax rate, and the direction of the calculation.

R = f ( x1 , x2 , โ€ฆ , xn ) T = โˆ‘ i=1 n wi ยท xi

For this calculator, the important takeaway is simpler than the abstract notation: the rate is a percentage, the mode determines the direction, and the output is a money breakdown that should always make sense when you compare it with your receipt.

Worked example: adding tax and then checking it in reverse

Suppose an item has a shelf price of $85.00 and the local sales tax rate is 8.25%. In Add Tax mode, the calculator first finds the tax amount. Converting the rate to a decimal gives 0.0825, so the tax is 85.00 ร— 0.0825 = 7.0125. Rounded to the nearest cent, that becomes $7.01. The total after tax is then 85.00 + 7.0125 = 92.0125, which rounds to $92.01.

Now imagine you only have the final receipt total of $92.01 and you want to know the original price before tax. In Remove Tax mode, the calculator divides by 1.0825. The result is about 84.9965, which rounds back to $85.00. The tax portion is the difference between the total and the pre-tax price, which is again about $7.01. Running the example in both directions is a good way to see why adding tax uses multiplication while removing tax uses division.

This example also explains why receipts sometimes differ by a cent from a hand calculation. Some merchants round at the line-item level, others round after subtotals, and some systems treat discounts, shipping, or mixed taxability in a specific order. If your result is off by a penny, that usually points to a rounding convention rather than a broken formula. If the difference is larger, the first things to check are the tax rate, whether every item was taxable, and whether the amount you entered was pre-tax or tax-inclusive.

Quick comparison table

To get a feel for scale, here is what happens to a $120.00 pre-tax purchase at a few different rates. The pattern is exactly what you would expect: the higher the rate, the larger the tax amount and the final total.

Example totals for a $120.00 pre-tax purchase
Tax rate Tax amount Total with tax What it tells you
5.00% $6.00 $126.00 A modest rate still changes the final price enough to matter for budgeting.
8.25% $9.90 $129.90 Common local rates add almost ten dollars to a $120 purchase.
10.00% $12.00 $132.00 At 10 percent, the mental math is easier because the tax is one tenth of the price.

That table is useful as a quick reasonableness check. If a receipt total looks far outside the ballpark for the price and rate you expect, it may include non-tax charges, the wrong jurisdiction, or a different taxable base than the one you had in mind.

How to interpret the result

After you click Calculate, the result area shows a compact breakdown with the calculation mode, the base amount, the tax amount, and the total with tax. In Add Tax mode, the base amount is the pre-tax price you started from. In Remove Tax mode, the base amount is the recovered pre-tax price found by dividing the total by the tax multiplier. The wording in the results table helps you confirm that the calculator answered the exact question you intended to ask.

A fast sanity check has three parts. First, make sure the unit is money and the magnitude seems plausible. Second, ask whether the tax amount is roughly the right share of the purchase. Third, check the direction: when you add tax, the total should be larger than the starting amount; when you remove tax, the recovered pre-tax price should be smaller than the starting total. If any of those checks fail, the culprit is usually the mode or the rate, not the arithmetic.

The Copy Results button gives you a short summary you can paste into notes, email, or a spreadsheet. That is handy when you are comparing several scenarios, such as different jurisdictions, different item prices, or a before-and-after check on a receipt. Copying the output also helps you document which rate and mode produced a particular number so you can reproduce it later.

Assumptions and edge cases to keep in mind

This calculator is intentionally straightforward. It assumes one sales tax rate applies to the full amount you enter. That makes it ideal for a single taxable item, a simple receipt subtotal, or a quick reverse check on a total, but it also means you should think twice before using one number for a mixed receipt with exempt goods, different categories, or multiple rules layered together.

  • Taxable base: the calculator assumes the entire amount is taxable at the stated rate.
  • Combined rate: if state, county, and city taxes all apply, combine them before entering the rate.
  • Rounding: merchants may round line items, subtotals, or invoice totals differently, so a one-cent difference can be normal.
  • Special rules: exemptions, tax holidays, coupons, shipping treatment, marketplace fees, and origin or destination rules can change the real receipt.
  • Display format: results are shown in US dollar format for readability, even though the percent math itself is currency-agnostic.

When the receipt involves compliance or accounting decisions, treat this calculator as a fast checking tool rather than a substitute for a jurisdiction-specific tax engine. It is best at answering clear, everyday questions: what will I pay after tax, how much tax is in this total, and does this receipt look reasonable given the posted rate?

In Add Tax mode, Amount means the pre-tax price. In Remove Tax mode, Amount means the total that already includes tax.

Enter a price or total, enter the tax rate, and choose whether you want to add tax or remove it.
Clipboard status will appear here after you copy a result.

Mini-game: Receipt Rush

This optional mini-game turns the same calculator decision into a quick reflex challenge. Each round shows either a shelf price with a tax rate or a receipt total with a tax rate. Your job is to stop the scanner on the correct amount before the rush gets faster. Green rounds mean add tax. Blue rounds mean remove it. The game does not affect the calculator result, but it is a fun way to build instinct for the two formulas.

Score: 0
Time: 75s
Streak: 0
Progress: Rush 1/3 ยท 0 served
Best: 0

Receipt Rush

Click or tap when the scanner reaches the right amount. Green rounds ask for the tax-inclusive total. Blue rounds ask you to remove tax and stop on the pre-tax price. Streaks build points, and the checkout speeds up during rush hour.

Controls: click, tap, space, or enter. Clear objective: stop the moving scanner on the correct amount before time runs out.

Best score: 0

Practice the same choice as the calculator: add tax to a price or remove tax from a total.

Embed this calculator

Copy and paste the HTML below to add the Sales Tax Calculator | Add Tax or Remove Tax From a Total to your website.