Sales Tax Calculator
Enter one known percentage and switch between tax-exclusive and tax-inclusive calculations. Find the price before tax, tax amount, price including tax, tax share of the gross total, formula, composition breakdown, and downloadable CSV summary.
Price and tax
Add tax or extract included tax
Enter the known combined percentage. The calculator does not look up official rates.
Enter the rate you intend to apply. Taxability, exemptions, combined local rates, and invoice rules are not determined by this tool.
Price including tax
$20.00 tax added at 20%.
- Price before tax
- $100.00
- Tax amount
- $20.00
Entered rate: 20%
Formula and tax breakdown
Total composition
Net price and tax inside the tax-inclusive total
- Price before tax
- $100.00
- Tax amount
- $20.00
- Tax share of gross total
- 16.67%
Calculation
$100.00 × 20% = $20.00
$100.00 + $20.00 = $120.00
Real receipts can differ slightly when tax is rounded per item, invoice line, rate group, or complete transaction.
How to Use the Sales Tax Calculator
Choose Add tax when the entered amount is before tax. Choose Remove tax when the entered amount already includes tax.
Select a display currency, enter the price, and enter the known combined tax percentage. The result updates automatically.
The main result shows the requested before-tax or after-tax price. Supporting results show the net price, tax amount, and gross total.
Open the formula and breakdown section to inspect the reverse-tax calculation, tax share of the total, print view, and CSV export.
Choose the correct tax mode
Swipe horizontally to view the full table.
Adding Tax to a Price
Add Tax mode treats the entered amount as the tax-exclusive or net price.
The calculator multiplies that amount by the rate written as a decimal to find tax, then adds the tax to produce the gross total.
For example, $100 with a 20% rate produces $20 tax and a $120 tax-inclusive total.
Removing Tax From an Inclusive Total
Remove Tax mode treats the entered amount as already including tax.
The correct reverse calculation divides the gross total by one plus the rate as a decimal. The included tax is then the difference between gross and net.
For example, $120 including 20% tax contains a $100 net price and $20 tax.
Why Subtracting the Percentage Does Not Reverse Tax
A tax rate is applied to the smaller net price. Directly subtracting the same percentage from the larger gross total uses a different base.
Subtracting 20% from $120 gives $96, not the original $100.
Dividing by 1.20 reverses the multiplication that created the total and therefore returns the correct net price.
The Entered Tax Rate Is Not the Tax Share of the Total
A 20% rate means tax equals 20% of the net price. Once tax is included, it represents 16.67% of the $120 gross total.
In general, tax as a share of gross equals the entered rate divided by 100 plus that rate.
This distinction matters when checking inclusive invoices, receipts, VAT totals, or GST totals.
Entered rate versus tax share of gross total
The entered rate applies to the net price. The tax occupies a smaller percentage of the tax-inclusive total.
Swipe horizontally to view the full table.
Sales Tax, VAT, and GST Use Similar Price Arithmetic
For one known percentage applied to one taxable base, the same net-tax-gross relationship can be used for sales tax, VAT, GST, and similar consumption taxes.
Their legal operation is not identical. VAT and GST systems can involve registration, credits for eligible input tax, place-of-supply rules, exemptions, and multiple rates.
This tool performs price arithmetic only and does not determine the applicable legal treatment.
Use an Official Source for the Rate
Rates can differ by country, state, province, city, district, product category, customer type, and transaction date.
Enter a rate obtained from an appropriate tax authority, invoice, accounting system, or qualified adviser.
When different items or charges use different rates, calculate them separately unless a valid combined rate is already known.
Rounding Can Change a Receipt by a Cent
The calculator keeps full numeric precision and rounds when formatting the displayed currency.
A real invoicing system may round tax for every item, invoice line, tax-rate group, or only after calculating the complete transaction.
Those methods can differ by a small amount. Official records should follow the rounding method required by the relevant authority or accounting system.
What the Calculator Includes and Excludes
The calculator supports one amount, one known rate, and either tax-exclusive or tax-inclusive arithmetic.
It does not decide whether discounts, shipping, tips, services, trade-ins, fees, excise components, or other charges are taxable.
It also does not calculate input-tax credits, filing obligations, tax registration, customs value, or jurisdiction-specific invoice rules.
What the calculator includes and excludes
Swipe horizontally to view the full table.
Privacy and Appropriate Use
The calculation, formula display, and CSV creation run locally in the browser.
The tool is suitable for estimates, receipt checks, quotations, expense breakdowns, and understanding inclusive pricing.
It is not a substitute for official rate lookup, tax-compliance software, invoice validation, or professional advice.
Add and Remove Tax Formulas
Tax is calculated from the net price. Reverse mode divides by the tax factor that originally created the gross total.
Formula variables
- Net or tax-exclusive price
- Tax amount
- Gross or tax-inclusive price
- Entered tax rate as a percentage
Examples
Add 8.5% tax
1Input
Price before tax $250; rate 8.5%; Add tax mode.
Show result
Result
Tax is $21.25 and the price including tax is $271.25.
Remove 20% included tax
2Input
Price including tax $120; rate 20%; Remove tax mode.
Show result
Result
Price before tax is $100 and included tax is $20.
Subtracting 20% directly would incorrectly produce $96.
Reverse a decimal rate
3Input
Price including tax $107.25; rate 7.25%; Remove tax mode.
Show result
Result
Price before tax is $100 and included tax is $7.25.
Use a 100% entered rate
4Input
Price before tax $50; rate 100%; Add tax mode.
Show result
Result
Tax is $50 and the price including tax is $100.
The tool accepts the percentage mathematically without claiming that it is an official sales-tax rate.
Zero-rate calculation
5Input
Price $75; rate 0%.
Show result
Result
The net and gross prices remain $75 and the tax amount is $0.
Frequently Asked Questions
How do I add sales tax to a price?
Multiply the price before tax by the entered rate divided by 100, then add the tax amount to the original price.
How do I remove tax from a total?
Divide the tax-inclusive total by one plus the rate as a decimal. Subtract the resulting net price from the total to find the included tax.
Why can’t I subtract the tax percentage from the total?
The rate was applied to the smaller net price. Subtracting it from the larger gross total uses a different base and does not reverse the original multiplication.
Can this be used as a reverse VAT or GST calculator?
Yes, for the basic arithmetic of one known rate and one inclusive amount. It does not handle registration, credits, exemptions, taxability, or jurisdiction rules.
Does the calculator find my local tax rate?
No. Enter a combined rate obtained from an appropriate official or professional source.
Can I enter decimal tax rates?
Yes. Rates such as 7.25% or 8.875% are supported.
Can the rate be 100% or higher?
Yes mathematically. A 100% rate doubles a tax-exclusive price. Whether a rate is legally relevant depends on the tax and jurisdiction.
Why is 20% tax only 16.67% of the gross total?
If net price is $100, 20% tax is $20 and gross is $120. Tax is therefore $20 divided by $120, or 16.67% of gross.
Why can a receipt differ by one cent?
The seller may round tax per item or invoice line, while this tool applies one rate to the complete amount and rounds the displayed currency.
Can I calculate several tax rates separately?
Not in one calculation. Enter a known combined rate or calculate taxable parts independently when different rates apply.
Does the calculator include tax on shipping or discounts?
Only when the amount entered already represents the legally taxable base. The tool does not decide whether those charges or adjustments are taxable.
Can I export the calculation?
Yes. The result can be printed or exported as a CSV summary.
Are my prices or tax details uploaded?
No. The calculation and CSV creation occur locally in the browser.
References
You might also like
Percentage Calculator
Calculate percentages, percent change, increase, decrease, difference, discount, markup, markdown, tax, tips, and equal bill splits.
Margin Calculator
Calculate gross profit, gross margin, markup, cost share, or the selling price required for a target margin or markup.
APR Calculator
Estimate APR for a fixed-rate installment loan by including prepaid finance charges that reduce the amount financed.
Ice Cream Mix Calculator
Calculate milk fat, MSNF, added sugar, and total solids for a simple milk, cream, sugar, and skim-milk-powder base.