Receipt Caker

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.

Frequently asked questions

How is sales tax calculated on a purchase?
Sales tax is calculated by multiplying the taxable price by the tax rate expressed as a decimal. For a $50 item at an 8.25% rate, the tax is 50 × 0.0825 = $4.13, and the total is $54.13. When several items are on one receipt, tax is normally applied to the combined subtotal rather than item by item, which can differ by a cent from summing per-item tax because of rounding. Receipt Caker's calculator applies the rate to the amount you enter and rounds to two decimal places, matching the way most point-of-sale systems display the tax line on a printed receipt.
How do I find the price before tax?
To work backwards from a tax-inclusive total, divide the total by one plus the rate as a decimal. For a $54.13 total at 8.25%, the pre-tax price is 54.13 ÷ 1.0825 = $50.00, and the tax portion is the difference, $4.13. This reverse calculation is useful when a receipt only shows the final amount and you need to separate the tax for an expense report or bookkeeping. Switch this tool to reverse mode, enter the total and the rate, and it shows both the original price and the embedded tax amount.
What sales tax rate should I use?
The correct rate depends on where the sale takes place. In the United States there is no national sales tax; each state sets its own rate and many counties and cities add local rates on top, so a combined rate can range from zero in states like Oregon to over 10% in some metropolitan areas. For an accurate figure, use the combined state-plus-local rate for the buyer's location. If you are producing a sample receipt rather than filing taxes, any realistic rate such as 8.25% is fine — the calculator applies whatever percentage you type.

More tools