Skip to main content

Sales tax

Sales tax percentage calculator and step-by-step guide

Layer sales tax onto any subtotal, or work backwards from a tax-inclusive total.

Sales tax is a percent layered on top of a subtotal, but the layering rules vary by jurisdiction. Some regions add the tax at the till; some bake it into the shelf price. Some apply different rates to different categories — groceries, prepared food, online subscriptions — and some compound state and local taxes. The math itself is one multiplication and one addition; the complexity sits in the rules around it.

This page focuses on the math. The worked example uses a $145 subtotal at an 8% combined rate, but the same formula handles any rate from 0% to 25% just as cleanly.

Adding 8% sales tax to a price

Sales tax behaves like a percent layered on top of the subtotal. For a $145 subtotal at 8%:

  • Tax owed: $145 × 0.08 = $11.6.
  • Grand total: $145 + $11.6 = $156.6.

If the price already includes tax and you need to back it out, divide the gross total by (1 + rate ÷ 100). Tax rules vary by jurisdiction — verify with official sources before relying on the figure.

Sales tax table for $145

The same $145 subtotal under different percentage settings, so you can scan instead of recompute.

Percent Sales tax amount Grand total
4%$5.8$150.8
5%$7.25$152.25
6%$8.7$153.7
7%$10.15$155.15
8%$11.6$156.6
9%$13.05$158.05
10%$14.5$159.5
12.5%$18.13$163.13
15%$21.75$166.75
20%$29$174

Backing tax out of a gross price

If the price on the shelf already includes tax, divide by (1 + rate ÷ 100) to find the pre-tax subtotal:

  • $156.60 gross at 8% tax → $156.60 ÷ 1.08 = $145 subtotal.
  • The tax portion is $156.60 − $145 = $11.60.

Tax-inclusive pricing is common in the EU and parts of Asia; tax-exclusive pricing is the norm in North America. Always confirm which convention applies before you reconcile a receipt.

Common mistakes to avoid

  • Stacking discounts by addition. 20% off plus another 10% applied to the lowered price is roughly 28% off the original, not 30%.
  • Tipping on the post-tax total without realising the venue intended pretax.
  • Treating "tax-free weekend" as universal — eligible product lists still apply.
  • Forgetting that loyalty rewards may calculate on post-discount spend, not the sticker price.

Calculation tips & best practices

  • Note the discount order from the receipt: percent off first, then dollar coupons, then tax.
  • Tipping mental shortcut: take 10% (decimal shift) and adjust from there.
  • When comparing two stores, always compare the after-tax, after-discount total.
  • Screenshot a confusing shelf tag and recompute later — fewer mistakes than rushing at the till.

People also ask

The questions readers most often pair with this topic.

Note: Percentage results are estimates for informational use only. Always verify critical financial, tax, or business calculations with a qualified professional.

Add tax to a price right now

Open the calculator in Increase mode, type the subtotal and the tax rate, and the grand total appears with the tax amount separated.

Topics from the same family — each one walks a slightly different scenario.

Keep exploring

More free Varyense calculators readers reach for while exploring this topic.