Receipt Caker

4 min read

How to Add Sales Tax to a Receipt

A step-by-step guide to adding sales tax to a receipt correctly β€” finding the right rate, applying it to the subtotal, and displaying the tax line.

How do I add sales tax to a receipt?
To add sales tax to a receipt, multiply the subtotal by the tax rate as a decimal, then show that tax on its own line above the total. Receipt Caker does this automatically: enter your rate and it calculates the tax line and grand total for every item on the receipt.

Step 1: Find the correct rate

Sales tax rates depend on where the sale takes place. In the US, there is no national rate β€” each state sets its own, and counties and cities often add local rates, so the combined figure can range from zero to over 10%. Use the combined rate for the buyer's location. Our free sales tax calculator lists these by state and locality.

Step 2: Apply the rate to the subtotal

Add up all taxable items to get the subtotal, then multiply by the rate expressed as a decimal. For a $80 subtotal at 8.25%, the tax is 80 Γ— 0.0825 = $6.60. Tax is normally applied to the combined subtotal, not item by item, to avoid rounding drift.

Step 3: Show the tax line and total

Display the tax on its own line, labelled with the rate, directly above the grand total β€” most jurisdictions expect tax to be itemised rather than hidden in prices. Then add the tax to the subtotal for the final amount. On the example above, $80.00 + $6.60 gives a $86.60 total.

Receipt Caker handles steps two and three for you: type the rate into the builder and the tax line and total update instantly as you edit items.

Steps at a glance

  1. 1Find the correct tax rate. Look up the combined state and local sales tax rate for the sale location.
  2. 2Total the taxable items. Add up the price of all taxable line items to get the subtotal.
  3. 3Apply the rate. Multiply the subtotal by the rate as a decimal to get the tax amount.
  4. 4Show tax as a separate line. Display the tax on its own line above the grand total.
  5. 5Add tax to the subtotal. Add the tax to the subtotal to produce the final total paid.

Frequently asked questions

Should sales tax be shown separately on a receipt?
Yes, in most jurisdictions sales tax should appear as its own line on the receipt rather than being folded into item prices. Showing tax separately lets the customer see exactly how much of their payment is tax, allows businesses to reclaim or remit the correct amount, and satisfies rules that require tax to be itemised. The usual placement is a single tax line, labelled with the rate applied, sitting between the subtotal and the grand total. Some regions with tax-inclusive pricing display things differently, but for US-style receipts a separate, clearly labelled tax line is the standard and expected format.
What if some items are taxable and others are not?
When a receipt mixes taxable and tax-exempt items β€” for example, prepared food that is taxed alongside grocery staples that are not β€” you calculate tax only on the taxable subtotal. Add up the taxable items separately, apply the rate to that figure, and leave the exempt items out of the tax base. The receipt then shows the full subtotal, a tax line computed from just the taxable portion, and the combined total. This is common in grocery and convenience settings where different product categories carry different tax treatment, and getting it right matters for both compliance and accurate customer records.
How do I calculate the tax if the price already includes it?
If a price is tax-inclusive and you need to separate the tax, divide the total by one plus the rate as a decimal to find the pre-tax amount, then subtract to get the tax. For a $86.60 total at 8.25%, the pre-tax price is 86.60 Γ· 1.0825 = $80.00 and the tax is $6.60. Dividing rather than simply taking a percentage off the total is essential, because the tax was added to the smaller pre-tax figure. This reverse calculation is common when reconstructing a receipt from a known total, and our sales tax calculator has a dedicated remove-tax mode that does it for you.

Keep exploring