VAT Number Validator
Paste a VAT number to validate its country format.
Result
How it is calculated
Spaces, hyphens and dots are removed and letters are made uppercase. The first two characters are read as the country prefix and the rest as the body, which is then tested against the structure the European Commission gives in its VIES FAQ (question 11, VAT identification number structure). Only five countries are known: DE (9 digits), FR (2 letters or digits + 9 digits), IT (11 digits), ES (a letter or digit, 7 digits, a letter or digit, where the first and last may not both be digits) and NL (9 digits + B + 2 digits, as the Dutch tax administration describes its btw-id). A number from any other country, even a real EU one such as BE or PL, is reported as invalid with an unrecognized prefix.
No check digit is tested: the Commission says it cannot divulge the algorithms member states use to build their numbers, so a correctly shaped number with a typing error still passes. Nothing is looked up in VIES or any tax register.
Worked example
Input ESA1234567B. The prefix ES means Spain; the body A1234567B has 9 characters: a letter, seven digits and a letter, which fits the VIES structure X9999999X. The tool reports Valid format for Spain (ES). ES123456789 fails: its first and last characters are both digits, which the VIES table does not allow for Spain. DE136695976 passes as 9 digits for Germany. A pass only shows the shape fits, not that the number is registered to anyone.
Common mistakes
- Treating “Valid format” as proof that the company is registered. The tool never contacts a registry, so a correctly shaped number can still be unassigned, canceled or belong to someone else.
- Entering a VAT number from a country outside DE, FR, IT, ES and NL. It is shown as invalid with an unrecognized prefix even though the number may be perfectly good, so use the official EU VIES service for those.
- Omitting the country prefix, as in 136695976 alone. The first two characters must be the prefix, so the tool reports an unrecognized prefix and cannot work out the country.
- Expecting the tool to catch a mistyped digit. There is no checksum, so DE136695977 passes just as DE136695976 does; confirm the number in VIES.
- Typing a Spanish number of nine digits. ES123456789 fails because the VIES structure needs a letter at one end at least.
Sources
- VIES - Frequently asked questions (Q11: VAT identification number structure) — European Commission, Taxation and Customs Union
- Alles over uw btw-identificatienummer (btw-id) en omzetbelastingnummer (ob-nummer) — Belastingdienst (Netherlands Tax Administration)
About this calculator
An EU VAT number pairs a two-letter country prefix with a digit sequence of a fixed length set by each member state's tax authority — for example Germany's DE followed by 9 digits, France's FR with 2 characters plus 9 digits, Italy's IT with 11 digits, Spain's ES with 9 characters (a letter or digit, 7 digits, a letter or digit, and the first and last not both digits), and the Netherlands' NL with 9 digits, “B”, and 2 more digits. Only these five countries are supported; any other prefix is reported as unrecognized. The patterns are those of the European Commission's VIES FAQ table of VAT identification number structures (and the Dutch tax administration's own description for NL); the Commission says it cannot divulge the member states' check-digit algorithms, so the tool does not run any.
Businesses trading across EU borders must quote a valid VAT number to apply the reverse-charge mechanism and zero-rate intra-community supplies, so accountants, bookkeepers and invoicing systems routinely check that a supplied number matches the expected shape for its country before accepting it. This tool checks format and length only — it does not query VIES or any live tax registry to confirm the number is actually registered.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm's Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments