There is a line near the bottom of every receipt that appears out of nowhere. You added four items, the subtotal was $92.50, and the total says $99.90. Somewhere between the two, tax happened. Whether that line is called sales tax or VAT, the math underneath is the same: a percentage of the price added on top. What changes is when the tax appears, and whether you can see it before you pay.

The two ways tax shows up

Value added tax is the system used across most of the world. The price on the shelf normally includes it. In shops in Germany or Ireland you see one price, and that price already has the tax inside it. Sales tax is the American version, and it does the opposite. The price on the shelf is untaxed, the tax gets calculated at the register, and you only find out the real total when the cashier rings you up.

For the math, one direction is the mirror of the other. Adding tax to a price is what a VAT shopper does. Pulling tax back out of a price that already includes it is the operation the rest of the world does every time they estimate a bill.

Adding tax to a price

Call the tax rate r. A 7.25 percent rate means r = 0.0725. The math is plain multiplication:

tax = net price × r
gross price = net price + tax

A $50 item at 7.25%: 50 × 0.0725 = 3.63, so you pay $53.63. The tax is an accurate percentage of the price, it scales with it. A $100 item at the same rate carries $7.25 of tax. Nothing here is difficult, but multiplying a percentage in your head at a busy register is exactly where small mistakes happen.

Pulling the tax out of a total

The mirrored problem needs division. If the receipt says $53.63 and the rate was 7.25%, the net price solves this way:

net price = gross price ÷ (1 + r)

53.63 ÷ 1.0725 ≈ 50.00. Right. You can check any tax-included price like this, which is what the VAT calculator does when you switch to extract mode.

The move that trips people up: you cannot just subtract the rate from the gross. Take 7.25 away from 53.63 and you get 46.38, but the real net is 50.00. The percent acts on the net price, not on the gross, so the math needs the division, not the subtraction.

Why the same purchase costs different amounts

Rates are local, sometimes extremely local. Most EU members sit between 17% and 27% on everyday goods. The UK charges 20% on most things, Germany 19%, Ireland 21%. US sales tax is decided town by town, and it ranges from zero in a handful of states to over 9% once city rates pile on top of state ones. There is no single global number, which is why the VAT calculator asks for the rate rather than assuming one.

The part that costs people money isn’t calculating the tax, it’s not knowing which price the rate applies to. If you see a shelf tag with tax included and you estimate by subtracting the rate from the total, the percentage always lands wrong. A 21% VAT is 17.4% of the price you actually pay (21 ÷ 1.21 rounds to 17.4), so your mental math needs the smaller number.

Discounts and the order of operations

Sale season is where the order really matters. Discount comes first, then tax falls on the discounted portion. You do not tax the original price and then subtract 20%.

after discount = price − (price × discount)
final = after discount × (1 + tax rate)

Take the $50 item at 20% off: it drops to $40, and the 7.25% tax applies to the $40. Final: 40 × 1.0725 = $42.90. Tax the sticker price inside the discount the other way (40 + 50 × 0.0725) and you pay $43.63 for the same jacket, $0.73 more for no reason. The discount calculator takes care of the first step and the VAT calculator finishes the checkout math.

FAQ

What’s the actual difference between VAT and sales tax? VAT is built into the displayed price. Sales tax is separate and appears at the register. The formulas are the same.

Which mode do I use in a VAT calculator? If you are looking at a price before tax and want the total, use add. If the price already includes the tax, use extract.

How do I tax a discounted item? Apply the discount to the price first, then apply the tax to what’s left.

Do restaurants compute tax before the tip? Yes. Tax applies to the goods and the tip is usually calculated on the pre-tax subtotal.

What’s a reasonable rate to use? Whatever your country or state applies to your kind of purchase. The VAT calculator accepts rates from 0% to 40% so it covers EU, US, and most other tax regimes.