How IBAN validation works
An IBAN starts with a 2-letter country code and 2 check digits, followed by the national account number (BBAN). The check digits are calculated with the ISO 7064 mod-97 algorithm, so a single typo or swapped pair of digits is almost always detected. A valid checksum does not prove the account exists — only the bank can confirm that.