Skip to main content

Finance

How to Calculate Sales Tax

Understanding sales tax calculations for shopping, business, and tax planning.

  • 5 min read

Formula

Sales Tax Amount = Price × (Tax Rate ÷ 100)

Total Price = Price + Sales Tax Amount

Show steps

Try it yourself

Total with Tax

120
Tax Amount
20

100 + 20% = 120

What is Sales Tax?

Sales tax is a consumption tax imposed by governments on the sale of goods and services. It is collected by the seller at the point of purchase and paid to the government. Sales tax rates vary by location and product type.

The Sales Tax Formula

Sales Tax Amount = Price × (Tax Rate ÷ 100)

Total Price = Price + Sales Tax Amount

Example Calculation

For a $50 purchase with 8% sales tax:

  1. Calculate tax: $50 × (8 ÷ 100) = $50 × 0.08 = $4
  2. Total price: $50 + $4 = $54

Quick Method

Multiply the price by (1 + tax rate) to get the total directly:

Total = Price × (1 + Tax Rate ÷ 100)

Example: $50 × 1.08 = $54

Reverse Tax Calculation

To find the pre-tax price when you only know the total:

Pre-tax Price = Total ÷ (1 + Tax Rate ÷ 100)

Example: If total is $54 with 8% tax: $54 ÷ 1.08 = $50

Tax-Exempt Items

Many countries and states exempt certain items from sales tax:

  • Groceries and food items
  • Prescription medications
  • Clothing (in some regions)
  • Educational materials

Business Considerations

If you run a business:

  • Collect tax on taxable sales in regions where required
  • Keep records of all sales tax collected
  • Remit taxes to appropriate tax authorities on time
  • Consider tax software for multi-region compliance

Frequently Asked Questions

How do I calculate sales tax on a price?

Multiply the price by the tax rate divided by 100. On a $50 purchase at 8%, the tax is $50 × 0.08 = $4 and the total comes to $54.

How do I find the price before tax from the total?

Divide the total by (1 + tax rate ÷ 100). If a receipt totals $54 with 8% tax, the pre-tax price is $54 ÷ 1.08 = $50.

What is the quickest way to add tax to a price?

Multiply once by (1 + rate). At 8% that is price × 1.08, so $50 × 1.08 = $54 with no separate tax step.

Related guides