Sales Tax Calculator Formula: Add Tax and Remove Tax from a Total
Learn formulas to add sales tax, remove tax from a total, calculate tax amount, and find the price before tax.
Written by Calzivo Editorial Team
Open Sales Tax Calculator
A sales tax calculator formula helps you add tax to a price or remove tax from a total that already includes tax. The two calculations use different formulas, so it is important to know whether you are starting with a before-tax price or an after-tax total.
For a quick estimate, use the Calzivo Sales Tax Calculator. It helps calculate the tax amount, total price after tax, and price before tax.
What Is a Sales Tax Calculator Formula?
A sales tax formula is the percentage math used to calculate tax on a purchase.
What the Formula Helps You Find
Sales tax formulas can help find:
- sales tax amount
- total price after tax
- price before tax
- tax amount included in a total
- tax rate as a decimal
When to Add Tax vs Remove Tax from a Total
Add tax when you know the pre-tax price. Remove tax when you already know the final tax-included total.
Basic Sales Tax Terms You Should Know
Pre-Tax Price
The pre-tax price is the price before sales tax is added.
Sales Tax Rate
The sales tax rate is the percentage applied to the taxable amount.
Sales Tax Amount
The sales tax amount is the dollar amount of tax added to the purchase.
Total Price After Tax
The total price after tax is the pre-tax price plus the sales tax amount.
How to Add Sales Tax to a Price
Add Tax Formula
Sales Tax = Price x (Tax Rate / 100)
Then:
Total Price = Price + Sales Tax
You can also use:
Total Price = Price x (1 + Tax Rate / 100)
Step-by-Step Example Using a $100 Purchase
Price = $100 Sales Tax Rate = 8% Sales Tax = 100 x 0.08 = $8 Total Price = 100 + 8 = $108
How to Convert a Sales Tax Percent into a Decimal
Divide by 100.
8% = 8 / 100 = 0.08 7.25% = 7.25 / 100 = 0.0725
For general percent conversions, use the Percentage Calculator.
How to Remove Sales Tax from a Total
Reverse sales tax works backward from the final total.
Reverse Sales Tax Formula
Price Before Tax = Total Price / (1 + Tax Rate / 100)
Step-by-Step Example Using a Tax-Inclusive Total
Total Price = $108 Tax Rate = 8% Price Before Tax = 108 / 1.08 = $100
How to Find the Tax Amount After Removing Tax
Tax Amount = Total Price - Price Before Tax
Example:
Tax Amount = 108 - 100 = $8
Sales Tax Calculator Formula Examples
Example with 6% Sales Tax
Price = $50 Tax Rate = 6% Sales Tax = 50 x 0.06 = $3 Total = $53
Example with 7.25% Sales Tax
Price = $200 Tax Rate = 7.25% Sales Tax = 200 x 0.0725 = $14.50 Total = $214.50
Example with 8.875% Sales Tax
Price = $100 Tax Rate = 8.875% Sales Tax = 100 x 0.08875 = $8.875 Total = $108.875
Rounded to cents, the total is $108.88.
Example for Finding Price Before Tax
Total = $54 Tax Rate = 8% Before-Tax Price = 54 / 1.08 = $50 Tax Amount = $4
Add Tax vs Remove Tax: Key Difference
Forward Sales Tax Calculation
Forward calculation starts with the pre-tax price and adds tax.
Reverse Sales Tax Calculation
Reverse calculation starts with a tax-included total and removes tax.
Which Formula Should You Use?
Use the add-tax formula when a store lists a pre-tax price. Use the remove-tax formula when the total already includes tax.
Common Mistakes When Calculating Sales Tax
Using the Percentage Instead of the Decimal Rate
Do not multiply by 8 for 8%. Multiply by 0.08.
Dividing by the Wrong Number When Removing Tax
To remove 8% tax, divide by 1.08, not by 0.08.
Ignoring Local City or County Sales Tax
The state rate alone may not be the full combined rate.
Rounding Too Early in the Calculation
Round at the end, especially with rates like 7.25% or 8.875%.
Tips for More Accurate Sales Tax Results
Use the Correct State and Local Rate
Use the combined rate for the purchase location.
Check Whether the Item Is Taxable
Some items may be exempt or taxed differently.
Round Only at the Final Step
Keep decimals during the calculation, then round the final money amount.
FAQs
What is the formula to add sales tax?
Sales Tax = Price x (Tax Rate / 100)
What is the formula to remove sales tax from a total?
Price Before Tax = Total Price / (1 + Tax Rate / 100)
How do I calculate the original price before tax?
Divide the tax-included total by 1 plus the tax rate as a decimal.
How do I calculate the sales tax amount from the total?
First remove tax from the total to find the before-tax price. Then subtract that before-tax price from the total.
Why does sales tax vary by location?
Sales tax can include state, county, city, and special local rates, and rules can vary by jurisdiction.
Final Note
Sales tax formulas are simple when you know whether you need to add tax or remove tax. Use the correct combined rate, keep decimals until the end, and verify final totals when accuracy matters.
Use the Calzivo Sales Tax Calculator for quick estimates.
Reference check
Sources and references
These references provide background context for the topic. They do not replace professional advice or official documents.
- State Taxes
USA.gov
- Streamlined Sales Tax Governing Board
Streamlined Sales Tax Governing Board
Sales tax formulas depend on whether you are adding tax to a before-tax price or removing tax from a tax-included total.
Use the tool instead
Use the matching calculator when you want to plug in your own numbers and get a result faster.
Open Calculator