Money

How to Calculate Sales Tax and the Final Price

Updated November 20265 min read
How to Calculate Sales Tax and the Final Price: featured image

The label says 49.99, the register says 54.11, and the difference is sales tax. Knowing how that difference is calculated helps you check receipts, set prices for your own shop and compare offers from different places. The maths is simple percentage work, and a few formulas cover almost every case.

This guide shows how to add tax to a price, remove it from a total, handle tax that is already included in the price, and avoid rounding surprises. Tax rates and rules differ by country, state and product, so always confirm the current rate with an official source or your accountant.

Key takeaways

  • Tax is a percentage of the price: Multiply the price by the tax rate as a decimal to find the tax, and add it to the price to get the final total.
  • There is a shortcut: Multiply the price by 1 plus the tax rate, for example 1.0825 for a rate of 8.25 percent, to get the total in one step.
  • To remove tax, divide: If a total already includes tax, divide it by 1 plus the rate, and do not subtract the rate, which gives a wrong answer.
  • Rounding can change a cent: Tax rounded on each line item can differ by a cent from tax rounded on the whole bill, so follow the rule that applies to you.

Adding sales tax to a price

The basic formulas are:

tax = price x rate

final price = price + tax = price x (1 + rate)

Worked example: 49.99 at 8.25 percent

Tax: 49.99 x 0.0825 = 4.1242, which rounds to 4.12. Final price: 49.99 + 4.12 = 54.11.

The shortcut gives the same result: 49.99 x 1.0825 = 54.1142, which rounds to 54.11.

To convert a percentage into a decimal, divide by 100, so 8.25 percent is 0.0825. Check that your rate is the one for the right place, because rates can differ between regions and even between product types, such as food, clothing or services.

Removing tax from a total

Sometimes you know the total that you paid and want the price before tax. Divide the total by 1 plus the rate.

Worked example: working backwards

A receipt total is 108.25 and the tax rate is 8.25 percent. The price before tax is 108.25 / 1.0825 = 100.00, and the tax is 8.25.

A common mistake is to subtract 8.25 percent of the total, which gives 108.25 – 8.93 = 99.32. That is wrong, because the tax was calculated on the pre-tax price and not on the total.

Related toolPercentage CalculatorTry it

Tax-inclusive prices: VAT and GST

In many countries, shelf prices already include a tax such as VAT or GST. If a price of 120 includes 20 percent tax, divide by 1.20 to find the net price: 120 / 1.20 = 100, and the tax is 120 – 100 = 20. Do not calculate 20 percent of 120, which would give 24, because the tax is one sixth of the total and not one fifth.

Situation Formula Example
Add tax to a net price net x (1 + rate) 100 x 1.20 = 120
Find tax on a net price net x rate 100 x 0.20 = 20
Remove tax from a gross price gross / (1 + rate) 120 / 1.20 = 100
Find tax inside a gross price gross – gross / (1 + rate) 120 – 100 = 20

Discounts and tax together

When a sale price and a tax apply, the order usually matters to the shop’s system. In most places, the discount is applied first, and tax is charged on the reduced price. A 25 percent discount on an item of 80 gives 60, and tax at 8 percent adds 4.80, so the customer pays 64.80. If a coupon rule works differently where you live, such as a manufacturer coupon that is taxed on the original price, the receipt will show it. Our free Discount Calculator handles the discount step.

Woman packing clothes in a shop beside a receipt and a sign that shows the formula for sales tax and final price

Several items on one bill

Suppose you buy three items costing 24.50, 13.75 and 8.20 with a tax rate of 7 percent. The subtotal is 24.50 + 13.75 + 8.20 = 46.45. Tax is 46.45 x 0.07 = 3.2515, which rounds to 3.25, and the total is 46.45 + 3.25 = 49.70.

Why a receipt can differ by a cent

Systems calculate tax in two ways. Some round the tax on each line, and some add the lines first and round the tax once on the subtotal. With three items at 1.99 each and a rate of 8.25 percent, tax per item is 0.164175, which rounds to 0.16, and three items give 0.48. Tax on the subtotal of 5.97 is 0.492525, which rounds to 0.49. The one-cent difference is normal, and your local rules or the shop’s system decide which is used.

Related toolPersonal Budget PlannerTry it

How different rates change the total

The table uses an item priced at 100 before tax and four illustrative rates. These are examples to show the pattern, not the rates of any particular place.

Illustrative rate Tax on 100 Final price
5% 5.00 105.00
8.25% 8.25 108.25
10% 10.00 110.00
20% 20.00 120.00

Notice that the tax grows in proportion to the rate. A higher rate on a larger purchase, such as a laptop, adds a big sum, so check the rate before a big purchase and compare it with what you would pay somewhere else.

Online purchases, shipping and exemptions

Online shops may charge tax based on your address, and shipping can be taxed or untaxed depending on the rules where you live. Some goods, such as basic food or children’s clothing, are taxed at a lower rate or not at all in some places, and some buyers, such as registered businesses or charities, can be exempt with the right paperwork. The checkout page normally shows the tax before you pay, so look at it before you confirm the order, and keep the receipt in case you need to return an item.

For small business owners

If you sell goods or services, add tax to your invoices only if the law requires it for your business, and keep the rate, the tax amount and the net amount shown separately. Use the same rounding method every time. Our free Invoice Generator and Receipt Generator can show tax lines clearly, and the Business Pricing Calculator helps you set prices before tax. Registration thresholds, rates and filing rules are different in every country, so ask a qualified tax adviser rather than relying on a general guide.

Use a calculator or spreadsheet

For quick checks, use our free Sales Tax Calculator or the Percentage Calculator. In a spreadsheet, put the price in A2 and the rate in B2 as a percentage, then type =A2*B2 for the tax and =A2*(1+B2) for the final price. Use =ROUND(A2*B2,2) to round the tax to cents. Learn more spreadsheet tricks in the free Excel course.

Pin for How to Calculate Sales Tax and the Final Price

Questions

How do I calculate sales tax on a price?

Multiply the price by the tax rate written as a decimal, then add the result to the price. For 49.99 and a rate of 8.25 percent, the tax is 4.12 and the total is 54.11. You can also multiply the price by 1.0825 to get the total directly.

How do I take sales tax out of a total?

Divide the total by 1 plus the tax rate. A total of 108.25 with a rate of 8.25 percent gives 108.25 / 1.0825, which is 100. Subtracting the percentage from the total gives the wrong answer, because the tax was based on the original price.

Is sales tax the same as VAT?

They are similar but work differently. Sales tax is usually added at the final sale to the consumer, and VAT is charged at each stage of the supply chain with businesses reclaiming the tax they paid. Shelf prices often include VAT, while sales tax is often added at the register.

Why is the tax on my receipt a cent different from my calculation?

Rounding rules differ between shops. Some round the tax on every item and some round once on the total of the bill. A difference of one cent is normal and usually not an error.

Found this useful?Share it with someone who will benefit.

Keep Reading