Sales Tax Calculator

Add sales tax to a price or strip it back out of a gross total — enter an amount and a rate to see the net, the tax and the total instantly.

Runs in your browserUpdated Built and maintained by Leon and Henrik

Enter an amount and a tax rate, then choose whether to add sales tax to a net price or remove it from a gross total — you get the net, the tax and the total instantly. Free. No sign-up. Runs in your browser, nothing is uploaded.

Sales Tax Calculator

Currency (display only)

Mode

Total with tax
—
Enter an amount and a tax rate
Net
—
Tax
—
Total
—
Runs in your browser
Nothing is uploaded

To add sales tax, multiply the price by 1 plus the rate: $100 at 8.875% is $100 × 1.08875 = $108.88. To take tax back out of a total, divide instead of subtracting: $108.88 ÷ 1.08875 = $100.00. The calculator does both. Pick a mode, type the amount and rate, and it shows the pre-tax price, the tax and the total together, with a copy button for a one-line summary.

The two formulas

You know…You want…Formula
Pre-tax priceTotal to paytotal = price × (1 + rate ÷ 100)
Pre-tax priceTax onlytax = price × rate ÷ 100
Total including taxPre-tax priceprice = total ÷ (1 + rate ÷ 100)
Total including taxTax onlytax = total − price
Price and tax paidThe raterate = tax ÷ price × 100

The first four are built into the two modes. The last one is not a mode, but the FAQ above shows how to do it by hand in a few seconds.

Why you cannot just subtract the percentage

The most common mistake with a receipt total is to take the tax rate off it. The rate was applied to the smaller pre-tax price, so applying it to the larger total takes away too much:

  • Wrong: $108.88 × 8.875% = $9.66, so $108.88 − $9.66 = $99.22
  • Right: $108.88 ÷ 1.08875 = $100.00, and the tax was $8.88

That is a 78-cent error on a $100 purchase, and it grows with the amount: on a $10,888 invoice it is about $78. In Remove tax mode the calculator uses the division, so adding the tax back to the result always returns your original total.

The preset rates and where they come from

The quick buttons cover rates people type most often:

PresetTypical use
7.25%California's statewide base rate; most Californian cities add local district taxes on top
8.875%New York City's combined rate (state, city and the regional transport surcharge)
5%, 10%, 20%Round rates for quick estimates and for countries with a flat national tax

US sales tax is set by states, counties and cities, so the right rate depends on the delivery address, not just the state. Look up the exact combined rate on your state's revenue department website and type it in; the rate field takes up to three decimal places. Rates change, so check before you build a price list on them.

Worked example: pricing a $249 item for checkout

You sell a $249.00 item and ship to a customer whose combined local rate is 8.875%. In Add tax mode:

  • Tax: 249.00 × 8.875 ÷ 100 = 22.098750, shown as $22.10
  • Total: 249.00 + 22.09875 = 271.09875, shown as $271.10

The calculator keeps full precision internally and rounds only for display, so the total is never off by a cent because of a rounded intermediate step.

Sales tax or VAT?

In the US, shelf prices usually exclude sales tax and it is added at the register. In the UK, the EU and many other countries, VAT is already included in consumer prices, and businesses need to split it back out for their accounts. The arithmetic is the same, but if you work with VAT regularly, the VAT Calculator is built around those rates and terms. To take a coupon off before tax, start with the Discount Calculator; a store's own discount usually comes off first and tax is charged on the reduced price, though some states tax the pre-coupon price for manufacturer coupons. For any other share-of-a-number question, the Percentage Calculator is a click away, and the all tools page lists the rest.

What a single-rate calculation cannot cover

Real receipts can mix rates (groceries and prepared food are often taxed differently), exempt some items entirely, tax or not tax shipping depending on the state, and round each line separately. For a single item or a quick estimate the calculator is exact; for filing returns, follow your state's rules on what is taxable and how to round.

Frequently asked questions