Tax Calculator 🧾

Add tax to a pre-tax amount, or reverse-calculate the pre-tax price from a tax-inclusive total. Enter the amount, tax rate, and mode — all in your browser, instant results.

About the Tax Calculator

This tax calculator runs entirely in your browser. Choose "Add tax" to compute the tax-inclusive total from a pre-tax amount, or "Remove tax" to reverse-calculate the pre-tax price and tax portion from a tax-inclusive total. Nothing is uploaded to a server — all calculations happen instantly with JavaScript on your device.

How the calculation works

In Add tax mode, the input is the pre-tax (net) amount:

Tax = Amount × (Rate / 100)    Total = Amount + Tax

In Remove tax mode, the input is the tax-inclusive (gross) amount:

Pre-tax = Amount / (1 + Rate / 100)    Tax = Amount − Pre-tax

Where Rate is the tax percentage (e.g. 10 for 10% sales tax or VAT). The remove-tax mode is useful when a price already includes tax and you need to know how much of it is tax.

Frequently asked questions

Does this tool upload my data? No. All calculations happen locally in your browser. Your inputs never leave your device.

What is the difference between sales tax and VAT? Sales tax is added at the point of sale, while VAT (value-added tax) is included in the displayed price in many countries. Use "Add tax" for sales tax and "Remove tax" to extract VAT from an inclusive price.

Can I use a different currency? Yes. The numbers are unit-agnostic — enter values in any currency and the result will be in the same currency.

Does it handle compound or reduced rates? No. This calculator applies a single flat tax rate. For tiered or reduced rates, calculate each portion separately.