New Zealand IRD Number Validator — Check Digit Verification

Validate a New Zealand IRD number with the Inland Revenue modulus-11 check.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

An IRD number is the tax identifier issued by New Zealand’s Inland Revenue. This validator checks whether an 8- or 9-digit IRD number is structurally correct using Inland Revenue’s published weighted modulus-11 check digit algorithm — entirely in your browser.

How it works

The final digit of an IRD number is a check digit derived from the rest. The validator:

  1. Splits off the check digit and left-pads the base to 8 digits, requiring it to fall between 10,000,000 and 150,000,000.
  2. Multiplies the 8 base digits by primary weights 3, 2, 7, 6, 5, 4, 3, 2, sums them, and computes the check digit as 11 − (sum mod 11), using 0 when the remainder is 0.
  3. If that result is 10, it retries with secondary weights 7, 4, 3, 2, 5, 2, 7, 6. If still 10, the number is invalid.
  4. Compares the computed check digit with the supplied one.

Example

For the valid test number 49091850, the base is 4909185. Padded to 04909185 and multiplied by the primary weights:

0×3 + 4×2 + 9×7 + 0×6 + 9×5 + 1×4 + 8×3 + 5×2 = 0 + 8 + 63 + 0 + 45 + 4 + 24 + 10 = 154

154 mod 11 = 0 (11 × 14 = 154), so the check digit is 0, which matches the supplied final digit of 49091850 — the number passes.

Privacy-first: every calculation runs in your browser. Nothing is uploaded, stored or sent to any server, and this tool does not query Inland Revenue or any other database.

Ad placeholder (rectangle)