VAT, GST & Sales Tax Calculator

Add tax to a net amount or extract the net amount and tax from a tax-inclusive total.

Calculation type
Your figures
Breakdown
Net amount
Tax amount
Total including tax
Enter an amount and tax rate to see the breakdown.

Every calculation runs in your browser — the figures you enter never leave your device.

FAQ

How is tax added or extracted?

To add tax, multiply the net amount by the rate and add it to the net amount. For example, 100 at 20% gives 20 in tax and 120 including tax. To extract tax from an inclusive total, divide the total by 1 plus the rate as a decimal, then subtract that net amount from the total.

Why can’t I subtract 20% from a tax-inclusive total?

The tax rate is a percentage of the net amount, not the tax-inclusive total. A total of 120 at 20% contains 20 in tax because 120 ÷ 1.20 = 100, not because 20% is subtracted from 120.

What does this calculator leave out?

It calculates one amount at one rate. It does not select a rate, determine tax jurisdiction, split taxes, apply exemptions, rounding rules, thresholds, discounts or invoice-specific requirements. Check the rules that apply to your transaction.

Understanding VAT, GST, and Sales Tax

Value-Added Tax (VAT), Goods and Services Tax (GST), and sales tax are consumption taxes levied on the sale of goods and services. While the specific administrative rules vary by jurisdiction, the underlying mathematical principles of these taxes remain consistent. Businesses and individuals frequently need to calculate these taxes when preparing invoices, filing tax returns, or verifying transaction receipts.

To perform these calculations, you must know the transaction amount and the applicable tax rate. The tax rate is always expressed as a percentage of the net amount (the price before tax is applied), rather than a percentage of the final, tax-inclusive total.

The Difference Between Adding and Extracting Tax

Tax calculations generally fall into two categories depending on the starting figure:

  1. Adding Tax: You begin with a Net amount (the price before tax) and apply the tax rate to determine the Tax amount and the Total including tax. This is common when pricing goods or services for sale.
  2. Extracting Tax: You begin with a Tax-inclusive amount (the total price paid or invoiced) and work backward to isolate the Net amount and the Tax amount. This is necessary when analyzing receipts or preparing tax filings from gross sales figures.

A common financial error is attempting to extract tax by subtracting the tax rate percentage directly from the tax-inclusive total. For example, if a tax-inclusive total is 120 and the tax rate is 20%, subtracting 20% of 120 (which is 24) yields 96. This is incorrect because the tax rate applies to the net amount, not the total. The correct net amount is 100, and the correct tax amount is 20.

Basic Tax Calculation Formulas

The calculator uses standard algebraic formulas to ensure mathematical precision.

Adding Tax

To add tax to a Net amount, the calculator multiplies the Net amount by the tax rate (expressed as a decimal) to find the Tax amount, then adds this to the Net amount to find the Total including tax:

  • Tax amount = Net amount × (Tax rate ÷ 100)
  • Total including tax = Net amount + Tax amount

For example, if the Net amount is 100 and the Tax rate is 20%:

  • Tax amount = 100 × 0.20 = 20
  • Total including tax = 100 + 20 = 120

Extracting Tax

To extract tax from a Tax-inclusive amount, the calculator divides the total by 1 plus the tax rate expressed as a decimal to find the Net amount. The Tax amount is then derived from the difference:

  • Net amount = Total including tax ÷ (1 + (Tax rate ÷ 100))
  • Tax amount = Total including tax − Net amount

For example, if the Tax-inclusive amount is 120 and the Tax rate is 20%:

  • Net amount = 120 ÷ (1 + 0.20) = 120 ÷ 1.20 = 100
  • Tax amount = 120 − 100 = 20

To prevent half-cent rounding discrepancies when the Net amount, Tax amount, and Total including tax are summed, the primary results for the Net amount and Total including tax are anchored to two decimal places, and the Tax amount is calculated as the exact difference between them.

How to Use the Calculator

The interface allows you to toggle between calculation modes and input your transaction details:

  1. Select your Calculation type: Choose either Add tax or Extract tax.
  2. Enter your financial figures under Your figures:
    • If adding tax, enter the Net amount.
    • If extracting tax, enter the Tax-inclusive amount.
  3. Enter the Tax rate as a percentage.

The tool displays the results under Breakdown with three distinct rows:

  • Net amount
  • Tax amount
  • Total including tax

The output is marked as Calculated — for reference only. and results can be copied directly from the interface.

Error Handling

The calculator validates all inputs and will display specific error messages if the inputs are invalid:

  • If you enter a negative amount: The amount cannot be negative.
  • If you enter a negative tax rate: The tax rate cannot be negative.
  • If the amount input is invalid: Enter a valid amount.
  • If the tax rate input is invalid: Enter a valid tax rate.
  • If the numbers entered are too large: These figures are too large to calculate.

Privacy and Data Processing

When using this tool, your financial data remains private. Every calculation runs in your browser — the figures you enter never leave your device. No data is uploaded to external servers.

Limitations of Simple Tax Calculators

While this tool is highly effective for quick calculations, it is designed as a basic reference tool and has specific limitations:

  • Single Rate Processing: The tool calculates one amount at one rate at a time. It cannot process multi-rate invoices or split transactions.
  • No Jurisdictional Logic: The calculator does not determine tax jurisdictions, select rates, or apply local tax exemptions, thresholds, or discounts.
  • No Custom Rounding Rules: Different tax authorities have specific rules for rounding fractions of a cent on invoices. This tool uses standard two-decimal rounding and does not account for specialized regional rounding laws.

Always confirm the applicable rate and rules with your local tax authority before filing tax returns or issuing official invoices.

Frequently Asked Questions

How is tax added or extracted?

To add tax, multiply the net amount by the rate and add it to the net amount. For example, 100 at 20% gives 20 in tax and 120 including tax. To extract tax from an inclusive total, divide the total by 1 plus the rate as a decimal, then subtract that net amount from the total.

Why can’t I subtract 20% from a tax-inclusive total?

The tax rate is a percentage of the net amount, not the tax-inclusive total. A total of 120 at 20% contains 20 in tax because 120 ÷ 1.20 = 100, not because 20% is subtracted from 120.

What does this calculator leave out?

It calculates one amount at one rate. It does not select a rate, determine tax jurisdiction, split taxes, apply exemptions, rounding rules, thresholds, discounts or invoice-specific requirements. Check the rules that apply to your transaction.