NIP Poland Validator
Validate a Polish NIP number (10 digits) with the official checksum. It is the Polish business tax ID — useful for invoicing and trading with Polish companies.
—
What is the Polish NIP?
The NIP (Numer Identyfikacji Podatkowej) is Poland's tax identification number, used mainly by businesses and sole traders to deal with the tax authorities and to issue VAT invoices. It is a 10-digit number.
The NIP is sometimes written with separators such as XXX-XXX-XX-XX or XXX-XX-XX-XXX, but the digits themselves are what matter. For EU VAT purposes it is prefixed with PL.
Check-digit algorithm
The 10th digit is a check digit computed from the first 9:
- Apply the weights
[6, 5, 7, 2, 3, 4, 5, 6, 7]to the first 9 digits. - Multiply each digit by its weight and sum the products.
- Take the sum modulo 11 — the result is the expected check digit.
- If the remainder equals 10, the number is invalid (such a NIP is never issued).
NIP vs REGON vs PESEL
Poland has three identifiers that are easy to mix up:
- NIP — 10 digits, tax ID, mostly for businesses.
- REGON — statistical register number, 9 or 14 digits.
- PESEL — 11-digit personal ID for individuals (encodes date of birth and sex).
Common pitfalls
- Leaving the dashes in
XXX-XXX-XX-XX— strip everything but digits before validating. - Including the
PLVAT prefix in the 10-digit count. - Accepting a number whose modulo-11 remainder is 10 — that case is invalid, not "rounded".
- Confusing the 10-digit NIP with the 9- or 14-digit REGON.
FAQ
Can individuals have a NIP? Yes — sole traders and some taxpayers use a NIP, but most private individuals are identified by their PESEL instead.
What if the check digit would be 10? The number is simply invalid; the authorities never assign a NIP that would require a two-digit check value.
Does a valid NIP mean the company is active? No. The checksum only confirms the format; check the official VAT/white-list registers for current status.
Related Tools
Alphanumeric CNPJ Validator
Validate the new Brazilian alphanumeric CNPJ format (IN RFB 2.119/2022): 12 alphanumeric characters plus 2 mod-11 check digits.
CPF/CNPJ Detector & Validator
Auto-detect if a string is CPF (11 digits) or CNPJ (14 digits) and validate its check digit.
Batch CNPJ Validator
Validate a list of CNPJs (one per line) with a summary of valid, invalid and total. No data sent to servers.
CGC (Old CNPJ) Validator
Validate format and check digit of CGC (former Brazilian Tax Registry, predecessor to CNPJ). Same math rules.
CNPJ Validator
Validate Brazilian CNPJ numbers instantly using the official algorithm. Useful for testing fiscal document validation. No data sent to servers.
PESEL Poland Validator
Validate a Polish PESEL number (11 digits) by its checksum and extract the birth date and sex embedded in it. Useful for Polish records and data validation.