Sales tax calculator: add tax or find the price before it
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.
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.
How this was calculated
Step by step, with the figures above.
- Sales taxprice before tax × rate ÷ 100. price before tax: $249.99 · rate: 8.25%. Rounded to 2 decimal places, halves away from zero.
- Price with taxprice before tax + all the taxes. price before tax: $249.99 · all the taxes: $20.62
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.
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
- 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.
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.
Related calculators
- Discount calculator: stacked percent off and price before
- Tip and bill split calculator with round-up shares
- Unit price comparison: cost per kilo, litre, pound or piece
- Net worth calculator: assets, debts and home equity
- Price per square foot and square meter: compare two homes
- Basis points to percent: new rate and yearly interest
- Return on investment calculator: ROI and annualized return
- CAGR calculator: compound annual growth rate
- Stock profit calculator with fees and dividends
- Average share cost calculator for several purchases
- Return on equity calculator with DuPont breakdown
- Loan to value calculator: LTV, CLTV and HCLTV
- Net effective rent calculator with free months and credits
- Prorated rent calculator by day for a partial month
- Loan payment calculator with amortization schedule
- Loan payoff calculator: extra payments and interest saved
- Credit card payoff calculator: minimum or fixed payment
- Time value of money calculator: PV, FV, payment and rate
- Annuity payout calculator: income from savings
- Compound interest calculator with monthly deposits
- Effective annual rate calculator (APR to APY)
- CD calculator: interest, APY and a ladder for term deposits
- Simple interest calculator by days, months or years
- Rule of 72 calculator: years to double or the rate needed
- Net present value calculator: NPV and discounted cash flow
- IRR calculator: internal rate of return on yearly flows
- Payback period calculator: simple and discounted
- WACC calculator: weighted average cost of capital
- Price elasticity calculator: demand, supply, cross-price
- Rent affordability calculator: what rent a standard allows
- Debt to income ratio calculator: your DTI against a limit
- Real estate commission calculator: fee, VAT and split
- Loan APR calculator: the true yearly cost with fees
- Bond price and yield to maturity calculator
- Student loan repayment calculator for US federal loans
- Depreciation calculator: MACRS, straight line, declining
- Rental property depreciation calculator by country
- Adjusted gross income (AGI) and MAGI calculator
- Cash rounding calculator: the cash total by country
- Coin counter: the value and weight of your coins
- PTO accrual calculator: leave earned per pay period
- PayPal fee calculator: what you keep from a payment
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.