tax
Sales Tax Calculator
Calculate before-tax price, sales tax rate, after-tax price, and tax amount from any two known values.
tax calculator
The VAT Calculator models the relationship between a VAT-exclusive net price, an entered VAT rate, the VAT amount, and a VAT-inclusive gross price. It can add VAT, remove VAT from a gross price, derive an effective VAT rate, or solve the tax amount from net and gross values.
Your scenario
Working scenario
Not saved yet
Saved scenarios
Save this result, then use saved scenarios to switch between assumptions.
Use this calculator when you already have a VAT-rate assumption and want to check invoice arithmetic, read a VAT-inclusive receipt, or compare net and gross prices. Use Sales Tax when the question is a checkout-style tax added to a before-tax price, Discount before VAT when a price changes first, Margin when the question is markup or profit, Payment when a VAT-inclusive price feeds a payment estimate, and HMRC or the relevant local tax authority when you need a current rate or rule.
Use r = VAT rate / 100. For gross-price solve with a positive entered rate, tax amount = net price * r and gross price = net price + tax amount. If the entered rate is 0, the app uses the entered tax amount, adds it to net price, and derives an effective rate only when net price is greater than 0. For net-price solve with a positive entered rate, net price = gross price / (1 + r), and tax amount = max(0, gross price - net price). For VAT-rate solve, the app compares gross and net price, or uses net price plus entered tax amount when gross price is not positive. For tax-amount solve, it uses entered gross price when present or rebuilds gross price from net price and entered rate, then floors negative differences at 0.
This formula page covers the app's VAT Calculator: a generic entered-rate model for VAT-exclusive net price, VAT amount, VAT-inclusive gross price, and effective VAT rate. It can add VAT, remove VAT from a VAT-inclusive price, solve the tax amount from net and gross prices, or derive an effective rate. It does not look up country rates, decide whether a sale is taxable, handle exemptions, apply reverse-charge rules, calculate recoverable input tax, prepare VAT returns, or replace tax authority guidance.
r = R / 100; G = N * (1 + r); T = N * r; reverse net: N = G / (1 + r); included-tax: T = G * r / (1 + r); effective rate: R = T / N * 100 when N > 0, otherwise 0
The calculator converts the entered VAT percentage to a decimal rate, moves between net and gross price with one plus that rate, and solves an effective rate by comparing VAT amount with the net price base.| Symbol | Meaning | How this page uses it |
|---|---|---|
| N | Net price | The VAT-exclusive price before the modeled VAT amount is added, entered as Net price or solved from a gross price. |
| G | Gross price | The VAT-inclusive price after adding the modeled VAT amount to net price. |
| R | VAT rate | The entered or solved percentage shown as VAT rate. This app treats it as a user-entered assumption, not an automatic country-rate lookup. |
| r | Decimal VAT rate | The VAT rate divided by 100, so 20 percent is used as 0.20. |
| T | VAT amount | The modeled tax amount reported as Tax amount. It is the difference between gross and net price, or net price multiplied by the decimal VAT rate when the rate is known. |
| D | Gross-net difference | The nonnegative difference between gross price and net price when solving tax amount or effective rate. |
The default calculator inputs use a $1,200 net price and a 20 percent entered VAT rate. The arithmetic works for any entered rate, but the app does not decide which country or product rate is correct.
The formula explains the relationship between net price, entered VAT rate, VAT amount, and gross price. It does not prove what a supplier, customer, invoice, VAT return, or tax authority will use for a real transaction.
Geographic scope: works globally. The math is currency-agnostic, so enter amounts in your own currency; local taxes, fees, and product rules are not included.
Divide by one plus the rate: net = gross ÷ (1 + rate ÷ 100). At the default 20 percent, a £1,440 gross invoice backs out to £1,200 net with £240 of VAT. The common mistake is subtracting 20 percent of the gross instead - that overstates the VAT, because the tax portion of an inclusive price is rate ÷ (100 + rate), not rate percent of the total.
Treat it as an illustrative input. 20 percent matches the UK standard rate, but reduced rates, zero-rating, exemptions, and other countries' VAT or GST rates all differ by product and place of supply. The calculator applies whatever rate you enter and does not determine which rate legally applies - for UK specifics, verify against GOV.UK or HMRC guidance before relying on an invoice figure.
Four are available: add VAT to a net price (quoting), remove VAT from a gross price (receipts), solve the VAT amount when you know both net and gross (reconciliation), and derive the effective rate from a net-gross pair (checking which rate was applied). Each mode is the same three-value relationship rearranged, and the formula section documents every rearrangement explicitly.
This calculator is an original entered-rate VAT model with add-VAT, remove-VAT, tax-amount, and effective-rate solves built around tax-inclusive pricing conventions, validated by deterministic fixtures, edge cases, and rounding policy tests. It is not copied from a single source.
Fixtures pin the 20-percent default example in all four solve directions, including the gross ÷ (1 + r) reverse form. The result remains an educational estimate, not a VAT-return figure or a rate determination for any country or product.
Formula version 2026.05.22-generic-vat. The version marks the calculation logic and validation fixture set used for this estimate.
Results are educational estimates, not advice. Read the full disclaimer.
tax
Calculate before-tax price, sales tax rate, after-tax price, and tax amount from any two known values.
other
Calculate sale price, amount saved, discount rate, or original price for percent-off and fixed-amount discounts.
other
Calculate profit margin, stock trading margin requirement, or currency exchange margin from clear business and trading inputs.
loan
Solve either the monthly payment for a fixed-term loan or the payoff time for a fixed monthly payment.