Calculate effective VAT rates, net amounts, and gross prices instantly.
Find VAT Rate % (from Net & Gross)
Add VAT to Net Price
Remove VAT from Gross Price
Calculation Results
How to Calculate VAT Rate and Amounts
Value Added Tax (VAT) is a consumption tax placed on a product whenever value is added at each stage of the supply chain, from production to the point of sale. Knowing how to calculate the VAT rate manually is essential for business owners, accountants, and savvy shoppers.
The VAT Rate Formula
If you have the Net Price (the price before tax) and the Gross Price (the price after tax), you can calculate the effective VAT rate using this formula:
VAT Rate % = ((Gross Price – Net Price) / Net Price) * 100
Adding VAT to a Net Price
To find the total cost including tax when you know the VAT percentage:
Multiply the Net Price by the VAT percentage (e.g., 0.20 for 20%).
Add that amount to the original Net Price.
Formula: Net Price * (1 + (VAT Rate / 100))
Removing VAT from a Gross Price
To find the original price before tax was added (Net Price) from a total price:
Divide the Gross Price by 1 + the VAT rate decimal.
For a 20% rate, divide by 1.20. For a 5% rate, divide by 1.05.
Formula: Gross Price / (1 + (VAT Rate / 100))
Practical Example
Imagine you bought a laptop for $1,200 (Gross) and you know the sticker price without tax was $1,000 (Net).
Using our formula: (($1,200 - $1,000) / $1,000) * 100 = 20%. The VAT rate applied was 20%.
function toggleVatFields() {
var mode = document.getElementById("calcMode").value;
var netBox = document.getElementById("netInputBox");
var grossBox = document.getElementById("grossInputBox");
var rateBox = document.getElementById("rateInputBox");
if (mode === "findRate") {
netBox.style.display = "block";
grossBox.style.display = "block";
rateBox.style.display = "none";
} else if (mode === "addVat") {
netBox.style.display = "block";
grossBox.style.display = "none";
rateBox.style.display = "block";
} else if (mode === "removeVat") {
netBox.style.display = "none";
grossBox.style.display = "block";
rateBox.style.display = "block";
}
document.getElementById("vatResultArea").style.display = "none";
}
function performVatCalculation() {
var mode = document.getElementById("calcMode").value;
var net = parseFloat(document.getElementById("netPrice").value);
var gross = parseFloat(document.getElementById("grossPrice").value);
var rate = parseFloat(document.getElementById("vatRate").value);
var resultDiv = document.getElementById("vatResultContent");
var resultArea = document.getElementById("vatResultArea");
var finalNet, finalGross, finalRate, vatAmount;
if (mode === "findRate") {
if (isNaN(net) || isNaN(gross) || net <= 0) {
alert("Please enter valid positive numbers for Net and Gross prices.");
return;
}
finalRate = ((gross – net) / net) * 100;
vatAmount = gross – net;
finalNet = net;
finalGross = gross;
} else if (mode === "addVat") {
if (isNaN(net) || isNaN(rate)) {
alert("Please enter valid numbers for Net Price and VAT Rate.");
return;
}
vatAmount = net * (rate / 100);
finalGross = net + vatAmount;
finalNet = net;
finalRate = rate;
} else if (mode === "removeVat") {
if (isNaN(gross) || isNaN(rate)) {
alert("Please enter valid numbers for Gross Price and VAT Rate.");
return;
}
finalNet = gross / (1 + (rate / 100));
vatAmount = gross – finalNet;
finalGross = gross;
finalRate = rate;
}
resultArea.style.display = "block";
resultDiv.innerHTML =
"