Skip to main content
Check Digit Calculator
SWIFT / ISO

IBAN Check Digit Calculator

Calculate IBAN check digits by rearranging the country code and account payload. Convert letters to numbers and apply modulus 97.

Last updated:

Banking & Financial Standards

Calculate international account check digits. SWIFT

Length: 22 chars
Calculated Check Character / Checksum
--Ready
Complete Validated Sequence:
--
Arithmetic Steps & Mathematical Specification

Initialising algorithm engine for IBAN Check Digit Calculator...

How IBAN Check Digit Calculator Works?

The IBAN Check Digit Calculator works by moving the country code and 00 to the end of the Basic Bank Account Number (BBAN), converting letters to numbers, and subtracting the remainder modulo 97 from 98. The 2 resulting digits fill positions 3 and 4 of the International Bank Account Number (IBAN).

  1. 1Enter the 2-letter country code and the BBAN.
  2. 2Write the BBAN first, then the country code, then 00.
  3. 3Replace every letter with 2 digits (A = 10, B = 11 … Z = 35).
  4. 4Compute the remainder of the resulting number divided by 97.
  5. 5Subtract the remainder from 98 and pad to 2 digits.

IBAN Check Digit Calculator Formula

The IBAN check digit formula is Check = 98 − (num(BBAN + CC + 00) mod 97), defined by ISO 13616 with ISO 7064 MOD 97-10.

Check = 98 − (num(BBAN ‖ CC ‖ "00") mod 97)
num(): A = 10, B = 11 … Z = 35
  • BBAN is the domestic account number.
  • CC is the ISO 3166 country code.
Worked example: GB + WEST12345698765432
Rearranged = WEST12345698765432GB00
Letters → numbers = 3214282912345698765432161100
3214282912345698765432161100 mod 97 = 16
Check digits = 98 − 16 = 82
IBAN = GB82 WEST 1234 5698 7654 32

IBAN Check Digit Calculator Conversion Table

The IBAN conversion table lists 10 countries with IBAN length, BBAN, and computed check digits.

CountryLengthBBANCheck digitsIBAN
United Kingdom22WEST1234569876543282GB82 WEST 1234 5698 7654 32
Germany2237040044053201300089DE89 3704 0044 0532 0130 00
France2720041010050500013M0260614FR14 2004 1010 0505 0001 3M02 606
Spain242100041845020005133291ES91 2100 0418 4502 0005 1332
Netherlands18ABNA041716430091NL91 ABNA 0417 1643 00
Belgium1653900754703468BE68 5390 0754 7034
Switzerland210076201162385295793CH93 0076 2011 6238 5295 7
Italy27X054281110100000012345660IT60 X054 2811 1010 0000 0123 456
Norway158601111794793NO93 8601 1117 947
Pakistan24SCBL000000112345670236PK36 SCBL 0000 0011 2345 6702

What is IBAN Check Digit Calculator?

An IBAN Check Digit Calculator is a tool that computes the 2 check digits that follow the country code in an International Bank Account Number. IBANs run from 15 characters (Norway) to 34 characters.

IBAN check digits catch every single-character typing error and every swap of 2 adjacent characters. The European Payments Council requires IBANs for all Single Euro Payments Area (SEPA) transfers.

What are the uses of IBAN Check Digit Calculator?

There are 4 main uses of the IBAN Check Digit Calculator, including account conversion, payment file creation, and test data.

  • Account conversion: Banks build IBANs from domestic account numbers.
  • Payment file creation: Treasury teams generate SEPA credit transfer files with valid IBANs.
  • Test data: Developers create valid IBANs for payment sandbox testing.
  • Customer onboarding: Fintech apps complete IBANs from sort code and account number.