Sales tax calculator
Add or remove a user-supplied sales tax, VAT, or GST rate.
Assumptions & limits
Supply your own rate, 0–100%. Sales tax, VAT and GST labels use the same add/remove arithmetic; no local rates, exemptions or invoice rules are inferred. Tax rounds to cents, halfway up. Inclusive mode rounds embedded tax first; the remainder is the tax-exclusive amount. Adding tax back can differ by a cent.
Use one currency throughout. Monetary inputs: up to 999,999,999.99, two decimals, no commas. Rates: up to six decimals. Monetary results are limited to 999,999,999,999.99 in magnitude. Calculations stay on your device.
Tax-inclusive total
$108.25
- Tax label
- Sales tax
- Before tax
- $100.00
- Tax amount
- $8.25
- Including tax
- $108.25
- Supplied rate
- 8.25%
How it’s calculatedCalculated on your device
Add: tax = base × rate / 100. Remove: embedded tax = inclusive amount × rate / (100 + rate). Round tax once to cents, halfway up, and assign the remainder to the base. Inclusive allocation may differ by a cent from adding tax back.
Displayed values may be rounded. Calculations keep the underlying precision.
No jurisdiction, current rate, exemption, legal invoice treatment or tax compounding is inferred. Enter a rate from 0% to 100%, up to six decimals, and a nonnegative amount up to 999,999,999.99 with two decimals. Inclusive mode rounds the tax first and assigns the remainder to the base; adding tax back can differ by a cent for tiny amounts. One currency throughout; no exchange conversion.
The formula, made simple
Add a tax rate to a before-tax amount, or extract included tax from a total. Sales tax, VAT and GST are labels for the same arithmetic; you supply the rate and decide whether it applies.
Add tax: tax = base × rate / 100; total = base + tax. Remove tax: embedded tax = total × rate / (100 + rate); base = total − tax. Tax is rounded once to cents, halfway up.
A worked example
At a supplied 20% rate, 100 before tax becomes 120 with 20 tax. Removing that tax from 120 gives a base of 100. The included tax is one sixth of 120, not 20% of 120.
A few useful answers
Is VAT removal just subtracting the tax percentage?
No. The inclusive amount already contains the tax. Divide by 1 + rate to find the unrounded base, or multiply the inclusive amount by rate / (100 + rate) to find embedded tax.
Does choosing GST change the rate or rounding?
No. The label changes only the description. You must enter the applicable rate; local billing or rounding rules may differ from this single-amount scenario.