Ireland VAT Number Validator

Validate Irish VAT numbers in all four known formats with the mod-23 check letter.

Ad placeholder (leaderboard)

An Irish VAT number is the registration identifier issued by Irish Revenue to VAT-registered businesses. Over the years Ireland has used several layouts, so a robust validator must recognise all four and apply the same mod-23 check letter rule. This free tool does exactly that, in your browser.

How it works

Every Irish VAT number carries a single check letter computed from the seven-character numeric body:

  1. Strip the IE prefix and spaces, then detect the format:
    • Format 1: seven digits plus one check letter, e.g. 6388047V.
    • Format 2 (legacy): one digit, then a letter, +, or *, then five digits, then the check letter, e.g. 1A23456T. The second character counts as zero in the sum.
    • Format 3 (post-2013): seven digits plus two trailing letters, e.g. 1234567FA.
  2. Multiply the seven body characters by the weights 8, 7, 6, 5, 4, 3, 2 and sum the products.
  3. For the two-letter format, add the value of the second trailing letter (A is 1) multiplied by 9.
  4. Take the sum modulo 23. Map the remainder to a letter: 0 becomes W, and 1 through 22 become A through V.
  5. The number is valid when that computed letter equals the supplied check letter.

Example

Validate 6388047V. The body 6388047 against weights 8,7,6,5,4,3,2 gives 48 + 21 + 48 + 40 + 0 + 12 + 14 = 183. Then 183 mod 23 = 22, and 22 maps to the letter V. That matches the supplied check letter, so 6388047V is valid.

Notes

A valid check letter confirms the number is well-formed, not that the business is currently VAT-registered — check VIES or Irish Revenue for that. Everything here runs locally, so your VAT number never leaves your device.

Ad placeholder (rectangle)