How to Include Sales Tax in Price: Formulas, Rounding, and Rules

To include sales tax in the price you charge, multiply the pre-tax amount by one plus the tax rate expressed as a decimal. A $50 item at a 7% rate becomes $50 × 1.07 = $53.50 on the tag. If you’ve already set a flat, round-number price and need to figure out how much of it is tax, run the formula in reverse: divide the total by one plus the rate. That’s the whole calculation. What surrounds it — using the correct rate, rounding consistently, and showing the tax on the receipt even when the sticker price is all-in — is where most of the compliance risk sits.

The Two Formulas

Convert the percentage to a decimal before you do anything else. A rate of 8.25% becomes 0.0825. A rate of 7% becomes 0.07.

To add tax to a pre-tax price:

Total price = Base price × (1 + tax rate)

For a $50 item at 7%:

  • Convert 7% to 0.07
  • Add 1 to get 1.07
  • Multiply: $50 × 1.07 = $53.50

The $3.50 difference is tax you’ve collected on behalf of the state. It isn’t revenue. If you miscalculate and undercharge the customer, you still owe the full tax amount to the taxing authority based on the actual taxable sale price.

To back the tax out of a tax-inclusive total:

Base price = Total price ÷ (1 + tax rate)

For a $100 all-in price at 10%:

  • Convert 10% to 0.10
  • Add 1 to get 1.10
  • Divide: $100 ÷ 1.10 = $90.91

The tax portion is $9.09. This is the number you report on your sales tax return. A common mistake is to multiply the total by the tax rate instead ($100 × 0.10 = $10.00), which overstates the tax and understates your revenue. The tax was calculated on the base, not on the total, so the division method is the only correct way to reverse it.

Rounding When the Math Produces Fractions of a Cent

Sales tax calculations regularly land at three or four decimal places, and you need a consistent way to handle them. The standard used across states that have adopted the Streamlined Sales and Use Tax Agreement is to compute the tax to three decimal places and then round: if the third decimal is 5 or higher, round up to the next cent; if it’s 4 or lower, round down.1Streamlined Sales Tax Implementing States. Streamlined Sales and Use Tax Agreement – Section 324 Rounding Rule Tax computed at $4.3849 rounds down to $4.38. Tax computed at $4.385 rounds up to $4.39.

You can generally choose whether to apply the rounding to each line item or to the invoice total. Rounding once at the aggregated total tends to produce fewer discrepancies over a high volume of small transactions.1Streamlined Sales Tax Implementing States. Streamlined Sales and Use Tax Agreement – Section 324 Rounding Rule

Use the Correct Rate for the Transaction

The formula only works if the rate is right. State, county, and city or district rates stack on top of each other on a single sale, and combined rates change frequently as local levies come and go. Pull the current combined rate for the specific address through your state’s tax agency lookup rather than reusing last quarter’s number.

Origin-Based Versus Destination-Based Sourcing

Which address determines the rate depends on your state’s sourcing rule. About 11 states, including Texas, Ohio, Pennsylvania, and Virginia, use origin-based sourcing: you charge the rate where your business is located regardless of where the buyer is. The majority use destination-based sourcing, meaning you charge the rate at the buyer’s location. For interstate and online sales, destination-based sourcing almost always applies even when your home state is origin-based. That distinction is the difference between tracking one rate and tracking hundreds.

States Without a Statewide Sales Tax

Alaska, Delaware, Montana, New Hampshire, and Oregon have no statewide sales tax, so shipments into those states generally don’t carry state-level tax. Localities in Alaska and Montana can impose their own sales taxes, so “no state tax” doesn’t always mean no tax at all.

Show the Tax Separately, Even When the Sticker Price Is All-In

Whatever you display at the point of sale, the receipt or invoice has to show the tax on its own line. Under the Streamlined Sales and Use Tax Agreement, sellers are required to state and collect the tax separately from the sales price on all taxable retail transactions, whether in person, online, by phone, or by mail.2Streamlined Sales Tax Implementing States. Streamlined Sales and Use Tax Agreement Rules and Procedures

A properly formatted receipt shows three things:

  • The subtotal, meaning the pre-tax cost of the goods or services
  • The tax line, meaning the dollar amount of sales tax listed on its own
  • The total the customer pays

If you fail to break the tax out, you can be held liable for the tax that should have been stated and collected separately.2Streamlined Sales Tax Implementing States. Streamlined Sales and Use Tax Agreement Rules and Procedures Some states will treat the entire displayed price as the taxable base when the tax isn’t broken out, which means you’d owe tax on a larger figure than you intended.

When Tax-Inclusive Pricing Is Allowed

All-in pricing is common in food trucks, festivals, cafes, and other fast-paced settings where round numbers keep the line moving. Instead of ringing up $9.35, you post $10 and handle the split internally.

Not every state allows it. Some states prohibit retailers from embedding sales tax in the advertised price, and others permit it only under specific conditions. Check your state’s rules before adopting the practice. In states that allow inclusive pricing, you’re still expected to back out the tax portion for your return using the division formula, so your point-of-sale system needs to track the base price and tax amount separately in the background even if the customer sees a single number.

Clear signage helps. A notice near the register or on the menu stating that all prices include applicable sales tax sets expectations, and some states specifically require that kind of disclosure when the sticker includes tax.

Register Before You Collect

One boundary worth flagging: before you charge any sales tax at all, you need a sales tax permit (also called a seller’s permit or sales tax license) from every state where you’re required to collect. Every state with a sales tax requires this registration, and collecting without a permit can lead to penalties or criminal charges. Most states issue the permit for free; a few charge a modest fee. The pricing math and the receipt format only come into play once you’re properly registered to collect in the first place.