Search for a tool
BBAN (Number checksum)

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

Results

BBAN (Number checksum) -

Tag(s) : Checksum

dCode and you

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!
You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best BBAN (Number checksum) tool. Thank you.

# BBAN (Number checksum)

## BBAN number checker

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

### What is a BBAN?

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

### How to verify an BBAN number? (Validity check)

The algorithm checks the BBAN key via a modulo 97:

Consider the RIB: 12345 12345 0123456789AZ 96

Step 1: Remove the key BBAN code.

The key is composed of the last 2 digits: 96. The rest of the calculation is done with 12345 12345 0123456789AZ.

Step 2: replace any letters by figures in the table

 A, J 1 B, K, S 2 C, L, T 3 D, M, U 4 E, N, V 5 F, O, W 6 G, P, X 7 H, Q, Y 8 I, R, Z 9

The BBAN becomes 12345123450123456789AZ

Step 3: Calculate the value of the result modulo 97.

$$12345123450123456789AZ \mod 97 \equiv 96$$

The checksum key is therefore 96 (the key removed at the beginning), the BBAN is valid.

To make this modulo calculation you must use a calculator that accepts calculation with large numbers (arbitrary precision) as proposed on dCode.