Sales Tax Calculator
Sales tax is a percentage added to the price of goods and services at checkout. Receipt Caker's free sales tax calculator works both ways: enter a subtotal and rate to see the tax and total, or enter a tax-inclusive total to recover the original pre-tax price.
- How do I calculate sales tax?
- Receipt Caker calculates sales tax by multiplying the price by the tax rate: tax = price × (rate ÷ 100), and total = price + tax. Enter your amount and rate above and the result updates instantly — no formula or spreadsheet needed.
- Price before tax
- 100.00
- Sales tax
- 8.25
- Total
- 108.25
The sales tax formula, in plain terms
Sales tax equals the price multiplied by the rate written as a decimal: tax = price × (rate ÷ 100). The total a customer pays is simply the price plus that tax. Because the rate is a straight percentage, doubling the price doubles the tax, and the math is identical whether you are ringing up a single coffee or a thousand-dollar order.
Take a $120 subtotal at a combined rate of 7.5%. The tax is 120 × 0.075 = $9.00, so the total is $129.00. Receipt Caker applies your rate to the amount you type and rounds the result to two decimal places, the same way a printed receipt shows its tax line, so the number you see matches what a register would display.
Working backward from a tax-inclusive total
To recover the pre-tax price from a total that already includes tax, divide the total by one plus the rate as a decimal. For a $129.00 total at 7.5%, the original price is 129 ÷ 1.075 = $120.00, and the embedded tax is the $9.00 difference. Subtracting a flat 7.5% from the total would be wrong, because that 7.5% was calculated on the smaller pre-tax figure, not the larger total.
This reverse mode is handy when a receipt only prints the final amount and you need to separate the tax for a mileage log, an expense claim, or a bookkeeping entry. Switch the tool to reverse and it reports both the recovered net price and the tax portion at once.
Choosing the right rate for your location
The correct sales tax rate depends entirely on where the sale happens. The United States has no single national rate; each state sets its own, and counties and cities frequently stack local rates on top, so a combined rate can be zero in a handful of states or climb past 10% in some metro areas. For a real transaction, use the combined state-plus-local rate for the buyer's address.
If you are producing a mock receipt for a design comp, an app test, or a bookkeeping exercise, any realistic figure such as 8.25% works fine — the calculator applies whatever percentage you enter. When you need the number laid out on a document, drop it into the Receipt Caker generator, which applies the rate to the whole subtotal automatically.
Why rounding can differ by a cent
When a receipt has several items, tax is normally charged on the combined subtotal rather than line by line. Summing the tax on each item separately and adding those rounded amounts can land a penny away from taxing the whole subtotal once, because each per-item figure gets rounded before it is added. Most point-of-sale systems avoid this by rounding only the final tax line.
Receipt Caker follows the same convention: it applies the rate to the single amount you enter and rounds that one result. If you are reconciling a stubborn one-cent gap, this is almost always the cause, and calculating tax on the subtotal as a whole resolves it cleanly.