Free calculator
Sales tax calculator
Sales tax = taxable price x rate. To back tax out of a tax-inclusive total, divide the total by 1 plus the rate; the difference is the tax.
Drafted with AI assistance and checked against the primary sources listed on this page. How we make these pages
Result
- Sales tax on the price
- $106.13
- Invoice total with tax
- $1,392.53
- Tax inside the tax-inclusive total
- $187.48
- Net sale inside that total
- $2,272.52
At a glance
- Inputs come from
- The invoice subtotal, the state rate lookup, and register totals
- Result is expressed as
- Dollars and cents, rounded to the nearest cent
- Where it is booked
- Credit Sales tax payable, a current liability, not revenue, when the tax is on the buyer
- Period
- Each sale, then totaled for the filing period your state assigns
- Rate from a receipt
- Tax on the receipt / taxable price before tax, times 100
Formula
Sales tax = taxable price x rate; tax inside a tax-inclusive total = total - total / (1 + rate)
When to use it
When you invoice a taxable sale, when register or event takings were rung up at prices that already include tax, and each filing period when you tie Sales tax payable to the return.
What it does not prove
The calculator does arithmetic only. It cannot tell you whether an item is taxable, which jurisdiction's rate applies, or how your state rounds fractions of a cent. Those rules come from the state revenue department, and a CPA or enrolled agent confirms them.
Worked example
A hardware store's contractor invoice and home show booth, October 2026
Corbel Hardware keeps accrual basis books. On October 9, 2026 it invoices a contractor on account for $1,286.40 of taxable lumber and fasteners. On October 17 it runs a booth at a home show where posted prices include tax, and the booth takes $2,460.00 in card and cash. Assume the combined state and local rate at both locations is 8.25%.
- 1Convert the rate to a decimal: 8.25 / 100 = 0.0825.
- 2Tax on the invoice: $1,286.40 x 0.0825 = $106.128, which rounds to $106.13.
- 3Invoice total: $1,286.40 + $106.13 = $1,392.53, the amount the contractor owes.
- 4Net sale inside the booth takings: $2,460.00 / 1.0825 = $2,272.517, which rounds to $2,272.52.
- 5Tax inside the booth takings: $2,460.00 minus $2,272.52 = $187.48. Check it: $2,272.52 x 0.0825 = $187.48.
| Account | Debit ($) | Credit ($) |
|---|---|---|
| Accounts receivable | 1,392.53 | |
| Sales revenue | 1,286.40 | |
| Sales tax payable | 106.13 |
| Account | Debit ($) | Credit ($) |
|---|---|---|
| Cash | 2,460.00 | |
| Sales revenue | 2,272.52 | |
| Sales tax payable | 187.48 |
| Debit ($) | Credit ($) |
|---|---|
| 1,392.53 | |
| 1,392.53 |
| Debit ($) | Credit ($) |
|---|---|
| 1,286.40 | |
| 2,272.52 | |
| 3,558.92 |
| Debit ($) | Credit ($) |
|---|---|
| 106.13 | |
| 187.48 | |
| 293.61 |
| Debit ($) | Credit ($) |
|---|---|
| 2,460.00 | |
| 2,460.00 |
Debits on the left, credits on the right. The last row is the net of these entries only; any balance the account held before them is not shown.
The invoice carries $106.13 of tax, the booth day holds $187.48, and Corbel owes $293.61 for the two sales.
How to calculate sales tax, step by step
- Take the taxable subtotal from the invoice, after discounts, leaving out exempt lines.
- Look up the combined state and local rate for the sale location on the state revenue department's site.
- Multiply the subtotal by the rate as a decimal and round to the cent under your state's rule.
- For a tax-inclusive total, divide by 1 plus the rate for the net sale; the remainder is the tax.
- Credit each tax amount to Sales tax payable and tie the period total to the return.
Booking the calculator's results as revenue and Sales tax payable
Each sale the sales tax calculator splits goes to two credits: the net sale to Sales revenue and the tax to Sales tax payable, a current liability. The debit is the full amount owed or paid, Accounts receivable for the $1,392.53 invoice and Cash for the $2,460.00 booth day. IRS Publication 334 (2025) says sales taxes imposed on the buyer that you must collect and pay over are not income, so Corbel's $293.61 never reaches the income statement.
Publication 334 (2025) treats a tax imposed on you as the seller differently: the amount you collect from the buyer is included in gross receipts. The calculator's arithmetic does not change, only the income tax reporting. A CPA or enrolled agent confirms which kind of sales tax your state levies.
Backing sales tax out of a tax-inclusive total
A tax-inclusive total already holds 1 plus the rate for every dollar of sales, so divide by 1.0825, not multiply by 0.0825. Multiplying $2,460.00 by 0.0825 gives $202.95, which taxes the tax itself. Booking that figure understates revenue and overstates the payable by $15.47 for that day.
Figure the net sale first, round it, then take the tax as the difference, so the two lines add back to the exact cash taken. Compare the register's own tax report with the backed-out figure. Gaps of a few cents come from per-item rounding; a gap of dollars points to a wrong rate setting or an item with the wrong tax status.
| Line | Divide by 1 plus rate (correct) | Multiply by rate (wrong) |
|---|---|---|
| Sales revenue | $2,272.52 | $2,257.05 |
| Sales tax payable | $187.48 | $202.95 |
| Total | $2,460.00 | $2,460.00 |
| Tax as a share of revenue | 8.25% | 8.99% |
Tracing a Sales tax payable gap back to the untaxed sales
The sales tax rate also works backward to find untaxed sales. Each filing period, multiply taxable sales from the sales report by the rate and compare the product with the credits to Sales tax payable. In September 2026, Corbel's $41,800.00 of taxable sales at 8.25% gives $3,448.50, which matches the payable exactly.
October 2026 shows $3,943.50 of tax due on taxable sales but only $3,861.00 credited to the payable, an $82.50 gap. Dividing $82.50 by 0.0825 points to $1,000.00 of taxable sales booked with no tax: a contractor invoice whose tax line was deleted by hand. The return figures tax on taxable sales, not on tax collected, so Corbel rebills the contractor and pays the full $3,943.50 with the October 2026 return.
| Account | Debit ($) | Credit ($) |
|---|---|---|
| Accounts receivable | 82.50 | |
| Sales tax payable | 82.50 |
| Account | Debit ($) | Credit ($) |
|---|---|---|
| Sales tax payable | 3,943.50 | |
| Cash | 3,943.50 |
| Line | September 2026 | October 2026 |
|---|---|---|
| Gross sales | $48,200.00 | $52,900.00 |
| Exempt sales | $6,400.00 | $5,100.00 |
| Taxable sales | $41,800.00 | $47,800.00 |
| Tax at 8.25% | $3,448.50 | $3,943.50 |
| Credited to Sales tax payable | $3,448.50 | $3,861.00 |
| Difference to investigate | $0.00 | $82.50 |
Inputs that make the calculated sales tax wrong
The rate is the usual weak input. Local rates change on dates the state announces, deliveries may be taxed at the buyer's location, and shipping or labor may be taxable in one state and exempt in the next. A refund booked only against revenue leaves its tax in the liability, and sales tax a marketplace remits for you stays out of your payable.
Your state's rule also decides whether sales tax is rounded per line or per invoice, which can move it by a cent. Tax you pay as a buyer stays out of Sales tax payable: Publication 334 (2025) makes it part of the cost of what you bought, and Publication 551 (December 2025 revision) puts it in the basis of property, such as a forklift.
Sales tax calculator: common questions
How do I back sales tax out of a total?
Divide the tax-inclusive total by 1 plus the rate as a decimal to get the net sale, round it, and subtract it from the total. At 8.25%, $2,460.00 / 1.0825 = $2,272.52, which leaves $187.48 of tax.
How do I find the sales tax rate from a receipt?
Divide the tax on the receipt by the taxable price before tax, then multiply by 100. $3.96 of tax on a $48.00 subtotal gives 0.0825, or 8.25%. On small receipts rounding can skew the answer, so confirm the rate on the state's lookup.
Is sales tax figured before or after a discount?
A discount you give at the register usually lowers the taxable price, so tax is figured on the reduced amount. Coupons a manufacturer reimburses can be treated differently, and each state sets that rule. Enter the price your state treats as taxable.
Is sales tax calculated per item or on the invoice total?
That depends on the state's rounding rule. Three $0.70 items at 8.25% carry $0.06 of tax each, or $0.18, while their $2.10 total carries $0.17. Use the method your state revenue department allows, the same way every time.
What rate do I use for a sale I deliver to another city?
That depends on whether your state taxes sales at the seller's location or the buyer's. Where the delivery address governs, the local part of the rate follows that address. Look up the rate for the address your state's sourcing rule names, then enter it here. A delivery into another state falls under that state's rules instead, including whether you collect its tax at all.
Sources
Keep learning
More bookkeeping calculators
Educational information only. Booksmrt provides bookkeeping services, not tax, legal, audit, or investment advice. Confirm material accounting and tax decisions with the appropriate professional.