---
slug: sales-tax-calculator
title: "Sales Tax Calculator"
category: math
updated: 2026-11-17
canonical: https://calcseed.com/c/math/sales-tax-calculator/
html: /c/math/sales-tax-calculator/
---

# Sales Tax Calculator

Calculate sales tax and the total price, or work backwards to the pre-tax price from a total. Free and instant.

## Quick answer

**Quick answer:** with the default inputs ($100, 8%), the total with tax is **$108.00**. At these inputs: tax amount = **$8.00**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| Pre-tax price | 100 | $ |
| Sales tax rate | 8 | % |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| Total with tax | 108 | $ |
| Tax amount | 8 |  |

## Formula

```text
total = price × (1 + rate ÷ 100)
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| Pre-tax price | number | $ | 100 |
| Sales tax rate | number | % | 8 |
| Total with tax | number | $ | 108 |

## Outputs

| Result | Format |
| --- | --- |
| Total with tax | primary |
| Tax amount | currency |

## How it works

### What this calculator does

Enter any two of the pre-tax price, the combined sales tax rate and the total, and the calculator fills in the third plus the dollar amount of tax. At its defaults — a $100 pre-tax price at an 8% rate — the tax is **$8.00** and the total is **$108**. It also runs backward: from a $108 total at 8% it recovers the $100 pre-tax price, which is the question to ask when a receipt shows only the bottom line.

### The formula

The multiplier (1 + rate ÷ 100) converts the rate into "the fraction of the price you pay including tax". At 8%, you pay 108%, so the multiplier is 1.08 and a $100 item totals 100 × 1.08 = $108. The tax amount is total − price, which must also equal price × rate ÷ 100: 100 × 0.08 = $8. If those two figures disagree on a receipt, a local surcharge or a rounding rule is at work.

Reversing the formula gives the pre-tax price: price = total ÷ (1 + rate ÷ 100). At 8%, $108 ÷ 1.08 = $100. A different reversal answers "what rate am I actually paying?": rate = (total ÷ price − 1) × 100. If you paid $109.50 for a $100 purchase, the effective rate is 9.5%, regardless of what the sign on the wall says.

### Worked example at the defaults

- Convert the rate to a multiplier: 1 + 8 ÷ 100 = 1.08.
- Multiply: 100 × 1.08 = $108. That is the total with tax.
- Tax amount: 108 − 100 = $8, equivalently 100 × 0.08 = $8.

A quick scale rule: at 8%, every $10 of price carries $0.80 of tax, and every $100 carries $8. A $250 purchase at the same rate totals 250 × 1.08 = $270, of which $20 is tax. If your estimate for a cart of groceries differs from the register by a few dollars, local levies or taxable-item rules are usually the reason.

### US combined sales tax rates (illustrative)

| State | Avg combined rate | Tax on $100 |
| --- | --- | --- |
| Oregon | 0% | $0 |
| Colorado | ~7.8% | ~$7.80 |
| Texas | ~8.2% | ~$8.20 |
| California | ~8.8% | ~$8.80 |
| New York | ~8.5% | ~$8.50 |
| Tennessee | ~9.5% | ~$9.50 |

Combined rates stack the state levy plus county and city taxes, which is why the same purchase rings up differently across a metro area. The exact rate applies to the delivery address, not the state average — in Texas the state floor is 6.25% and local add-ons push the combined figure to roughly 8.2% in large cities. Five states levy no statewide sales tax at all (Alaska, Delaware, Montana, New Hampshire and Oregon), though some allow local option taxes.

### What sales tax applies to

- **General merchandise.** Most physical goods are taxable everywhere that has a sales tax.
- **Groceries.** Many states exempt unprepared food; others tax it at a reduced rate or in full, which changes a weekly $150 grocery run by $0–$12 depending on the state.
- **Shipping.** Roughly half of states tax delivery charges when the order itself is taxable, so a $12.95 shipping fee can carry about $1 at an 8% rate.
- **Services.** Most states do not tax ordinary services, but a growing list taxes specific ones such as car repairs or landscaping.
- **Online purchases.** Since 2018, large online retailers collect sales tax in every state that has one; marketplace sellers use the buyer&rsquo;s address rate.

### Backing out the pre-tax price

Leave the price blank and enter the total and rate; the calculator divides instead of multiplying. A $108 total at 8% means 108 ÷ 1.08 = $100 pre-tax and $8 of tax. This matters for expense reports, which usually want the pre-tax figure, and for comparing prices across tax jurisdictions: a $108 total at 8% and a $106 total at 6% both come from a $100 item, so neither store is cheaper. Note the trap here: dividing the total by the rate (108 ÷ 0.08 = $1,350) answers nothing — the divisor must be (1 + rate ÷ 100).

### Common mistakes

- **Dividing the total by the rate.** To remove tax, divide by (1 + rate ÷ 100), not by the rate itself. $108 ÷ 1.08 = $100, while $108 ÷ 0.08 is meaningless.
- **Using the state rate instead of the combined rate.** A 6.25% state floor with local add-ons becomes about 8.2% at the register — a $2 difference on every $100.
- **Assuming tax is on everything.** Groceries, prescription medicine and many services are exempt or reduced in many states, so a blanket 8% overestimates a mixed cart.
- **Confusing tax rate with tax amount.** An 8% rate is not $8 unless the price is $100; on a $250 purchase the same rate is $20.
- **Applying destination tax when shipping.** Use the rate where the goods are delivered, not where the seller sits.

### Tax, tips and discounts: the order matters

When several percentage adjustments hit one bill, sequence changes the result. A 20% discount followed by 8% tax on a $100 item gives 100 × 0.80 × 1.08 = $86.40. Tax first then discount gives the same $86.40 here because both are multiplicative and commute — but a coupon stated as "$10 off" does not commute: $100 − $10 = $90, then × 1.08 = $97.20 taxed on $90, versus $100 × 1.08 = $108 then − $10 = $98. Stores generally discount first and tax the reduced amount, which favors the buyer. Tips, by custom, stay on the pre-tax subtotal, so a full restaurant check combines three different bases: food subtotal, tax on the whole amount, and tip on the subtotal only.

## FAQ

### How do you calculate sales tax?

Multiply the pre-tax price by the rate and add it on, or multiply by (1 + rate ÷ 100) in one step. At 8%, a $100 item totals 100 × 1.08 = $108, with $8 of tax.

### How do I find the price before tax?

Divide the total by (1 + the rate as a decimal). A $108 total at 8% is 108 ÷ 1.08 = $100 pre-tax, with $8 of tax.

### How much is 8% sales tax on $100?

Exactly $8, for a total of $108. On other prices, tax = price × 0.08: $6.40 on $80, $20 on $250.

### Why is my sales tax different from the state rate?

Counties and cities add local taxes on top of the state rate. Texas starts at 6.25% but large cities reach about 8.2% combined.

### Is sales tax charged on shipping?

In roughly half of US states, yes, when the merchandise itself is taxable. A $12.95 shipping charge carries about $1.04 of tax at 8%.

### Are groceries taxed?

Depends on the state. Many exempt unprepared food entirely, while others tax it fully — on a $150 weekly shop that is a $0 to $12 swing at 8%.

### Which states have no sales tax?

Alaska, Delaware, Montana, New Hampshire and Oregon levy no statewide sales tax, though Alaska allows local option taxes.

### How do I calculate the tax rate from a receipt?

Divide the tax amount by the pre-tax price and multiply by 100. If $8 of tax sits on a $100 subtotal, the rate is (8 ÷ 100) × 100 = 8%.

### Do I pay sales tax on online orders?

Large retailers collect it in every state that has one, using the delivery address rate. A $100 order to an 8.8% area costs $108.80 delivered.

### Is sales tax applied before or after a discount?

Stores tax the amount you actually pay, so the discount comes first: $100 less 20% is $80, then 8% tax brings it to $86.40.

## Method and sources

Methodology: Results follow exact mathematical definitions; the arithmetic is deterministic and can be verified by hand from the steps shown.

Last updated: 2026-11-17.
- Sales tax = price x rate; total = price + tax.
