IBAN checker: validate an IBAN or build one from a BiH account

Check an IBAN under ISO 13616 or build an IBAN from a 16 digit BiH account number, with the account check.

Bosnia and HerzegovinaRules reviewed: BS / EN
01

Your inputs

Starting values are an example. Replace them with your own.

Your inputs stay in your browser.

02

Your result

Enter your details and run the calculation.

About this result

A check of the written form, not confirmation that the account exists, is active or whom it belongs to. For countries outside BiH only the IBAN check is verified, not the national length. Confirm the details with the payee before paying.

Full disclaimer

What is an IBAN and what does a BiH IBAN look like?

A bank abroad sending money to Bosnia and Herzegovina asks for an IBAN, and the person in BiH sometimes only has the 16 digit domestic account number. This tool builds the IBAN from that number, BA39 followed by the account digits, after checking the account's own control digits. It also checks any IBAN under ISO 13616, so you can catch a mistyped character before the transfer goes out. A valid result does not prove the account exists or who holds it.

An IBAN is an international bank account number under ISO 13616, needed for payments from abroad. A Bosnia and Herzegovina IBAN has 20 characters: the country code BA, two check digits and the 16 digits of the domestic account number. The first three account digits are the bank code, the next three the branch code, then eight account digits and two check digits. The account check digits are set so that the whole account number divided by 97 leaves 1, so the IBAN check digits for every valid BiH account are always 39, as the Central Bank of BiH announced in 2007. The SWIFT registry example is BA39 1290 0794 0102 8494: account 1290079401028494 with BA39 in front. If the payment arrives in euros, the euro to mark converter shows the amount in KM. The JMBG checker tests its own control digit in a similar way, with modulus 11.

How is an IBAN checked?

The first four characters move to the end, letters are replaced by numbers, A by 10, B by 11 and so on to Z by 35, and the resulting number is divided by 97. If the remainder is 1, the IBAN is written correctly. This check catches swapped and mistyped digits, but it does not confirm that the account exists or whom it belongs to, so always confirm payment details with the payee.

Worked example

A tenant in London paying a landlord in Sarajevo has only a 16 digit account number, here the public example 1290079401028494 from the SWIFT registry, and needs the IBAN for the transfer form.

Inputs

What you want
Build an IBAN from a BiH account number
IBAN or 16 digit account number
1290079401028494

Result

IBAN
BA39 1290 0794 0102 8494
Account check digits
valid
Bank code
129
Branch code
007
Account number
94010284

Frequently asked questions

How do you build an IBAN from a BiH account number?

Put BA39 in front of the 16 digits of the account number. For example, account 1290079401028494 has the IBAN BA391290079401028494, written in groups of four characters. If the account check digits are wrong, the IBAN will not be valid either.

Where can I find my IBAN?

Your IBAN appears on your account statement, in mobile or online banking and on the account opening contract. If you only know the 16 digit domestic account number, you get the IBAN by adding BA39 in front of it.

Can I check a German IBAN with it too?

Yes, the modulus 97 check works for any country. The standard German example DE89 3704 0044 0532 0130 00 comes out valid, with country DE and check digits 89. Outside BiH the tool checks only the check digits, not the length each country sets, so confirm the details with the payee as well before you pay.

METHOD

Formula and method

IBAN: move the first four characters to the end, replace letters with numbers (A = 10 to Z = 35), and the remainder after dividing by 97 must be 1. BiH: BA39 + 16 account digits; the last two account digits = 98 − ((first 14 digits × 100) mod 97).