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:
- Strip the
IEprefix 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.
- Format 1: seven digits plus one check letter, e.g.
- Multiply the seven body characters by the weights
8, 7, 6, 5, 4, 3, 2and sum the products. - For the two-letter format, add the value of the second trailing letter (A is 1) multiplied by 9.
- Take the sum modulo 23. Map the remainder to a letter:
0becomesW, and1through22becomeAthroughV. - 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.