MONEY MATH GUIDE

How sales tax is calculated

Turn a posted tax rate into the tax amount and final total — or work backward when the tax is already included.

Published September 30, 2026 · Bright Side Kit

The basic sales-tax calculation

Sales tax is usually stated as a percentage, but the calculation uses its decimal form. Divide the rate by 100, multiply it by the taxable subtotal, and then add the tax amount to that subtotal.

Sales tax = taxable subtotal × (tax rate ÷ 100)
Total = taxable subtotal + sales tax
  1. Identify the taxable subtotal.
    This may differ from the full basket if some items are exempt.
  2. Convert the rate to a decimal.
    For example, 7.5% becomes 0.075.
  3. Multiply to find the tax.
    Taxable subtotal × decimal rate.
  4. Add the tax.
    The sum is the amount due, before any other charges.

Worked example: 8% tax on a $95 purchase

Convert 8% to 0.08, then multiply by the $95 taxable subtotal.

Tax: $95 × 0.08 = $7.60
Total: $95 + $7.60 = $102.60

Answer: the sales tax is $7.60 and the total is $102.60.

Worked example: 6.25% tax on a $48 purchase

A rate with decimals works the same way: 6.25% becomes 0.0625.

Tax: $48 × 0.0625 = $3.00
Total: $48 + $3.00 = $51.00

Answer: the sales tax is $3.00 and the total is $51.00.

A one-step shortcut

You can combine the subtotal and tax into one multiplication. Add 1 to the decimal tax rate, then multiply. At 8%, the multiplier is 1.08; at 6.25%, it is 1.0625.

Total with tax = subtotal × (1 + tax rate ÷ 100)

For the $95 example, $95 × 1.08 gives $102.60 directly. The shortcut is useful when you only need the final total. The two-step method is better when you also need to show the tax amount.

How to remove included tax

If the number you have already includes tax, dividing the total by the tax multiplier finds the pre-tax price. Subtracting the tax rate from the total is not correct because the stated rate applies to the smaller pre-tax amount.

Pre-tax price = tax-inclusive total ÷ (1 + tax rate ÷ 100)

Worked example: remove 8% tax from $108

Pre-tax price: $108 ÷ 1.08 = $100
Included tax: $108 − $100 = $8

Answer: the price before tax is $100, and $8 of the total is tax.

More than one tax rate

A receipt can combine state, county, city or special-district rates. When every component applies to the same taxable subtotal, add the rates first. A 4% state rate plus a 2% local rate produces a combined 6% rate.

Worked example: combined 5% and 2.5% rates

The combined rate is 7.5%, or 0.075 as a decimal.

$160 × 0.075 = $12 tax
$160 + $12 = $172 total

Answer: the combined tax is $12.

Do not add rates when they apply to different items or different bases. In that case, calculate each taxable group separately and combine the results.

Discounts, shipping and exempt items

The arithmetic is simple only after you know what is taxable. Rules for coupons, rebates, shipping charges, digital goods, groceries, clothing and services vary by jurisdiction. A store discount often reduces the taxable price, but some manufacturer-funded discounts and fees may be treated differently.

For example, if a $100 item receives a $20 store discount and tax applies to the reduced $80 price, then 7% tax is $5.60 and the total is $85.60. If local rules use another taxable base, the result changes.

Practical rule: use the taxable subtotal shown by the seller or required by the relevant tax authority. This guide explains the math, not which purchases a jurisdiction taxes.

Rounding and receipt differences

Currency is commonly rounded to the nearest cent, but systems do not always round at the same stage. One register may calculate tax on each line item and add the rounded amounts. Another may calculate once on the combined taxable subtotal. Those methods can differ by a cent even when the rate is identical.

For planning, keep extra decimal places until the final step. For checking a real receipt, follow the rounding method and taxable categories printed on that receipt.

Try it: use the free sales tax calculator for instant results.

Frequently asked questions

How do I calculate sales tax on a purchase?

Multiply the taxable subtotal by the tax rate written as a decimal. At 7%, a $60 taxable subtotal produces $60 × 0.07 = $4.20 in tax. Add it to get a $64.20 total.

How do I remove sales tax from a total?

Divide the tax-inclusive total by 1 plus the decimal tax rate. At 5%, divide by 1.05. Subtract the resulting pre-tax price from the total to find the included tax.

Is sales tax calculated before or after a discount?

In many situations tax applies after a store discount reduces the price, but the treatment of coupons, rebates and promotions varies. Use the taxable subtotal shown on the receipt or check the rule for the relevant jurisdiction.

Are shipping charges taxed?

That depends on the jurisdiction, the goods and how delivery is billed. The correct calculation starts with the legally taxable subtotal, which may include all, part or none of a shipping charge.

Why can my calculation differ from the receipt by one cent?

The seller may round tax for each item or category while you rounded only after totaling the basket. Different permitted rounding stages can create a one-cent difference.