Free tool
Sales tax calculator
Two sums in one tool: add tax to a price, or pull the tax back out of a total that already includes it.
This calculator works sales tax both ways. To add tax, it multiplies the pre-tax amount by the rate: tax = amount times rate, and total = amount plus tax. To find the tax inside a tax-included total, it divides: pre-tax = total divided by (1 plus the rate), and tax = total minus pre-tax. You type the rate.
Last updated
- Pre-tax amount
- $100.00
- Sales tax
- $7.50
- Total with tax
- $107.50
Use the rate for the place where the sale is taxed. This is an estimate and general information, not tax, legal or financial advice.
How to use it
- Type the amount.
- Type the sales tax rate for the sale, as a percent.
- Choose whether the amount is before tax (add tax) or already includes tax (find the tax inside).
- Read the pre-tax amount, the tax and the total.
The formula
Adding tax: tax = pre-tax amount times the rate, rounded to the cent. Total = pre-tax amount plus tax.
Finding the tax inside a total: pre-tax amount = total divided by (1 + rate), rounded to the cent. Tax = total minus the pre-tax amount.
Worked example, adding: $100.00 at 7.5% gives $7.50 of tax and a total of $107.50. Worked example, working backward: a total of $107.50 at 7.5% is $107.50 divided by 1.075 = $100.00 before tax, with $7.50 of tax inside it.
A common mistake when working backward is to take 7.5% of the total. That gives $8.06, which is too much, because the total already has the tax in it.
When sales tax applies
In the United States, sales tax is set by states and often by counties and cities too, so the rate depends on where the sale is taxed. What is taxed also differs. Many states tax goods and not most services, some tax certain services, and some have no state sales tax at all.
This page does not know your rate or whether your sale is taxable. Look up the rate with your state’s tax agency, and ask an accountant if you sell in more than one state. The result is an estimate and general information, not tax, legal or financial advice.
Put it on an invoice
Show the tax as its own line under the subtotal so the customer can see it. The invoice builder on the AnyInvoices home page and the free invoice generator take one tax rate per invoice, apply it after any discount, and let you mark lines that are not taxable.
Questions
How do I add sales tax to a price?
Multiply the price by the tax rate as a decimal, then add the result to the price. At 7.5%, a $100.00 price has $7.50 of tax and a total of $107.50.
How do I take sales tax out of a total?
Divide the total by 1 plus the rate as a decimal. At 7.5%, divide by 1.075. A $107.50 total is $100.00 before tax and $7.50 of tax.
What sales tax rate should I use?
The rate for the place where the sale is taxed, which can combine state, county and city rates. Your state’s tax agency publishes them. This calculator uses whatever rate you type.
Do I charge sales tax on services?
It depends on the state and the service. Many states do not tax most services, and some tax specific ones. Check your state’s rules or ask an accountant.
This page is general information, not legal, tax or financial advice. Rules differ by state and by contract; check yours or ask an accountant or a lawyer.