Search for a tool
BBAN Number

Tool to check BBAN numbers. The BBAN (Basic Bank Account Number) checksum algorithm allows to check if a full bank account BBAN number is correct.

Results

BBAN Number -

Tag(s) : Checksum

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'BBAN Number' tool for free! Thank you!

BBAN Number

BBAN number checker/validator

NB: Do not confuse with IBAN. This tool checks BBAN, for full IBAN numbers, dCode has a tool for that:

⮞ Go to: IBAN Number


BBAN checksum calculator



Answers to Questions (FAQ)

What is a BBAN? (Definition)

A BBAN (Basic Bank Account Number) is a number identifying a bank account in a country. It is composed of 10 to 30 characters, depending on countries, these characters include bank codes (including the account number) and a checksum key.

Example: In France a BBAN/RIB has 23 characters: bank code (5 digits) + counter code (5 digits) + account number (11 digits and / or letters) + RIB key (2 digits between 01 and 97).
French BBAN number: 12345 12345 0123456789A 03

What is the difference between BBAN and IBAN?

An IBAN contains the data of the BBAN, but a BBAN does not contain all the data of an IBAN.

A BBAN is limited to one country and cannot be used for an international transfer, but only within the corresponding country.

How to check if a BBAN is false/fraudulent?

It is not possible to verify that a BBAN exists with certainty (that is to say, that there is indeed a bank that contains this bank account and that account is active, with money on it), indeed, only banks know their account numbers and associated RIBs and this data is a banking secret. On the other hand, it is possible to check that a RIB is technically valid (that is to say that it does not contain an error in its digits / characters) thanks to the control key which is integrated into the BBAN and which therefore allows a partial verification. If the validation fails, then the RIB is necessarily false/erroneous.

How to verify an BBAN number? (Validity check)

The algorithm for the validation calculator checks the BBAN key via a modulo 97:

Example: The bank number is: 12345 12345 0123456789A 03

Step 1: Remove the key BBAN code.

Example: The key is composed of the last 2 digits: 03. The rest of the calculation is done with 12345 12345 0123456789A 00.

Step 2: replace any letters by figures in the table

A, J1
B, K, S2
C, L, T3
D, M, U4
E, N, V5
F, O, W6
G, P, X7
H, Q, Y8
I, R, Z9

Example: A=1, the BBAN becomes 12345123450123456789100

Step 3: Calculate the value of the result modulo 97, then subtract the result to 97.

Example: $ 12345123450123456789100 \mod 97 \equiv 94 $ and $ 97 - 94 = 3 $

The checksum key is therefore 03 (the key removed previously), the BBAN is valid.

Why the modulo 97?

Why 97? Because it is a prime number (the largest with 2 digits) that will minimize the errors.

Source code

dCode retains ownership of the "BBAN Number" source code. Except explicit open source licence (indicated Creative Commons / free), the "BBAN Number" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "BBAN Number" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "BBAN Number" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cite dCode

The copy-paste of the page "BBAN Number" or any of its results, is allowed as long as you cite dCode!
Cite as source (bibliography):
BBAN Number on dCode.fr [online website], retrieved on 2023-01-29, https://www.dcode.fr/bban-check

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'BBAN Number' tool for free! Thank you!


https://www.dcode.fr/bban-check
© 2023 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
 
Feedback