Sales tax calculator: add tax or find the price before it

US · Canada

Enter an amount and the combined sales tax rate of the place you are buying in. The page adds the tax to a price, or works backwards from a total to the price and the tax it holds.

Choosing a country changes the calculator below.

Add tax when you know the price before tax. Take it out when you know the total with tax, as on a receipt.
$
The price before tax when adding tax, or the total paid with tax when taking it out.
%
State, county and city taxes together, as shown on a receipt or on the state’s revenue department site. 8.25 is the highest combined rate in Texas.

Result

Summary

Sales tax

$20.62

Price before tax
$249.99
Price with tax
$270.61

One combined rate on one amount, with the tax kept to whole cents and a half cent going up. It holds no list of rates, because rates change by address, and it leaves out exempt goods, the rules for delivery charges and any other tax. A receipt can differ by a cent.

Sales and Use Tax (Texas Comptroller of Public Accounts). The 6.25% state rate and local taxes of up to 2%; read on 2026-11-25.

Sales and Use Tax Rates (California Department of Tax and Fee Administration). The statewide rate and the range of district taxes; read on 2026-11-25.

A $249.99 purchase at 8.25%, and back from the total

A buyer in a Texas city that charges the full local tax pays a combined 8.25% on a $249.99 purchase. The tax is $20.62, because $249.99 × 8.25% comes to 20.624175 and is cut to whole cents, so the receipt total is $270.61.

Starting from that receipt total, $270.61, the page divides once: the total times 8.25% over 108.25 gives $20.62 of tax, and what is left, $249.99, is the price before tax.

How the tax is worked out and rounded

Adding tax multiplies the price before tax by the rate and divides by 100, then keeps whole cents, counting exactly half a cent as a full one. The total is the price plus that tax.

Taking tax out cannot use the rate alone, because the tax was added to the price, not taken from the total. The tax inside a total is the total times the rate over 100 plus the rate, kept to whole cents the same way, and the price before tax is the total less that tax, so the two always add up to what was paid. Everything is multiplied first and divided once.

Which rate to enter

The rate is the combined one for the place of sale. The Texas Comptroller describes a 6.25% state tax with local taxes of up to 2% added, and California’s tax department a 7.25% statewide rate to which district taxes add 0.10 to 2.00 percent. Other states differ, so read the rate from a receipt or from your state’s revenue department.

The page keeps no table of rates on purpose: rates are set by states, counties and cities, change at any time and can differ between two addresses a street apart.

What the page leaves out

Goods and services a state exempts, delivery and service charges, tax holidays, trade-ins and coupons, and any tax other than sales tax are not counted. Some places round on the whole receipt rather than on one amount, so a receipt can differ by a cent. In countries with a VAT, shelf prices already include it: the VAT calculator on this site works from either side.

Sources

Questions

How do I find the sales tax rate for my address?

Look at a receipt from a shop near you, or use the lookup on your state’s revenue department site, which gives the combined rate for an address. Enter that combined figure; the page does not split it into state and local parts.

How do I get the price before tax from a receipt total?

Choose “Take tax out of a total” and enter what you paid. The page does not subtract the rate from the total, which would take out too much; it takes the share of the total that is tax.

Why is my receipt a cent away from this page?

A shop may add the tax of each item and round each one, or round once on the whole basket. This page rounds once on the one amount you enter, so enter items one at a time to see a shop that rounds per item.

Is a delivery charge taxed?

It depends on the state and on how the charge is made, so check its revenue department’s guidance. If your state taxes it, add it to the amount before you work out the tax.

Does this work for a VAT country or for Canada?

This page is for a single combined rate typed in. Canada has its own page here with the GST, HST, PST and QST of each province, and in countries with a VAT the price on the shelf already contains the tax, which the VAT calculator splits.

Reviewed by the DirectCalculators team. The formula is tested against its source’s worked examples, where the source gives any, and cases worked by hand; see how we calculate.